diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/.vppapi/plugins/dhcp.api.json')
-rw-r--r-- | internal/testbinapi/binapi2001/.vppapi/plugins/dhcp.api.json | 1581 |
1 files changed, 1581 insertions, 0 deletions
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/dhcp.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/dhcp.api.json new file mode 100644 index 0000000..6f74182 --- /dev/null +++ b/internal/testbinapi/binapi2001/.vppapi/plugins/dhcp.api.json @@ -0,0 +1,1581 @@ +{ + "types": [ + [ + "address", + [ + "vl_api_address_family_t", + "af" + ], + [ + "vl_api_address_union_t", + "un" + ] + ], + [ + "prefix", + [ + "vl_api_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "mprefix", + [ + "vl_api_address_family_t", + "af" + ], + [ + "u16", + "grp_address_length" + ], + [ + "vl_api_address_union_t", + "grp_address" + ], + [ + "vl_api_address_union_t", + "src_address" + ] + ], + [ + "ip6_prefix", + [ + "vl_api_ip6_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "ip4_prefix", + [ + "vl_api_ip4_address_t", + "address" + ], + [ + "u8", + "len" + ] + ], + [ + "prefix_matcher", + [ + "u8", + "le" + ], + [ + "u8", + "ge" + ] + ], + [ + "dhcp_client", + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "string", + "hostname", + 64 + ], + [ + "u8", + "id", + 64 + ], + [ + "bool", + "want_dhcp_event" + ], + [ + "bool", + "set_broadcast_flag" + ], + [ + "vl_api_ip_dscp_t", + "dscp" + ], + [ + "u32", + "pid" + ] + ], + [ + "domain_server", + [ + "vl_api_address_t", + "address" + ] + ], + [ + "dhcp_lease", + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "vl_api_dhcp_client_state_t", + "state" + ], + [ + "bool", + "is_ipv6" + ], + [ + "string", + "hostname", + 64 + ], + [ + "u8", + "mask_width" + ], + [ + "vl_api_address_t", + "host_address" + ], + [ + "vl_api_address_t", + "router_address" + ], + [ + "vl_api_mac_address_t", + "host_mac" + ], + [ + "u8", + "count" + ], + [ + "vl_api_domain_server_t", + "domain_server", + 0, + "count" + ] + ], + [ + "dhcp_server", + [ + "u32", + "server_vrf_id" + ], + [ + "vl_api_address_t", + "dhcp_server" + ] + ], + [ + "dhcp6_address_info", + [ + "vl_api_ip6_address_t", + "address" + ], + [ + "u32", + "valid_time" + ], + [ + "u32", + "preferred_time" + ] + ], + [ + "dhcp6_pd_prefix_info", + [ + "vl_api_ip6_prefix_t", + "prefix" + ], + [ + "u32", + "valid_time" + ], + [ + "u32", + "preferred_time" + ] + ] + ], + "messages": [ + [ + "dhcp_plugin_get_version", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "dhcp_plugin_get_version_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "major" + ], + [ + "u32", + "minor" + ], + { + "crc": "0x9b32cf86" + } + ], + [ + "dhcp_plugin_control_ping", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "dhcp_plugin_control_ping_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "vpe_pid" + ], + { + "crc": "0xf6b0b8ca" + } + ], + [ + "dhcp_proxy_config", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "rx_vrf_id" + ], + [ + "u32", + "server_vrf_id" + ], + [ + "bool", + "is_add" + ], + [ + "vl_api_address_t", + "dhcp_server" + ], + [ + "vl_api_address_t", + "dhcp_src_address" + ], + { + "crc": "0x6767230e" + } + ], + [ + "dhcp_proxy_config_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp_proxy_set_vss", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "tbl_id" + ], + [ + "vl_api_vss_type_t", + "vss_type" + ], + [ + "string", + "vpn_ascii_id", + 129 + ], + [ + "u32", + "oui" + ], + [ + "u32", + "vpn_index" + ], + [ + "bool", + "is_ipv6" + ], + [ + "bool", + "is_add" + ], + { + "crc": "0x50537301" + } + ], + [ + "dhcp_proxy_set_vss_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp_client_config", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_add" + ], + [ + "vl_api_dhcp_client_t", + "client" + ], + { + "crc": "0x959b80a3" + } + ], + [ + "dhcp_client_config_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp_compl_event", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "pid" + ], + [ + "vl_api_dhcp_lease_t", + "lease" + ], + { + "crc": "0xe908fd1d" + } + ], + [ + "dhcp_client_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "dhcp_client_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "vl_api_dhcp_client_t", + "client" + ], + [ + "vl_api_dhcp_lease_t", + "lease" + ], + { + "crc": "0xacd82f5a" + } + ], + [ + "dhcp_proxy_dump", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "is_ip6" + ], + { + "crc": "0x5c5b063f" + } + ], + [ + "dhcp_proxy_details", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u32", + "rx_vrf_id" + ], + [ + "u32", + "vss_oui" + ], + [ + "u32", + "vss_fib_id" + ], + [ + "vl_api_vss_type_t", + "vss_type" + ], + [ + "bool", + "is_ipv6" + ], + [ + "string", + "vss_vpn_ascii_id", + 129 + ], + [ + "vl_api_address_t", + "dhcp_src_address" + ], + [ + "u8", + "count" + ], + [ + "vl_api_dhcp_server_t", + "servers", + 0, + "count" + ], + { + "crc": "0xce16f044" + } + ], + [ + "dhcp6_duid_ll_set", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u8", + "duid_ll", + 10 + ], + { + "crc": "0x0f6ca323" + } + ], + [ + "dhcp6_duid_ll_set_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp6_clients_enable_disable", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "enable" + ], + { + "crc": "0xb3e225d2" + } + ], + [ + "dhcp6_clients_enable_disable_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp6_send_client_message", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "server_index" + ], + [ + "u32", + "irt" + ], + [ + "u32", + "mrt" + ], + [ + "u32", + "mrc" + ], + [ + "u32", + "mrd" + ], + [ + "bool", + "stop" + ], + [ + "vl_api_dhcpv6_msg_type_t", + "msg_type" + ], + [ + "u32", + "T1" + ], + [ + "u32", + "T2" + ], + [ + "u32", + "n_addresses" + ], + [ + "vl_api_dhcp6_address_info_t", + "addresses", + 0, + "n_addresses" + ], + { + "crc": "0xf6f14ef0" + } + ], + [ + "dhcp6_send_client_message_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp6_pd_send_client_message", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "server_index" + ], + [ + "u32", + "irt" + ], + [ + "u32", + "mrt" + ], + [ + "u32", + "mrc" + ], + [ + "u32", + "mrd" + ], + [ + "bool", + "stop" + ], + [ + "vl_api_dhcpv6_msg_type_t", + "msg_type" + ], + [ + "u32", + "T1" + ], + [ + "u32", + "T2" + ], + [ + "u32", + "n_prefixes" + ], + [ + "vl_api_dhcp6_pd_prefix_info_t", + "prefixes", + 0, + "n_prefixes" + ], + { + "crc": "0x064badb8" + } + ], + [ + "dhcp6_pd_send_client_message_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "want_dhcp6_reply_events", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u8", + "enable_disable" + ], + [ + "u32", + "pid" + ], + { + "crc": "0x05b454b5" + } + ], + [ + "want_dhcp6_reply_events_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "want_dhcp6_pd_reply_events", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "bool", + "enable_disable" + ], + [ + "u32", + "pid" + ], + { + "crc": "0xc5e2af94" + } + ], + [ + "want_dhcp6_pd_reply_events_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "i32", + "retval" + ], + { + "crc": "0xe8d4e804" + } + ], + [ + "dhcp6_reply_event", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "pid" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "server_index" + ], + [ + "vl_api_dhcpv6_msg_type_t", + "msg_type" + ], + [ + "u32", + "T1" + ], + [ + "u32", + "T2" + ], + [ + "u16", + "inner_status_code" + ], + [ + "u16", + "status_code" + ], + [ + "u8", + "preference" + ], + [ + "u32", + "n_addresses" + ], + [ + "vl_api_dhcp6_address_info_t", + "addresses", + 0, + "n_addresses" + ], + { + "crc": "0x9f3af9e5" + } + ], + [ + "dhcp6_pd_reply_event", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "pid" + ], + [ + "vl_api_interface_index_t", + "sw_if_index" + ], + [ + "u32", + "server_index" + ], + [ + "vl_api_dhcpv6_msg_type_t", + "msg_type" + ], + [ + "u32", + "T1" + ], + [ + "u32", + "T2" + ], + [ + "u16", + "inner_status_code" + ], + [ + "u16", + "status_code" + ], + [ + "u8", + "preference" + ], + [ + "u32", + "n_prefixes" + ], + [ + "vl_api_dhcp6_pd_prefix_info_t", + "prefixes", + 0, + "n_prefixes" + ], + { + "crc": "0xcb3e462b" + } + ] + ], + "unions": [ + [ + "address_union", + [ + "vl_api_ip4_address_t", + "ip4" + ], + [ + "vl_api_ip6_address_t", + "ip6" + ] + ] + ], + "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" + } + ], + [ + "address_family", + [ + "ADDRESS_IP4", + 0 + ], + [ + "ADDRESS_IP6", + 1 + ], + { + "enumtype": "u32" + } + ], + [ + "ip_ecn", + [ + "IP_API_ECN_NONE", + 0 + ], + [ + "IP_API_ECN_ECT0", + 1 + ], + [ + "IP_API_ECN_ECT1", + 2 + ], + [ + "IP_API_ECN_CE", + 3 + ], + { + "enumtype": "u8" + } + ], + [ + "ip_dscp", + [ + "IP_API_DSCP_CS0", + 0 + ], + [ + "IP_API_DSCP_CS1", + 8 + ], + [ + "IP_API_DSCP_AF11", + 10 + ], + [ + "IP_API_DSCP_AF12", + 12 + ], + [ + "IP_API_DSCP_AF13", + 14 + ], + [ + "IP_API_DSCP_CS2", + 16 + ], + [ + "IP_API_DSCP_AF21", + 18 + ], + [ + "IP_API_DSCP_AF22", + 20 + ], + [ + "IP_API_DSCP_AF23", + 22 + ], + [ + "IP_API_DSCP_CS3", + 24 + ], + [ + "IP_API_DSCP_AF31", + 26 + ], + [ + "IP_API_DSCP_AF32", + 28 + ], + [ + "IP_API_DSCP_AF33", + 30 + ], + [ + "IP_API_DSCP_CS4", + 32 + ], + [ + "IP_API_DSCP_AF41", + 34 + ], + [ + "IP_API_DSCP_AF42", + 36 + ], + [ + "IP_API_DSCP_AF43", + 38 + ], + [ + "IP_API_DSCP_CS5", + 40 + ], + [ + "IP_API_DSCP_EF", + 46 + ], + [ + "IP_API_DSCP_CS6", + 48 + ], + [ + "IP_API_DSCP_CS7", + 50 + ], + { + "enumtype": "u8" + } + ], + [ + "ip_proto", + [ + "IP_API_PROTO_HOPOPT", + 0 + ], + [ + "IP_API_PROTO_ICMP", + 1 + ], + [ + "IP_API_PROTO_IGMP", + 2 + ], + [ + "IP_API_PROTO_TCP", + 6 + ], + [ + "IP_API_PROTO_UDP", + 17 + ], + [ + "IP_API_PROTO_GRE", + 47 + ], + [ + "IP_API_PROTO_AH", + 50 + ], + [ + "IP_API_PROTO_ESP", + 51 + ], + [ + "IP_API_PROTO_EIGRP", + 88 + ], + [ + "IP_API_PROTO_OSPF", + 89 + ], + [ + "IP_API_PROTO_SCTP", + 132 + ], + [ + "IP_API_PROTO_RESERVED", + 255 + ], + { + "enumtype": "u32" + } + ], + [ + "vss_type", + [ + "VSS_TYPE_API_ASCII", + 0 + ], + [ + "VSS_TYPE_API_VPN_ID", + 1 + ], + [ + "VSS_TYPE_API_INVALID", + 123 + ], + [ + "VSS_TYPE_API_DEFAULT", + 255 + ], + { + "enumtype": "u32" + } + ], + [ + "dhcp_client_state", + [ + "DHCP_CLIENT_STATE_API_DISCOVER", + 1 + ], + [ + "DHCP_CLIENT_STATE_API_REQUEST", + 2 + ], + [ + "DHCP_CLIENT_STATE_API_BOUND", + 3 + ], + { + "enumtype": "u32" + } + ], + [ + "dhcpv6_msg_type", + [ + "DHCPV6_MSG_API_SOLICIT", + 1 + ], + [ + "DHCPV6_MSG_API_ADVERTISE", + 2 + ], + [ + "DHCPV6_MSG_API_REQUEST", + 3 + ], + [ + "DHCPV6_MSG_API_CONFIRM", + 4 + ], + [ + "DHCPV6_MSG_API_RENEW", + 5 + ], + [ + "DHCPV6_MSG_API_REBIND", + 6 + ], + [ + "DHCPV6_MSG_API_REPLY", + 7 + ], + [ + "DHCPV6_MSG_API_RELEASE", + 8 + ], + [ + "DHCPV6_MSG_API_DECLINE", + 9 + ], + [ + "DHCPV6_MSG_API_RECONFIGURE", + 10 + ], + [ + "DHCPV6_MSG_API_INFORMATION_REQUEST", + 11 + ], + [ + "DHCPV6_MSG_API_RELAY_FORW", + 12 + ], + [ + "DHCPV6_MSG_API_RELAY_REPL", + 13 + ], + { + "enumtype": "u32" + } + ] + ], + "services": { + "dhcp_client_config": { + "reply": "dhcp_client_config_reply", + "events": [ + "dhcp_compl_event" + ] + }, + "want_dhcp6_reply_events": { + "reply": "want_dhcp6_reply_events_reply", + "events": [ + "dhcp6_reply_event" + ] + }, + "want_dhcp6_pd_reply_events": { + "reply": "want_dhcp6_pd_reply_events_reply", + "events": [ + "dhcp6_pd_reply_event" + ] + }, + "dhcp_plugin_get_version": { + "reply": "dhcp_plugin_get_version_reply" + }, + "dhcp_plugin_control_ping": { + "reply": "dhcp_plugin_control_ping_reply" + }, + "dhcp_proxy_config": { + "reply": "dhcp_proxy_config_reply" + }, + "dhcp_proxy_set_vss": { + "reply": "dhcp_proxy_set_vss_reply" + }, + "dhcp_client_dump": { + "reply": "dhcp_client_details", + "stream": true + }, + "dhcp_proxy_dump": { + "reply": "dhcp_proxy_details", + "stream": true + }, + "dhcp6_duid_ll_set": { + "reply": "dhcp6_duid_ll_set_reply" + }, + "dhcp6_clients_enable_disable": { + "reply": "dhcp6_clients_enable_disable_reply" + }, + "dhcp6_send_client_message": { + "reply": "dhcp6_send_client_message_reply" + }, + "dhcp6_pd_send_client_message": { + "reply": "dhcp6_pd_send_client_message_reply" + } + }, + "options": { + "version": "3.0.1" + }, + "aliases": { + "interface_index": { + "type": "u32" + }, + "ip4_address": { + "type": "u8", + "length": 4 + }, + "ip6_address": { + "type": "u8", + "length": 16 + }, + "address_with_prefix": { + "type": "vl_api_prefix_t" + }, + "ip4_address_with_prefix": { + "type": "vl_api_ip4_prefix_t" + }, + "ip6_address_with_prefix": { + "type": "vl_api_ip6_prefix_t" + }, + "mac_address": { + "type": "u8", + "length": 6 + } + }, + "vl_api_version": "0x96a5f046" +} |