summaryrefslogtreecommitdiffhomepage
path: root/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json')
-rw-r--r--tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json b/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
new file mode 100644
index 00000000..cd68b51f
--- /dev/null
+++ b/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
@@ -0,0 +1,46 @@
+{
+ "OFPFlowMod": {
+ "buffer_id": 65535,
+ "command": 0,
+ "cookie": 0,
+ "cookie_mask": 0,
+ "flags": 0,
+ "hard_timeout": 0,
+ "idle_timeout": 0,
+ "instructions": [
+ {
+ "OFPInstructionGotoTable": {
+ "len": 8,
+ "table_id": 1,
+ "type": 1
+ }
+ }
+ ],
+ "match": {
+ "OFPMatch": {
+ "length": 22,
+ "oxm_fields": [
+ {
+ "OXMTlv": {
+ "field": "in_port",
+ "mask": null,
+ "value": 6
+ }
+ },
+ {
+ "OXMTlv": {
+ "field": "eth_src",
+ "mask": null,
+ "value": "f2:0b:a4:7d:f8:ea"
+ }
+ }
+ ],
+ "type": 1
+ }
+ },
+ "out_group": 4294967295,
+ "out_port": 4294967295,
+ "priority": 123,
+ "table_id": 0
+ }
+}