Fix binapigen decoding and minor improvements
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / span.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/span.api.json b/internal/testbinapi/binapi2001/.vppapi/core/span.api.json
new file mode 100644 (file)
index 0000000..0063d9b
--- /dev/null
@@ -0,0 +1,125 @@
+{
+    "types": [],
+    "messages": [
+        [
+            "sw_interface_span_enable_disable",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "sw_if_index_from"
+            ],
+            [
+                "u32",
+                "sw_if_index_to"
+            ],
+            [
+                "u8",
+                "state"
+            ],
+            [
+                "u8",
+                "is_l2"
+            ],
+            {
+                "crc": "0x7216258d"
+            }
+        ],
+        [
+            "sw_interface_span_enable_disable_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "sw_interface_span_dump",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_l2"
+            ],
+            {
+                "crc": "0x67c54650"
+            }
+        ],
+        [
+            "sw_interface_span_details",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "sw_if_index_from"
+            ],
+            [
+                "u32",
+                "sw_if_index_to"
+            ],
+            [
+                "u8",
+                "state"
+            ],
+            [
+                "u8",
+                "is_l2"
+            ],
+            {
+                "crc": "0x23966371"
+            }
+        ]
+    ],
+    "unions": [],
+    "enums": [],
+    "services": {
+        "sw_interface_span_enable_disable": {
+            "reply": "sw_interface_span_enable_disable_reply"
+        },
+        "sw_interface_span_dump": {
+            "reply": "sw_interface_span_details",
+            "stream": true
+        }
+    },
+    "options": {
+        "version": "1.0.0"
+    },
+    "aliases": {},
+    "vl_api_version": "0x10769b5"
+}