diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/classify.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/classify.api.json | 1154 |
1 files changed, 1154 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/classify.api.json b/internal/testbinapi/binapi2001/.vppapi/core/classify.api.json new file mode 100644 index 0000000..0b6bf84 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/classify.api.json @@ -0,0 +1,1154 @@ +{ + "types": [], + "messages": [ + [ + "classify_add_del_table", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "bool", + "del_chain" + ], + [ + "u32", + "table_index", + { + "default": 4294967295 + } + ], + [ + "u32", + "nbuckets", + { + "default": 2 + } + ], + [ + "u32", + "memory_size", + { + "default": 2097152 + } + ], + [ + "u32", + "skip_n_vectors", + { + "default": 0 + } + ], + [ + "u32", + "match_n_vectors", + { + "default": 1 + } + ], + [ + "u32", + "next_table_index", + { + "default": 4294967295 + } + ], + [ + "u32", + "miss_next_index", + { + "default": 4294967295 + } + ], + [ + "u8", + "current_data_flag", + { + "default": 0 + } + ], + [ + "i16", + "current_data_offset", + { + "default": 0 + } + ], + [ + "u32", + "mask_len" + ], + [ + "u8", + "mask", + 0, + "mask_len" + ], + { + "crc": "0x6849e39e" + } + ], + [ + "classify_add_del_table_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "new_table_index" + ], + [ + "u32", + "skip_n_vectors" + ], + [ + "u32", + "match_n_vectors" + ], + { + "crc": "0x05486349" + } + ], + [ + "classify_add_del_session", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "u32", + "table_index" + ], + [ + "u32", + "hit_next_index", + { + "default": 4294967295 + } + ], + [ + "u32", + "opaque_index", + { + "default": 4294967295 + } + ], + [ + "i32", + "advance", + { + "default": 0 + } + ], + [ + "vl_api_classify_action_t", + "action", + { + "default": 0 + } + ], + [ + "u32", + "metadata", + { + "default": 0 + } + ], + [ + "u32", + "match_len" + ], + [ + "u8", + "match", + 0, + "match_len" + ], + { + "crc": "0xf20879f0" + } + ], + [ + "classify_add_del_session_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "policer_classify_set_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "ip4_table_index" + ], + [ + "u32", + "ip6_table_index" + ], + [ + "u32", + "l2_table_index" + ], + [ + "bool", + "is_add" + ], + { + "crc": "0xde7ad708" + } + ], + [ + "policer_classify_set_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "policer_classify_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_policer_classify_table_t", + "type" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0x6bfe6603" + } + ], + [ + "policer_classify_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "table_index" + ], + { + "crc": "0xdfd08765" + } + ], + [ + "classify_table_ids", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "classify_table_ids_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "count" + ], + [ + "u32", + "ids", + 0, + "count" + ], + { + "crc": "0xd1d20e1d" + } + ], + [ + "classify_table_by_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0xf9e6675e" + } + ], + [ + "classify_table_by_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "l2_table_id" + ], + [ + "u32", + "ip4_table_id" + ], + [ + "u32", + "ip6_table_id" + ], + { + "crc": "0xed4197db" + } + ], + [ + "classify_table_info", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "table_id" + ], + { + "crc": "0x0cca2cd9" + } + ], + [ + "classify_table_info_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "table_id" + ], + [ + "u32", + "nbuckets" + ], + [ + "u32", + "match_n_vectors" + ], + [ + "u32", + "skip_n_vectors" + ], + [ + "u32", + "active_sessions" + ], + [ + "u32", + "next_table_index" + ], + [ + "u32", + "miss_next_index" + ], + [ + "u32", + "mask_length" + ], + [ + "u8", + "mask", + 0, + "mask_length" + ], + { + "crc": "0x4a573c0e" + } + ], + [ + "classify_session_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "table_id" + ], + { + "crc": "0x0cca2cd9" + } + ], + [ + "classify_session_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "table_id" + ], + [ + "u32", + "hit_next_index" + ], + [ + "i32", + "advance" + ], + [ + "u32", + "opaque_index" + ], + [ + "u32", + "match_length" + ], + [ + "u8", + "match", + 0, + "match_length" + ], + { + "crc": "0x60e3ef94" + } + ], + [ + "flow_classify_set_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "ip4_table_index" + ], + [ + "u32", + "ip6_table_index" + ], + [ + "bool", + "is_add" + ], + { + "crc": "0xb6192f1c" + } + ], + [ + "flow_classify_set_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "flow_classify_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_flow_classify_table_t", + "type" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0x8a6ad43d" + } + ], + [ + "flow_classify_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "table_index" + ], + { + "crc": "0xdfd08765" + } + ], + [ + "classify_set_interface_ip_table", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_ipv6" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "table_index" + ], + { + "crc": "0xe0b097c7" + } + ], + [ + "classify_set_interface_ip_table_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "classify_set_interface_l2_tables", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "ip4_table_index" + ], + [ + "u32", + "ip6_table_index" + ], + [ + "u32", + "other_table_index" + ], + [ + "bool", + "is_input" + ], + { + "crc": "0x5a6ddf65" + } + ], + [ + "classify_set_interface_l2_tables_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "input_acl_set_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "ip4_table_index" + ], + [ + "u32", + "ip6_table_index" + ], + [ + "u32", + "l2_table_index" + ], + [ + "bool", + "is_add" + ], + { + "crc": "0xde7ad708" + } + ], + [ + "input_acl_set_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "output_acl_set_interface", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "ip4_table_index" + ], + [ + "u32", + "ip6_table_index" + ], + [ + "u32", + "l2_table_index" + ], + [ + "bool", + "is_add" + ], + { + "crc": "0xde7ad708" + } + ], + [ + "output_acl_set_interface_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ] + ], + "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" + } + ], + [ + "classify_action", + [ + "CLASSIFY_API_ACTION_NONE", + 0 + ], + [ + "CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX", + 1 + ], + [ + "CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX", + 2 + ], + [ + "CLASSIFY_API_ACTION_SET_METADATA", + 3 + ], + { + "enumtype": "u8" + } + ], + [ + "policer_classify_table", + [ + "POLICER_CLASSIFY_API_TABLE_IP4", + 1 + ], + [ + "POLICER_CLASSIFY_API_TABLE_IP6", + 2 + ], + [ + "POLICER_CLASSIFY_API_TABLE_L2", + 3 + ], + { + "enumtype": "u8" + } + ], + [ + "flow_classify_table", + [ + "FLOW_CLASSIFY_API_TABLE_IP4", + 1 + ], + [ + "FLOW_CLASSIFY_API_TABLE_IP6", + 2 + ], + { + "enumtype": "u8" + } + ] + ], + "services": { + "classify_add_del_table": { + "reply": "classify_add_del_table_reply" + }, + "classify_add_del_session": { + "reply": "classify_add_del_session_reply" + }, + "policer_classify_set_interface": { + "reply": "policer_classify_set_interface_reply" + }, + "policer_classify_dump": { + "reply": "policer_classify_details", + "stream": true + }, + "classify_table_ids": { + "reply": "classify_table_ids_reply" + }, + "classify_table_by_interface": { + "reply": "classify_table_by_interface_reply" + }, + "classify_table_info": { + "reply": "classify_table_info_reply" + }, + "classify_session_dump": { + "reply": "classify_session_details", + "stream": true + }, + "flow_classify_set_interface": { + "reply": "flow_classify_set_interface_reply" + }, + "flow_classify_dump": { + "reply": "flow_classify_details", + "stream": true + }, + "classify_set_interface_ip_table": { + "reply": "classify_set_interface_ip_table_reply" + }, + "classify_set_interface_l2_tables": { + "reply": "classify_set_interface_l2_tables_reply" + }, + "input_acl_set_interface": { + "reply": "input_acl_set_interface_reply" + }, + "output_acl_set_interface": { + "reply": "output_acl_set_interface_reply" + } + }, + "options": { + "version": "3.0.0" + }, + "aliases": { + "interface_index": { + "type": "u32" + } + }, + "vl_api_version": "0x13587952" +} |