this set includes:
- make ofproto use text hw_addr for OFPPort/OFPPortMod
- change json representation of these attributes accordingly
- associated application updates and fixes
- update tests
YAMAMOTO Takashi (16):
of10: use text address for OFPPhyPort.hw_addr and OFPPortMod.hw_addr
of12: use text address for OFPPort.hw_addr and OFPPortMod.hw_addr
of13: use text address for OFPPort.hw_addr and OFPPortMod.hw_addr
addrconv: add no-op converter
stringify: make _encode_value and _decode_value take key name
StringifyMixin: add a way to override converter for specific keys
of10: fix json representation of OFPPhyPort.hw_addr and
OFPPortMod.hw_addr
of10: update tests
of12: fix json representation of OFPPort.hw_addr and
OFPPortMod.hw_addr
of12: update tests
of13: fix json representation of OFPPort.hw_addr and
OFPPortMod.hw_addr
of13: update tests
topology.switches: fix bin vs text address problem
a simple script to plot rest_topology's output
rest_router: fix of10 case
rest_router: update after ofproto hw_addr changes
ryu/app/rest_router.py | 8 +-
ryu/lib/addrconv.py | 25 ++++-
ryu/lib/stringify.py | 113 +++++++++++++--------
ryu/ofproto/ofproto_v1_0_parser.py | 11 +-
ryu/ofproto/ofproto_v1_2_parser.py | 12 ++-
ryu/ofproto/ofproto_v1_3_parser.py | 12 ++-
.../json/of10/1-6-ofp_switch_features.packet.json | 4 +-
.../json/of12/3-22-ofp_port_mod.packet.json | 2 +-
.../json/of12/3-39-ofp_port_status.packet.json | 2 +-
.../json/of12/3-6-ofp_features_reply.packet.json | 4 +-
.../json/of13/4-22-ofp_port_mod.packet.json | 2 +-
.../json/of13/4-39-ofp_port_status.packet.json | 2 +-
.../json/of13/4-54-ofp_port_desc_reply.packet.json | 4 +-
ryu/tests/unit/ofproto/test_parser_v10.py | 15 +--
ryu/tests/unit/ofproto/test_parser_v12.py | 58 ++++++-----
ryu/topology/switches.py | 4 +-
tools/topology_graphviz.py | 33 ++++++
17 files changed, 212 insertions(+), 99 deletions(-)
create mode 100755 tools/topology_graphviz.py
--
1.8.3.1
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel