Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
.../ofproto/json/of12/3-2-ofp_flow_mod.packet.json | 19 +++++++++++++++++++
.../ofproto/json/of13/4-2-ofp_flow_mod.packet.json | 19 +++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
b/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
index 313190a..9239241 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
@@ -34,6 +34,25 @@
"len": 40,
"type": 3
}
+ },
+ {
+ "OFPInstructionActions": {
+ "actions": [
+ {
+ "OFPActionSetField": {
+ "field": {
+ "OXMTlv": {
+ "field": "eth_src",
+ "mask": null,
+ "value": "01:02:03:04:05:06"
+ }
+ }
+ }
+ }
+ ],
+ "len": 24,
+ "type": 4
+ }
}
],
"match": {
diff --git a/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
index 313190a..9239241 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json
@@ -34,6 +34,25 @@
"len": 40,
"type": 3
}
+ },
+ {
+ "OFPInstructionActions": {
+ "actions": [
+ {
+ "OFPActionSetField": {
+ "field": {
+ "OXMTlv": {
+ "field": "eth_src",
+ "mask": null,
+ "value": "01:02:03:04:05:06"
+ }
+ }
+ }
+ }
+ ],
+ "len": 24,
+ "type": 4
+ }
}
],
"match": {
--
1.8.3.1
------------------------------------------------------------------------------
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