summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json61
1 files changed, 61 insertions, 0 deletions
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 00000000..2f92361a
--- /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
+ }
+}