I am trying to push flow in opendaylight via curl in xml format. It successfully pushes and I am able to see it under http://localnetwork:8181/restconf/config/opendaylight-inventory:nodes but can not see it via command of ovs-ofctl dump-flows s1, flow does not work as well.
I can push flows and see in flow table within ovs ==> ovs-ofctl add-flow and curl in json format as well. Both mininet and odl runs with openflow13. Any idea?
command I use:
curl --user "admin":"admin" -H "Accept: application/xml" -H "Content-type: application/xml" -X PUT -d @Flow1DisablePing.xml http://localhost:8181/restconf/config/opendaylight-inventory:nodes /node/openflow:1/table/0/flow/1