diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/nsh.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/plugins/nsh.api.json | 499 |
1 files changed, 499 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/nsh.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/nsh.api.json new file mode 100644 index 0000000..fd8e422 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/plugins/nsh.api.json @@ -0,0 +1,499 @@ +{ + "types": [], + "messages": [ + [ + "nsh_add_del_entry", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "u32", + "nsp_nsi" + ], + [ + "u8", + "md_type" + ], + [ + "u8", + "ver_o_c" + ], + [ + "u8", + "ttl" + ], + [ + "u8", + "length" + ], + [ + "u8", + "next_protocol" + ], + [ + "u32", + "c1" + ], + [ + "u32", + "c2" + ], + [ + "u32", + "c3" + ], + [ + "u32", + "c4" + ], + [ + "u8", + "tlv_length" + ], + [ + "u8", + "tlv", + 248 + ], + { + "crc": "0x7dea480b" + } + ], + [ + "nsh_add_del_entry_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "entry_index" + ], + { + "crc": "0x6296a9eb" + } + ], + [ + "nsh_entry_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "entry_index" + ], + { + "crc": "0xcdaf8ccb" + } + ], + [ + "nsh_entry_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "entry_index" + ], + [ + "u32", + "nsp_nsi" + ], + [ + "u8", + "md_type" + ], + [ + "u8", + "ver_o_c" + ], + [ + "u8", + "ttl" + ], + [ + "u8", + "length" + ], + [ + "u8", + "next_protocol" + ], + [ + "u32", + "c1" + ], + [ + "u32", + "c2" + ], + [ + "u32", + "c3" + ], + [ + "u32", + "c4" + ], + [ + "u8", + "tlv_length" + ], + [ + "u8", + "tlv", + 248 + ], + { + "crc": "0x046fb556" + } + ], + [ + "nsh_add_del_map", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "u32", + "nsp_nsi" + ], + [ + "u32", + "mapped_nsp_nsi" + ], + [ + "u32", + "nsh_action" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "vl_api_interface_index_t", + "rx_sw_if_index" + ], + [ + "u32", + "next_node" + ], + { + "crc": "0x898d857d" + } + ], + [ + "nsh_add_del_map_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "map_index" + ], + { + "crc": "0xb2b127ef" + } + ], + [ + "nsh_map_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "map_index" + ], + { + "crc": "0x8fc06b82" + } + ], + [ + "nsh_map_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "map_index" + ], + [ + "u32", + "nsp_nsi" + ], + [ + "u32", + "mapped_nsp_nsi" + ], + [ + "u32", + "nsh_action" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "vl_api_interface_index_t", + "rx_sw_if_index" + ], + [ + "u32", + "next_node" + ], + { + "crc": "0xb34ac8a1" + } + ] + ], + "unions": [], + "enums": [ + [ + "if_status_flags", + [ + "IF_STATUS_API_FLAG_ADMIN_UP", + 1 + ], + [ + "IF_STATUS_API_FLAG_LINK_UP", + 2 + ], + { + "enumtype": "u32" + } + ], + [ + "mtu_proto", + [ + "MTU_PROTO_API_L3", + 1 + ], + [ + "MTU_PROTO_API_IP4", + 2 + ], + [ + "MTU_PROTO_API_IP6", + 3 + ], + [ + "MTU_PROTO_API_MPLS", + 4 + ], + [ + "MTU_PROTO_API_N", + 5 + ], + { + "enumtype": "u32" + } + ], + [ + "link_duplex", + [ + "LINK_DUPLEX_API_UNKNOWN", + 0 + ], + [ + "LINK_DUPLEX_API_HALF", + 1 + ], + [ + "LINK_DUPLEX_API_FULL", + 2 + ], + { + "enumtype": "u32" + } + ], + [ + "sub_if_flags", + [ + "SUB_IF_API_FLAG_NO_TAGS", + 1 + ], + [ + "SUB_IF_API_FLAG_ONE_TAG", + 2 + ], + [ + "SUB_IF_API_FLAG_TWO_TAGS", + 4 + ], + [ + "SUB_IF_API_FLAG_DOT1AD", + 8 + ], + [ + "SUB_IF_API_FLAG_EXACT_MATCH", + 16 + ], + [ + "SUB_IF_API_FLAG_DEFAULT", + 32 + ], + [ + "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY", + 64 + ], + [ + "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY", + 128 + ], + [ + "SUB_IF_API_FLAG_MASK_VNET", + 254 + ], + [ + "SUB_IF_API_FLAG_DOT1AH", + 256 + ], + { + "enumtype": "u32" + } + ], + [ + "rx_mode", + [ + "RX_MODE_API_UNKNOWN", + 0 + ], + [ + "RX_MODE_API_POLLING", + 1 + ], + [ + "RX_MODE_API_INTERRUPT", + 2 + ], + [ + "RX_MODE_API_ADAPTIVE", + 3 + ], + [ + "RX_MODE_API_DEFAULT", + 4 + ], + { + "enumtype": "u32" + } + ], + [ + "if_type", + [ + "IF_API_TYPE_HARDWARE", + 1 + ], + [ + "IF_API_TYPE_SUB", + 2 + ], + [ + "IF_API_TYPE_P2P", + 3 + ], + [ + "IF_API_TYPE_PIPE", + 4 + ], + { + "enumtype": "u32" + } + ] + ], + "services": { + "nsh_add_del_entry": { + "reply": "nsh_add_del_entry_reply" + }, + "nsh_entry_dump": { + "reply": "nsh_entry_details", + "stream": true + }, + "nsh_add_del_map": { + "reply": "nsh_add_del_map_reply" + }, + "nsh_map_dump": { + "reply": "nsh_map_details", + "stream": true + } + }, + "options": { + "version": "1.0.0" + }, + "aliases": { + "interface_index": { + "type": "u32" + } + }, + "vl_api_version": "0xac2c8897" +} |