Fix binapigen decoding and minor improvements
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / lisp_gpe.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/lisp_gpe.api.json b/internal/testbinapi/binapi2001/.vppapi/core/lisp_gpe.api.json
new file mode 100644 (file)
index 0000000..bf6eb9a
--- /dev/null
@@ -0,0 +1,630 @@
+{
+    "types": [
+        [
+            "gpe_locator",
+            [
+                "u8",
+                "is_ip4"
+            ],
+            [
+                "u8",
+                "weight"
+            ],
+            [
+                "u8",
+                "addr",
+                16
+            ]
+        ],
+        [
+            "gpe_fwd_entry",
+            [
+                "u32",
+                "fwd_entry_index"
+            ],
+            [
+                "u32",
+                "dp_table"
+            ],
+            [
+                "u8",
+                "eid_type"
+            ],
+            [
+                "u8",
+                "leid_prefix_len"
+            ],
+            [
+                "u8",
+                "reid_prefix_len"
+            ],
+            [
+                "u8",
+                "leid",
+                16
+            ],
+            [
+                "u8",
+                "reid",
+                16
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            [
+                "u8",
+                "action"
+            ]
+        ],
+        [
+            "gpe_native_fwd_rpath",
+            [
+                "u32",
+                "fib_index"
+            ],
+            [
+                "u32",
+                "nh_sw_if_index"
+            ],
+            [
+                "u8",
+                "is_ip4"
+            ],
+            [
+                "u8",
+                "nh_addr",
+                16
+            ]
+        ]
+    ],
+    "messages": [
+        [
+            "gpe_add_del_fwd_entry",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u8",
+                "eid_type"
+            ],
+            [
+                "u8",
+                "rmt_eid",
+                16
+            ],
+            [
+                "u8",
+                "lcl_eid",
+                16
+            ],
+            [
+                "u8",
+                "rmt_len"
+            ],
+            [
+                "u8",
+                "lcl_len"
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            [
+                "u32",
+                "dp_table"
+            ],
+            [
+                "u8",
+                "action"
+            ],
+            [
+                "u32",
+                "loc_num"
+            ],
+            [
+                "vl_api_gpe_locator_t",
+                "locs",
+                0,
+                "loc_num"
+            ],
+            {
+                "crc": "0xafbf857a"
+            }
+        ],
+        [
+            "gpe_add_del_fwd_entry_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "fwd_entry_index"
+            ],
+            {
+                "crc": "0xefe5f176"
+            }
+        ],
+        [
+            "gpe_enable_disable",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_en"
+            ],
+            {
+                "crc": "0xeb0e943b"
+            }
+        ],
+        [
+            "gpe_enable_disable_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "gpe_add_del_iface",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u8",
+                "is_l2"
+            ],
+            [
+                "u32",
+                "dp_table"
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            {
+                "crc": "0x42d6b533"
+            }
+        ],
+        [
+            "gpe_add_del_iface_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "gpe_fwd_entry_vnis_get",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            {
+                "crc": "0x51077d14"
+            }
+        ],
+        [
+            "gpe_fwd_entry_vnis_get_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "count"
+            ],
+            [
+                "u32",
+                "vnis",
+                0,
+                "count"
+            ],
+            {
+                "crc": "0xaa70da20"
+            }
+        ],
+        [
+            "gpe_fwd_entries_get",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "vni"
+            ],
+            {
+                "crc": "0x8d1f2fe9"
+            }
+        ],
+        [
+            "gpe_fwd_entries_get_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "count"
+            ],
+            [
+                "vl_api_gpe_fwd_entry_t",
+                "entries",
+                0,
+                "count"
+            ],
+            {
+                "crc": "0x07b02c34"
+            }
+        ],
+        [
+            "gpe_fwd_entry_path_dump",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u32",
+                "fwd_entry_index"
+            ],
+            {
+                "crc": "0x39bce980"
+            }
+        ],
+        [
+            "gpe_fwd_entry_path_details",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "vl_api_gpe_locator_t",
+                "lcl_loc"
+            ],
+            [
+                "vl_api_gpe_locator_t",
+                "rmt_loc"
+            ],
+            {
+                "crc": "0xa9bdc1f1"
+            }
+        ],
+        [
+            "gpe_set_encap_mode",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "mode"
+            ],
+            {
+                "crc": "0xf3f93ce9"
+            }
+        ],
+        [
+            "gpe_set_encap_mode_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "gpe_get_encap_mode",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            {
+                "crc": "0x51077d14"
+            }
+        ],
+        [
+            "gpe_get_encap_mode_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u8",
+                "encap_mode"
+            ],
+            {
+                "crc": "0x36e3f7ca"
+            }
+        ],
+        [
+            "gpe_add_del_native_fwd_rpath",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u32",
+                "table_id"
+            ],
+            [
+                "u32",
+                "nh_sw_if_index"
+            ],
+            [
+                "u8",
+                "is_ip4"
+            ],
+            [
+                "u8",
+                "nh_addr",
+                16
+            ],
+            {
+                "crc": "0xbfc42b8f"
+            }
+        ],
+        [
+            "gpe_add_del_native_fwd_rpath_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "gpe_native_fwd_rpaths_get",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_ip4"
+            ],
+            {
+                "crc": "0xc5e0d91b"
+            }
+        ],
+        [
+            "gpe_native_fwd_rpaths_get_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u32",
+                "count"
+            ],
+            [
+                "vl_api_gpe_native_fwd_rpath_t",
+                "entries",
+                0,
+                "count"
+            ],
+            {
+                "crc": "0x1e4536e3"
+            }
+        ]
+    ],
+    "unions": [],
+    "enums": [],
+    "services": {
+        "gpe_add_del_fwd_entry": {
+            "reply": "gpe_add_del_fwd_entry_reply"
+        },
+        "gpe_enable_disable": {
+            "reply": "gpe_enable_disable_reply"
+        },
+        "gpe_add_del_iface": {
+            "reply": "gpe_add_del_iface_reply"
+        },
+        "gpe_fwd_entry_vnis_get": {
+            "reply": "gpe_fwd_entry_vnis_get_reply"
+        },
+        "gpe_fwd_entries_get": {
+            "reply": "gpe_fwd_entries_get_reply"
+        },
+        "gpe_fwd_entry_path_dump": {
+            "reply": "gpe_fwd_entry_path_details",
+            "stream": true
+        },
+        "gpe_set_encap_mode": {
+            "reply": "gpe_set_encap_mode_reply"
+        },
+        "gpe_get_encap_mode": {
+            "reply": "gpe_get_encap_mode_reply"
+        },
+        "gpe_add_del_native_fwd_rpath": {
+            "reply": "gpe_add_del_native_fwd_rpath_reply"
+        },
+        "gpe_native_fwd_rpaths_get": {
+            "reply": "gpe_native_fwd_rpaths_get_reply"
+        }
+    },
+    "options": {
+        "version": "1.0.0"
+    },
+    "aliases": {},
+    "vl_api_version": "0x9396c80c"
+}