opendaylight flow is pushed but does not appear in flow list

[亡魂溺海] 提交于 2019-12-12 01:43:51

问题


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

来源:https://stackoverflow.com/questions/41436390/opendaylight-flow-is-pushed-but-does-not-appear-in-flow-list

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!