summaryrefslogtreecommitdiffhomepage
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorOHMURA Kei <ohmura.kei@lab.ntt.co.jp>2012-10-30 11:40:39 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-10-30 11:40:39 +0900
commit56516378e0d14a02c9e755dafc21e945ddc979ba (patch)
treec033f08761260c7d449afcb761987a25ccaf35ce /MANIFEST.in
parent3e74c789e992b4076dee8db2ad850a5429443cee (diff)
ryu/app/ofctl_rest: implements ofctl_rest app
This patch implements REST API for accessing state. This module helps your debugging and retrieving various statistics. It also supports flow entry pusher to allow users to manually insert flows into switch. - get all switch DPIDs connected to the controller $ curl http://<controller_ip>:8080/stats/switches - get the desc stats $ curl http://<controller_ip>:8080/stats/desc/<dpid> - get flows stats $ curl http://<controller_ip>:8080/stats/flow/<dpid> - get ports stats $ curl http://<controller_ip>:8080/stats/port/<dpid> - add a flow entry $ curl -d '{"dpid": "1", "cookie":"0", "priority":"32768", \ "actions":[{"port":2, "type":"OUTPUT"}], "match":{"in_port":1}}' \ http://<controller_ip>:8080/stats/flowentry - delete all flows of the switch $ curl -X DELETE \ http://<controller_ip>:8080/stats/flowentry/clear/<dpid> Signed-off-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions