Ask Your Question
0

View the flows in Opendaylight

asked 2015-01-28 03:02:16 -0700

joshua gravatar image

Hi,

I am using mininet and openvswitch.

I am using the Opendaylight Controller Helium. I am using openvswitch as Of13

I am trying to simulate the MPLS condition as in http://tocai.dia.uniroma3.it/compunet-wiki/index.php/MPLSwithOpenFlow:_howto

I am adding the Flows in Switches s1,s2 and s3.

My questions are: 1) If I add the flows in openvswitch, Will the flows be visible in OpenDaylight.

2) If so, what is the Rest command to view the flows in the OpenDaylight

3) I am trying to push a flow as xml from Opendaylight with a flow in table 0 and the apply actions as go to table:1. I dont know the syntax for it .

Can someone help me?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-02-24 10:41:38 -0700

Nuno gravatar image

updated 2015-02-24 10:41:56 -0700

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.</table-number></node-id></controller-ip>

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.

edit flag offensive delete publish link more
0

answered 2015-05-04 09:01:21 -0700

openflowINT gravatar image

Hello @joshua !

Did you found the answer to your question 3) ?

Thank you !!

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
2 followers

Stats

Asked: 2015-01-28 03:02:16 -0700

Seen: 223 times

Last updated: May 04 '15