Ask Your Question

unable to add flows in ODL lithium

asked 2016-01-06 04:04:03 -0700

aljoby gravatar image

When I Send the above PUT http request, the Status is 200 OK. But I am unable to see the flows installed to Mininet (switches)!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-01-06 06:18:27 -0700

runamuck gravatar image

Ensure your flow includes the following two Stanzas:



edit flag offensive delete publish link more


using ip-protocol 6 will make it match on TCP, it's not for the ip version, which I can see how you might think ipv6. I think it should still be ok without, but if you want to limit to just TCP that's how:

jamoluhrsen ( 2016-01-06 09:54:29 -0700 )edit

answered 2016-01-06 09:40:14 -0700

aljoby gravatar image

updated 2016-01-06 09:45:52 -0700

Many thanks runamuck. BTW, I was reading your previous posts and answers for such question. :)

So I understand that Ethetype should be written to indicate which protocol is encapsulated in the payload of an Ethernet Frame. So the number indicates 2048 indicates that protocol used is IP v4. But I got confused what does it mean by <ip-protocol>6</ip-protocol>?

Could I find the documentation for the details of these XML tags?

Thanks again

edit flag offensive delete publish link more


As Jamo wrote, proto 6 means TCP. In terms of documentation, it's pretty sparse. What I like to do is use ovs-vsctl to create flows and then reverse-engineer in ODL to get the XML.

runamuck ( 2016-01-06 09:59:22 -0700 )edit

Please runamuck, see my question in thanks Walid

aljoby ( 2016-01-06 11:47:12 -0700 )edit

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

1 follower


Asked: 2016-01-06 04:04:03 -0700

Seen: 81 times

Last updated: Jan 06 '16