summaryrefslogtreecommitdiffhomepage
path: root/doc/source/library_bgp_speaker_ref.rst
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-01-19 13:46:10 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-01-19 13:38:12 +0900
commit19e49c861f0fa0228712c8f03dfe4af39e24122b (patch)
tree259901d4af8cbf9052792ac82215448c57b60784 /doc/source/library_bgp_speaker_ref.rst
parent9571fde7dddfafe48d961a7ffd312e3c872687b2 (diff)
lib/ofctl: Add utility library for ofctl_v1_*.py
This patch enables ofctl_v1_*.py to use the reserved OpenFlow numbers (e.g. port numbering such as "OFPP_CONTROLLER") in the request and reply parameters of ofctl_rest.py. Example: - When adding a flow entry: $ curl -X POST -d '{ "dpid": 1, "actions":[ { "type": "OUTPUT", "port": "CONTROLLER" } ] }' http://localhost:8080/stats/flowentry/add - When getting flows stats: $ curl -X GET http://localhost:8080/stats/flow/1 { "1": [ { ... "actions": [ "OUTPUT:CONTROLLER" ], ... } ] } Suggested-by: Sergio Andres Rivera Polanco <sergiorivera88@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/library_bgp_speaker_ref.rst')
0 files changed, 0 insertions, 0 deletions