summaryrefslogtreecommitdiffhomepage
path: root/doc/source
diff options
context:
space:
mode:
authortakahashi.minoru <takahashi.minoru7@gmail.com>2014-07-08 15:02:34 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-07-17 15:04:38 +0900
commit9d7433e44aae6a2411ba9f5d334b75eacfb38fe0 (patch)
treeda6ba532b30e1434897e5670d63c8e457898b25c /doc/source
parent78786a47c6f54a73f515bc439a9eeba24894a3f8 (diff)
ofctl_rest: enable getting Description of a port
this patch makes ofctl_rest enable getting Description of a port. usage) URI: /stats/portdesc/<dpid> method: GET e.g. ) curl http://localhost:8080/stats/portdesc/1 {"1": [{"hw_addr": "c6:d8:19:4a:e1:4f", "curr": 0, "supported": 0, "max_speed": 0, "advertised": 0, "peer": 0, "port_no": 4294967294, "curr_speed": 0, "name": "s1", "state": 1, "config": 1}, {"hw_addr": "8e:96:a1:14:d8:a1", "curr": 2112, "supported": 0, "max_speed": 0, "advertised": 0, "peer": 0, "port_no": 1, "curr_speed": 10000000, "name": "s1-eth1", "state": 0, "config": 0}]} Signed-off-by: TAKAHASHI Minoru <takahashi.minoru7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source')
0 files changed, 0 insertions, 0 deletions