Suggested by Sergio, the following patches enable ofctl_rest.py to
use the reserved OpenFlow numbers (e.g. port numbering such as
"OFPP_CONTROLLER") in the request and reply parameters.
For the example of usage, please refer to the following patches.

IWASE Yusuke (3):
  lib/ofctl: Add utility library for ofctl_v1_*.py
  test_ofctl_utils: Add unit tests for ofctl_utils.py
  test_ofctl: Update json representations

 ryu/lib/ofctl_utils.py                             |  92 +++++++++++++
 ryu/lib/ofctl_v1_0.py                              |  50 +++++---
 ryu/lib/ofctl_v1_2.py                              |  99 +++++++-------
 ryu/lib/ofctl_v1_3.py                              | 112 ++++++++--------
 .../of12/3-12-ofp_flow_stats_reply.packet.json     |   4 +-
 .../of12/3-28-ofp_table_stats_reply.packet.json    |   2 +-
 .../3-36-ofp_queue_get_config_reply.packet.json    |   2 +-
 .../of13/4-12-ofp_flow_stats_reply.packet.json     |   4 +-
 .../4-36-ofp_queue_get_config_reply.packet.json    |   2 +-
 ryu/tests/unit/lib/test_ofctl_utils.py             | 142 +++++++++++++++++++++
 10 files changed, 388 insertions(+), 121 deletions(-)
 create mode 100644 ryu/lib/ofctl_utils.py
 create mode 100644 ryu/tests/unit/lib/test_ofctl_utils.py

-- 
1.9.1


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to