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


Add Flows in Lithium

asked 2016-03-02 15:04:55 -0700

Laksh0608 gravatar image

Hi all

I am running Opendaylight Controller Lithium version. I tried to add a flow using POSTMAN. I see the entry getting added in the REST but the rules are not getting applied. I followed the following link:

Any help in resolving this will be appreciated.

edit retag flag offensive close merge delete



Please be specific .... If possible paste the input body and output error message

saisujithreddy ( 2016-03-02 20:24:34 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-04 15:39:03 -0700

Laksh0608 gravatar image

I was able to resolve the issue. The problem was I wasn't setting the priority right and also the ID was incorrect. Thank you! :)

If anybody needs help in adding flows, here is a reference to it. It works fine on Lithium! I am adding a flow entry to drop packets from IP. Using POSTMAN PUT:

CONTROLLER_IP : Switch : openflow:1

Headers: Content-Type: application/xml Accept: application/xml

Body: <flow xmlns="urn:opendaylight:flow:inventory"> <priority>200</priority> <flow-name>Foo</flow-name> <match> <ethernet-match> <ethernet-type> <type>2048</type>









edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2016-03-02 15:04:55 -0700

Seen: 133 times

Last updated: Mar 04 '16