Fix binapigen decoding and minor improvements
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / vxlan.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json b/internal/testbinapi/binapi2001/.vppapi/core/vxlan.api.json
new file mode 100644 (file)
index 0000000..8cdf8a7
--- /dev/null
@@ -0,0 +1,275 @@
+{
+    "types": [],
+    "messages": [
+        [
+            "vxlan_add_del_tunnel",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u8",
+                "is_ipv6"
+            ],
+            [
+                "u32",
+                "instance"
+            ],
+            [
+                "u8",
+                "src_address",
+                16
+            ],
+            [
+                "u8",
+                "dst_address",
+                16
+            ],
+            [
+                "u32",
+                "mcast_sw_if_index"
+            ],
+            [
+                "u32",
+                "encap_vrf_id"
+            ],
+            [
+                "u32",
+                "decap_next_index"
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            {
+                "crc": "0x00f4bdd0"
+            }
+        ],
+        [
+            "vxlan_add_del_tunnel_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "sw_if_index"
+            ],
+            {
+                "crc": "0xfda5941f"
+            }
+        ],
+        [
+            "vxlan_tunnel_dump",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "sw_if_index"
+            ],
+            {
+                "crc": "0x529cb13f"
+            }
+        ],
+        [
+            "vxlan_tunnel_details",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "sw_if_index"
+            ],
+            [
+                "u32",
+                "instance"
+            ],
+            [
+                "u8",
+                "src_address",
+                16
+            ],
+            [
+                "u8",
+                "dst_address",
+                16
+            ],
+            [
+                "u32",
+                "mcast_sw_if_index"
+            ],
+            [
+                "u32",
+                "encap_vrf_id"
+            ],
+            [
+                "u32",
+                "decap_next_index"
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            [
+                "u8",
+                "is_ipv6"
+            ],
+            {
+                "crc": "0xce38e127"
+            }
+        ],
+        [
+            "sw_interface_set_vxlan_bypass",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "sw_if_index"
+            ],
+            [
+                "u8",
+                "is_ipv6"
+            ],
+            [
+                "u8",
+                "enable"
+            ],
+            {
+                "crc": "0xe74ca095"
+            }
+        ],
+        [
+            "sw_interface_set_vxlan_bypass_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "vxlan_offload_rx",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "hw_if_index"
+            ],
+            [
+                "u32",
+                "sw_if_index"
+            ],
+            [
+                "u8",
+                "enable"
+            ],
+            {
+                "crc": "0xf0b08786"
+            }
+        ],
+        [
+            "vxlan_offload_rx_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ]
+    ],
+    "unions": [],
+    "enums": [],
+    "services": {
+        "vxlan_add_del_tunnel": {
+            "reply": "vxlan_add_del_tunnel_reply"
+        },
+        "vxlan_tunnel_dump": {
+            "reply": "vxlan_tunnel_details",
+            "stream": true
+        },
+        "sw_interface_set_vxlan_bypass": {
+            "reply": "sw_interface_set_vxlan_bypass_reply"
+        },
+        "vxlan_offload_rx": {
+            "reply": "vxlan_offload_rx_reply"
+        }
+    },
+    "options": {
+        "version": "1.1.0"
+    },
+    "aliases": {},
+    "vl_api_version": "0xa95aa271"
+}