Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
 .../of15/libofproto-OFP15-group_mod.packet.json    | 61 ++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json

diff --git 
a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json
new file mode 100644
index 0000000..2f92361
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json
@@ -0,0 +1,61 @@
+{
+    "OFPGroupMod": {
+        "bucket_array_len": 56,
+        "buckets": [
+            {
+                "OFPBucket": {
+                    "action_array_len": 24,
+                    "actions": [
+                        {
+                            "OFPActionPopVlan": {
+                                "len": 8,
+                                "type": 18
+                            }
+                        },
+                        {
+                            "OFPActionSetField": {
+                                "field": {
+                                    "OXMTlv": {
+                                        "field": "ipv4_dst",
+                                        "mask": null,
+                                        "value": "192.168.2.9"
+                                    }
+                                }
+                            }
+                        }
+                    ],
+                    "bucket_id": 305419896,
+                    "len": 56,
+                    "properties": [
+                        {
+                            "OFPGroupBucketPropWeight": {
+                                "length": 8,
+                                "type": 0,
+                                "weight": 52428
+                            }
+                        },
+                        {
+                            "OFPGroupBucketPropWatch": {
+                                "length": 8,
+                                "type": 1,
+                                "watch": 56797
+                            }
+                        },
+                        {
+                            "OFPGroupBucketPropWatch": {
+                                "length": 8,
+                                "type": 2,
+                                "watch": 4008636142
+                            }
+                        }
+                    ]
+                }
+            }
+        ],
+        "command": 3,
+        "command_bucket_id": 3149642683,
+        "group_id": 2863311530,
+        "properties": [],
+        "type": 1
+    }
+}
-- 
1.9.1



------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to