From e9567fa8c853dda16c54afbd2ba99b7263fa37f1 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 30 May 2022 17:18:34 +0200 Subject: 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 Change-Id: I99063ed571eb193271b3cda805d692155ac90f61 --- .../binapi2001/.vppapi/plugins/mdata.api.json | 214 --------------------- 1 file changed, 214 deletions(-) delete mode 100644 internal/testbinapi/binapi2001/.vppapi/plugins/mdata.api.json (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/mdata.api.json') diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/mdata.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/mdata.api.json deleted file mode 100644 index 1f4b23e..0000000 --- a/internal/testbinapi/binapi2001/.vppapi/plugins/mdata.api.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "types": [], - "messages": [ - [ - "mdata_enable_disable", - [ - "u16", - "_vl_msg_id" - ], - [ - "u32", - "client_index" - ], - [ - "u32", - "context" - ], - [ - "bool", - "enable_disable" - ], - { - "crc": "0x2e7b47df" - } - ], - [ - "mdata_enable_disable_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" - } - ] - ], - "services": { - "mdata_enable_disable": { - "reply": "mdata_enable_disable_reply" - } - }, - "options": { - "version": "0.1.0" - }, - "aliases": { - "interface_index": { - "type": "u32" - } - }, - "vl_api_version": "0x68055b0c" -} -- cgit 1.2.3-korg