following the recent OFPMatch api changes,
this set changes OFPActionSetField api.
for now, compatibility with the old api is maintained.
old api:
ofproto_v1_3_parser.OFPActionSetField(ofproto_v1_3_parser.MTInPort(
ofproto_v1_3.OXM_OF_IN_PORT, 1))
new api:
ofproto_v1_3_parser.OFPActionSetField("in_port", 1)
YAMAMOTO Takashi (8):
of12: change set_field api, following the recent ofp_match api
of12: packet_data_generator: use set_field action
of12: test_parser: update expected *.json results
of12: test_parser: regen *.packet
of13: change set_field api, following the recent ofp_match api
of13: packet_data_generator: use set_field action
of13: test_parser: update expected *.json results
of13: test_parser: regen *.packet
ryu/ofproto/ofproto_v1_2_parser.py | 155 ++++++++++++++++-----
ryu/ofproto/ofproto_v1_3_parser.py | 155 ++++++++++++++++-----
ryu/tests/packet_data/of12/3-2-ofp_flow_mod.packet | Bin 88 -> 104 bytes
ryu/tests/packet_data/of13/4-2-ofp_flow_mod.packet | Bin 88 -> 104 bytes
ryu/tests/packet_data_generator/src/x3.erl | 5 +-
ryu/tests/packet_data_generator/src/x4.erl | 5 +-
.../ofproto/json/of12/3-2-ofp_flow_mod.packet.json | 6 +
.../ofproto/json/of13/4-2-ofp_flow_mod.packet.json | 6 +
8 files changed, 264 insertions(+), 68 deletions(-)
--
1.8.1.5
------------------------------------------------------------------------------
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