diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/core/bond.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/core/bond.api.json | 620 |
1 files changed, 620 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/core/bond.api.json b/internal/testbinapi/binapi2001/.vppapi/core/bond.api.json new file mode 100644 index 0000000..5eefc92 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/core/bond.api.json @@ -0,0 +1,620 @@ +{ + "types": [], + "messages": [ + [ + "bond_create", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "id" + ], + [ + "bool", + "use_custom_mac" + ], + [ + "vl_api_mac_address_t", + "mac_address" + ], + [ + "vl_api_bond_mode_t", + "mode" + ], + [ + "vl_api_bond_lb_algo_t", + "lb" + ], + [ + "bool", + "numa_only" + ], + { + "crc": "0x48883c7e" + } + ], + [ + "bond_create_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0x5383d31f" + } + ], + [ + "bond_delete", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0xf9e6675e" + } + ], + [ + "bond_delete_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "bond_enslave", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "vl_api_interface_index_t", + "bond_sw_if_index" + ], + [ + "bool", + "is_passive" + ], + [ + "bool", + "is_long_timeout" + ], + { + "crc": "0x076ecfa7" + } + ], + [ + "bond_enslave_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "bond_detach_slave", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0xf9e6675e" + } + ], + [ + "bond_detach_slave_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "sw_interface_bond_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "sw_interface_bond_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "id" + ], + [ + "vl_api_bond_mode_t", + "mode" + ], + [ + "vl_api_bond_lb_algo_t", + "lb" + ], + [ + "bool", + "numa_only" + ], + [ + "u32", + "active_slaves" + ], + [ + "u32", + "slaves" + ], + [ + "string", + "interface_name", + 64 + ], + { + "crc": "0xf5ef2106" + } + ], + [ + "sw_interface_slave_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + { + "crc": "0xf9e6675e" + } + ], + [ + "sw_interface_slave_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "string", + "interface_name", + 64 + ], + [ + "bool", + "is_passive" + ], + [ + "bool", + "is_long_timeout" + ], + [ + "bool", + "is_local_numa" + ], + [ + "u32", + "weight" + ], + { + "crc": "0x3c4a0e23" + } + ], + [ + "sw_interface_set_bond_weight", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "weight" + ], + { + "crc": "0xdeb510a0" + } + ], + [ + "sw_interface_set_bond_weight_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" + } + ], + [ + "bond_mode", + [ + "BOND_API_MODE_ROUND_ROBIN", + 1 + ], + [ + "BOND_API_MODE_ACTIVE_BACKUP", + 2 + ], + [ + "BOND_API_MODE_XOR", + 3 + ], + [ + "BOND_API_MODE_BROADCAST", + 4 + ], + [ + "BOND_API_MODE_LACP", + 5 + ], + { + "enumtype": "u32" + } + ], + [ + "bond_lb_algo", + [ + "BOND_API_LB_ALGO_L2", + 0 + ], + [ + "BOND_API_LB_ALGO_L34", + 1 + ], + [ + "BOND_API_LB_ALGO_L23", + 2 + ], + [ + "BOND_API_LB_ALGO_RR", + 3 + ], + [ + "BOND_API_LB_ALGO_BC", + 4 + ], + [ + "BOND_API_LB_ALGO_AB", + 5 + ], + { + "enumtype": "u32" + } + ] + ], + "services": { + "bond_create": { + "reply": "bond_create_reply" + }, + "bond_delete": { + "reply": "bond_delete_reply" + }, + "bond_enslave": { + "reply": "bond_enslave_reply" + }, + "bond_detach_slave": { + "reply": "bond_detach_slave_reply" + }, + "sw_interface_bond_dump": { + "reply": "sw_interface_bond_details", + "stream": true + }, + "sw_interface_slave_dump": { + "reply": "sw_interface_slave_details", + "stream": true + }, + "sw_interface_set_bond_weight": { + "reply": "sw_interface_set_bond_weight_reply" + } + }, + "options": { + "version": "2.0.0" + }, + "aliases": { + "interface_index": { + "type": "u32" + }, + "mac_address": { + "type": "u8", + "length": 6 + } + }, + "vl_api_version": "0x69f583ad" +} |