Fix binapigen decoding and minor improvements
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / policer.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/policer.api.json b/internal/testbinapi/binapi2001/.vppapi/core/policer.api.json
new file mode 100644 (file)
index 0000000..1a3f2ba
--- /dev/null
@@ -0,0 +1,264 @@
+{
+    "types": [],
+    "messages": [
+        [
+            "policer_add_del",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u8",
+                "name",
+                64
+            ],
+            [
+                "u32",
+                "cir"
+            ],
+            [
+                "u32",
+                "eir"
+            ],
+            [
+                "u64",
+                "cb"
+            ],
+            [
+                "u64",
+                "eb"
+            ],
+            [
+                "u8",
+                "rate_type"
+            ],
+            [
+                "u8",
+                "round_type"
+            ],
+            [
+                "u8",
+                "type"
+            ],
+            [
+                "u8",
+                "color_aware"
+            ],
+            [
+                "u8",
+                "conform_action_type"
+            ],
+            [
+                "u8",
+                "conform_dscp"
+            ],
+            [
+                "u8",
+                "exceed_action_type"
+            ],
+            [
+                "u8",
+                "exceed_dscp"
+            ],
+            [
+                "u8",
+                "violate_action_type"
+            ],
+            [
+                "u8",
+                "violate_dscp"
+            ],
+            {
+                "crc": "0xdfea2be8"
+            }
+        ],
+        [
+            "policer_add_del_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "policer_index"
+            ],
+            {
+                "crc": "0xa177cef2"
+            }
+        ],
+        [
+            "policer_dump",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "match_name_valid"
+            ],
+            [
+                "u8",
+                "match_name",
+                64
+            ],
+            {
+                "crc": "0x8be04d34"
+            }
+        ],
+        [
+            "policer_details",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "name",
+                64
+            ],
+            [
+                "u32",
+                "cir"
+            ],
+            [
+                "u32",
+                "eir"
+            ],
+            [
+                "u64",
+                "cb"
+            ],
+            [
+                "u64",
+                "eb"
+            ],
+            [
+                "u8",
+                "rate_type"
+            ],
+            [
+                "u8",
+                "round_type"
+            ],
+            [
+                "u8",
+                "type"
+            ],
+            [
+                "u8",
+                "conform_action_type"
+            ],
+            [
+                "u8",
+                "conform_dscp"
+            ],
+            [
+                "u8",
+                "exceed_action_type"
+            ],
+            [
+                "u8",
+                "exceed_dscp"
+            ],
+            [
+                "u8",
+                "violate_action_type"
+            ],
+            [
+                "u8",
+                "violate_dscp"
+            ],
+            [
+                "u8",
+                "single_rate"
+            ],
+            [
+                "u8",
+                "color_aware"
+            ],
+            [
+                "u32",
+                "scale"
+            ],
+            [
+                "u32",
+                "cir_tokens_per_period"
+            ],
+            [
+                "u32",
+                "pir_tokens_per_period"
+            ],
+            [
+                "u32",
+                "current_limit"
+            ],
+            [
+                "u32",
+                "current_bucket"
+            ],
+            [
+                "u32",
+                "extended_limit"
+            ],
+            [
+                "u32",
+                "extended_bucket"
+            ],
+            [
+                "u64",
+                "last_update_time"
+            ],
+            {
+                "crc": "0xff2765f0"
+            }
+        ]
+    ],
+    "unions": [],
+    "enums": [],
+    "services": {
+        "policer_add_del": {
+            "reply": "policer_add_del_reply"
+        },
+        "policer_dump": {
+            "reply": "policer_details",
+            "stream": true
+        }
+    },
+    "options": {
+        "version": "1.0.0"
+    },
+    "aliases": {},
+    "vl_api_version": "0x4218ed4f"
+}