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

Revision history [back]

click to hide/show revision 1
initial version

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>