Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

You can see the flows installed on a table of a specific switch with http://<controller-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/<node-id>/table/<table-number> link.

Don't forget to change the parameters between '<>' to your own parameters. For example : http://192.168.57.1:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/ This checks the table 0 of node openflow:1 (normally 's1' on mininet) connected to the controller with ip=192.168.57.1

The XML requests obey the syntax of YANG if I'm not mistaken. In this) link you can see the structure of the links to send the requests. On this one you can see the yang modules where is specified the format of the xml or json requests.

You can also check the ODL documentation that has some example on matching parameters and actions. Links below:

EndtoEndFlows

EndtoEndExampleFlows

You can see the flows installed on a table of a specific switch with http://<controller-ip>:8181/restconf/config/opendaylight-inventory:nodes/node/<node-id>/table/<table-number> link.

Don't forget to change the parameters between '<>' to your own parameters. For example : http://192.168.57.1:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/ This checks the table 0 of node openflow:1 (normally 's1' on mininet) connected to the controller with ip=192.168.57.1

The XML requests obey the syntax of YANG if I'm not mistaken. In this) link you can see the structure of the links to send the requests. On this one you can see the yang modules where is specified the format of the xml or json requests.

You can also check the ODL documentation that has some example on matching parameters and actions. Links below:

EndtoEndFlows

EndtoEndExampleFlows

Regards, Nuno B.