this set is after OFPMatch json representation changes i posted yesterday.
old api:
OFPActionSetField(MTInPort(OXM_OF_IN_PORT, 1))
new api:
OFPActionSetField(in_port=1)
and make the json representation similar to OFPMatch as well.
an example:
"OFPActionSetField": {
"field": {
"OXMTlv": {
"field": "vlan_vid",
"mask": null,
"value": 258
}
}
}
YAMAMOTO Takashi (8):
of12: change OFPActionSetField api, following the recent OFPMatch api
of12: packet_data_generator: use set_field action
of12: test_parser: regen *.packet
of12: test_parser: update expected *.json results
of13: change OFPActionSetField api, following the recent OFPMatch api
of13: packet_data_generator: use set_field action
of13: test_parser: regen *.packet
of13: test_parser: update expected *.json results
ryu/ofproto/ofproto_v1_2_parser.py | 93 ++++++++++++++++++++-
ryu/ofproto/ofproto_v1_3_parser.py | 93 ++++++++++++++++++++-
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 | 11 +++
.../ofproto/json/of13/4-2-ofp_flow_mod.packet.json | 11 +++
8 files changed, 208 insertions(+), 10 deletions(-)
--
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