Masayoshi Kobayashi | 57572b1 | 2013-03-13 22:27:50 +0000 | [diff] [blame] | 1 | #! /bin/sh |
2 | rm -f rest.json | ||||
3 | touch rest.json | ||||
4 | curl -s 'http://localhost:8080/wm/core/topology/switches/all/json' | python -m json.tool >> rest.json | ||||
5 | curl -s 'http://localhost:8080/wm/core/topology/links/json' | python -m json.tool >> rest.json | ||||
6 | curl -s 'http://localhost:8080/wm/registry/controllers/json' | python -m json.tool >> rest.json | ||||
7 | curl -s 'http://localhost:8080/wm/registry/switches/json' | python -m json.tool >> rest.json |