backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / unit / lib / ofctl_json / of13 / 4-2-ofp_flow_mod.packet.json
diff --git a/ryu/build/lib.linux-armv7l-2.7/ryu/tests/unit/lib/ofctl_json/of13/4-2-ofp_flow_mod.packet.json b/ryu/build/lib.linux-armv7l-2.7/ryu/tests/unit/lib/ofctl_json/of13/4-2-ofp_flow_mod.packet.json
new file mode 100644 (file)
index 0000000..fbd5c21
--- /dev/null
@@ -0,0 +1,97 @@
+{
+    "cmd": 0,
+    "flow": {
+        "buffer_id": 65535,
+        "table_id": 1,
+        "priority": 123,
+        "match": {
+            "eth_dst": "f2:0b:a4:7d:f8:ea"
+        },
+        "actions": [
+            {
+                "type": "WRITE_ACTIONS",
+                "actions": [
+                    {
+                        "type": "SET_FIELD",
+                        "field": "vlan_vid",
+                        "value": 258
+                    },
+                    {
+                        "type": "COPY_TTL_OUT"
+                    },
+                    {
+                        "type": "COPY_TTL_IN"
+                    },
+                    {
+                        "type": "COPY_TTL_IN"
+                    },
+                    {
+                        "type": "POP_PBB"
+                    },
+                    {
+                        "type": "PUSH_PBB",
+                        "ethertype": 4660
+                    },
+                    {
+                        "type": "POP_MPLS",
+                        "ethertype": 39030
+                    },
+                    {
+                        "type": "PUSH_MPLS",
+                        "ethertype": 34887
+                    },
+                    {
+                        "type": "POP_VLAN"
+                    },
+                    {
+                        "type": "PUSH_VLAN",
+                        "ethertype": 33024
+                    },
+                    {
+                        "type": "DEC_MPLS_TTL"
+                    },
+                    {
+                        "type": "SET_MPLS_TTL",
+                        "mpls_ttl": 10
+                    },
+                    {
+                        "type": "DEC_NW_TTL"
+                    },
+                    {
+                        "type": "SET_NW_TTL",
+                        "nw_ttl": 10
+                    },
+                    {
+                        "type": "EXPERIMENTER",
+                        "experimenter": 101,
+                        "data": "AAECAwQFBgc=",
+                        "data_type": "base64"
+                    },
+                    {
+                        "type": "SET_QUEUE",
+                        "queue_id": 3
+                    },
+                    {
+                        "type": "GROUP",
+                        "group_id": 99
+                    },
+                    {
+                        "type": "OUTPUT",
+                        "max_len": 65535,
+                        "port": 6
+                    }
+                ]
+            },
+            {
+                "type": "SET_FIELD",
+                "field": "eth_src",
+                "value": "01:02:03:04:05:06"
+            },
+            {
+                "type": "SET_FIELD",
+                "field": "pbb_uca",
+                "value": 1
+            }
+        ]
+    }
+}