diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2022-05-30 17:18:34 +0200 |
---|---|---|
committer | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2022-05-30 18:49:43 +0200 |
commit | e9567fa8c853dda16c54afbd2ba99b7263fa37f1 (patch) | |
tree | f722a72f13cccdd9f13bdaff200e734849ee0853 /internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json | |
parent | 4102c72bce694babd94a481b1201d33895a6f9c5 (diff) |
binapi: remove internal/testbinapi
This patch is a proposal to remove the necessity to version
two versions of the generated api. We would rely on `./binapi/`
for 'internal' logic, making the dependancy on VPP a bit
stronger, but removing a folder and a .json file we don't
upgrade regularly.
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Change-Id: I99063ed571eb193271b3cda805d692155ac90f61
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json | 516 |
1 files changed, 0 insertions, 516 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json deleted file mode 100644 index 193e0a1..0000000 --- a/internal/testbinapi/binapi2001/.vppapi/plugins/memif.api.json +++ /dev/null @@ -1,516 +0,0 @@ -{ - "types": [], - "messages": [ - [ - "memif_socket_filename_add_del", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - [ - "bool", - "is_add" - ], - [ - "u32", - "socket_id" - ], - [ - "string", - "socket_filename", - 108 - ], - { - "crc": "0xa2ce1a10" - } - ], - [ - "memif_socket_filename_add_del_reply", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "context" - ], - [ - "i32", - "retval" - ], - { - "crc": "0xe8d4e804" - } - ], - [ - "memif_create", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - [ - "vl_api_memif_role_t", - "role" - ], - [ - "vl_api_memif_mode_t", - "mode" - ], - [ - "u8", - "rx_queues" - ], - [ - "u8", - "tx_queues" - ], - [ - "u32", - "id" - ], - [ - "u32", - "socket_id" - ], - [ - "u32", - "ring_size" - ], - [ - "u16", - "buffer_size" - ], - [ - "bool", - "no_zero_copy" - ], - [ - "vl_api_mac_address_t", - "hw_addr" - ], - [ - "string", - "secret", - 24 - ], - { - "crc": "0xb1b25061" - } - ], - [ - "memif_create_reply", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "context" - ], - [ - "i32", - "retval" - ], - [ - "vl_api_interface_index_t", - "sw_if_index" - ], - { - "crc": "0x5383d31f" - } - ], - [ - "memif_delete", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - [ - "vl_api_interface_index_t", - "sw_if_index" - ], - { - "crc": "0xf9e6675e" - } - ], - [ - "memif_delete_reply", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "context" - ], - [ - "i32", - "retval" - ], - { - "crc": "0xe8d4e804" - } - ], - [ - "memif_socket_filename_details", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "context" - ], - [ - "u32", - "socket_id" - ], - [ - "string", - "socket_filename", - 108 - ], - { - "crc": "0x7ff326f7" - } - ], - [ - "memif_socket_filename_dump", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - { - "crc": "0x51077d14" - } - ], - [ - "memif_details", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "context" - ], - [ - "vl_api_interface_index_t", - "sw_if_index" - ], - [ - "vl_api_mac_address_t", - "hw_addr" - ], - [ - "u32", - "id" - ], - [ - "vl_api_memif_role_t", - "role" - ], - [ - "vl_api_memif_mode_t", - "mode" - ], - [ - "bool", - "zero_copy" - ], - [ - "u32", - "socket_id" - ], - [ - "u32", - "ring_size" - ], - [ - "u16", - "buffer_size" - ], - [ - "vl_api_if_status_flags_t", - "flags" - ], - [ - "string", - "if_name", - 64 - ], - { - "crc": "0xd0382c4c" - } - ], - [ - "memif_dump", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - { - "crc": "0x51077d14" - } - ] - ], - "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" - } - ], - [ - "memif_role", - [ - "MEMIF_ROLE_API_MASTER", - 0 - ], - [ - "MEMIF_ROLE_API_SLAVE", - 1 - ], - { - "enumtype": "u32" - } - ], - [ - "memif_mode", - [ - "MEMIF_MODE_API_ETHERNET", - 0 - ], - [ - "MEMIF_MODE_API_IP", - 1 - ], - [ - "MEMIF_MODE_API_PUNT_INJECT", - 2 - ], - { - "enumtype": "u32" - } - ] - ], - "services": { - "memif_socket_filename_add_del": { - "reply": "memif_socket_filename_add_del_reply" - }, - "memif_create": { - "reply": "memif_create_reply" - }, - "memif_delete": { - "reply": "memif_delete_reply" - }, - "memif_socket_filename_dump": { - "reply": "memif_socket_filename_details", - "stream": true - }, - "memif_dump": { - "reply": "memif_details", - "stream": true - } - }, - "options": { - "version": "3.0.0" - }, - "aliases": { - "interface_index": { - "type": "u32" - }, - "mac_address": { - "type": "u8", - "length": 6 - } - }, - "vl_api_version": "0x88dc56c9" -} |