POX启动过程分析

http://www.sdnap.com/sdnap-post/2058.html


https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-openflow.webservice


http://archive.openflow.org/wk/index.php/OpenFlow_Tutorial



启动webservice

./pox.py --verbose forwarding.l2_learning web.webcore openflow.webservice

curl -i -X POST -d '{"method":"get_switches","id":1}' http://127.0.0.1:8000/OF/


curl -i -X POST -d '{"method":"set_table","params":{"dpid":"00-00-00-00-00-01", \
                     "flows":[{"actions":[{"type":"OFPAT_OUTPUT","port":"OFPP_ALL"}], \
                     "match":{}}]}}' http://127.0.0.1:8000/OF/

猜你喜欢

转载自blog.csdn.net/Blaider/article/details/50807338