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/