On Wed, 4 Sep 2013 16:04:25 +0900 YAMAMOTO Takashi <[email protected]> wrote:
> this set introduces an assumption that some of of-wire "name" fields > are utf-8 encoded and changes json representation accordingly. > (ie. no base64) > > YAMAMOTO Takashi (16): > stringify: add 'utf-8' type > of10: assume OFPPhyPort.name UTF-8 > of10: update expected *.json results for OFPPhyPort.name change > of12: assume OFPPort.name UTF-8 > of12: update expected *.json results for OFPPort.name change > of13: assume OFPPort.name UTF-8 > of13: update expected *.json results for OFPPort.name change > of10: assume OFPTableStats.name UTF-8 > of12: assume OFPTableStats.name UTF-8 > of12: update expected *.json outputs for table name change > of13: assume OFPTableFeaturesStats.name UTF-8 > of13: update expected *.json outputs for table name change > packet_data_generator: use utf-8 in table name and port name > test: regen *.packet after utf-8 changes > test: update of13 expected *.json outputs after utf-8 change > test: update of12 expected *.json outputs after utf-8 change > > ryu/lib/stringify.py | 11 + > ryu/ofproto/ofproto_v1_0_parser.py | 18 +- > ryu/ofproto/ofproto_v1_2_parser.py | 18 +- > ryu/ofproto/ofproto_v1_3_parser.py | 18 +- > .../of12/3-28-ofp_table_stats_reply.packet | Bin 32656 -> 32656 bytes > .../packet_data/of12/3-39-ofp_port_status.packet | Bin 80 -> 80 bytes > .../packet_data/of13/4-39-ofp_port_status.packet | Bin 80 -> 80 bytes > .../of13/4-56-ofp_table_features_reply.packet | Bin 11072 -> 11072 bytes > ryu/tests/packet_data_generator/src/x3.erl | 4 +- > ryu/tests/packet_data_generator/src/x4.erl | 4 +- > .../json/of10/1-6-ofp_switch_features.packet.json | 4 +- > .../of12/3-28-ofp_table_stats_reply.packet.json | 510 > ++++++++++----------- > .../json/of12/3-39-ofp_port_status.packet.json | 2 +- > .../json/of12/3-6-ofp_features_reply.packet.json | 4 +- > .../json/of13/4-39-ofp_port_status.packet.json | 2 +- > .../json/of13/4-54-ofp_port_desc_reply.packet.json | 4 +- > .../of13/4-56-ofp_table_features_reply.packet.json | 20 +- > 17 files changed, 330 insertions(+), 289 deletions(-) Applied, thanks. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
