summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-09-13 12:24:32 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-09-14 11:02:31 +0900
commit5f7cd86cdba0b798fb72da587b251dda29c50ff6 (patch)
treedd383ccc26d3075796f91f596dd2515642925c96
parentcf6f19c2d9d15b7533ad0736fb2209616ed7ffc3 (diff)
test: update expected json outputs
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json19
-rw-r--r--ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json19
2 files changed, 38 insertions, 0 deletions
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 313190a8..92392415 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 313190a8..92392415 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": {