summaryrefslogtreecommitdiffstats
path: root/examples/bin_api/interface.api.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bin_api/interface.api.json')
-rw-r--r--examples/bin_api/interface.api.json1467
1 files changed, 0 insertions, 1467 deletions
diff --git a/examples/bin_api/interface.api.json b/examples/bin_api/interface.api.json
deleted file mode 100644
index 41862d8..0000000
--- a/examples/bin_api/interface.api.json
+++ /dev/null
@@ -1,1467 +0,0 @@
-{
- "messages": [
- [
- "sw_interface_set_flags",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "admin_up_down"
- ],
- {
- "crc": "0x555485f5"
- }
- ],
- [
- "sw_interface_set_flags_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "hw_interface_set_mtu",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u16",
- "mtu"
- ],
- {
- "crc": "0x132da1e7"
- }
- ],
- [
- "hw_interface_set_mtu_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_set_mtu",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "mtu",
- 4
- ],
- {
- "crc": "0xd0008db8"
- }
- ],
- [
- "sw_interface_set_mtu_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_set_ip_directed_broadcast",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "enable"
- ],
- {
- "crc": "0xa36fadc0"
- }
- ],
- [
- "sw_interface_set_ip_directed_broadcast_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_event",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "pid"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "admin_up_down"
- ],
- [
- "u8",
- "link_up_down"
- ],
- [
- "u8",
- "deleted"
- ],
- {
- "crc": "0xbf9938e4"
- }
- ],
- [
- "want_interface_events",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "enable_disable"
- ],
- [
- "u32",
- "pid"
- ],
- {
- "crc": "0x476f5a08"
- }
- ],
- [
- "want_interface_events_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_details",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "sup_sw_if_index"
- ],
- [
- "u32",
- "l2_address_length"
- ],
- [
- "u8",
- "l2_address",
- 8
- ],
- [
- "u8",
- "interface_name",
- 64
- ],
- [
- "u8",
- "admin_up_down"
- ],
- [
- "u8",
- "link_up_down"
- ],
- [
- "u8",
- "link_duplex"
- ],
- [
- "u32",
- "link_speed"
- ],
- [
- "u16",
- "link_mtu"
- ],
- [
- "u32",
- "mtu",
- 4
- ],
- [
- "u32",
- "sub_id"
- ],
- [
- "u8",
- "sub_dot1ad"
- ],
- [
- "u8",
- "sub_dot1ah"
- ],
- [
- "u8",
- "sub_number_of_tags"
- ],
- [
- "u16",
- "sub_outer_vlan_id"
- ],
- [
- "u16",
- "sub_inner_vlan_id"
- ],
- [
- "u8",
- "sub_exact_match"
- ],
- [
- "u8",
- "sub_default"
- ],
- [
- "u8",
- "sub_outer_vlan_id_any"
- ],
- [
- "u8",
- "sub_inner_vlan_id_any"
- ],
- [
- "u32",
- "vtr_op"
- ],
- [
- "u32",
- "vtr_push_dot1q"
- ],
- [
- "u32",
- "vtr_tag1"
- ],
- [
- "u32",
- "vtr_tag2"
- ],
- [
- "u8",
- "tag",
- 64
- ],
- [
- "u16",
- "outer_tag"
- ],
- [
- "u8",
- "b_dmac",
- 6
- ],
- [
- "u8",
- "b_smac",
- 6
- ],
- [
- "u16",
- "b_vlanid"
- ],
- [
- "u32",
- "i_sid"
- ],
- {
- "crc": "0xe4ee7eb6"
- }
- ],
- [
- "sw_interface_dump",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u8",
- "name_filter_valid"
- ],
- [
- "u8",
- "name_filter",
- 49
- ],
- {
- "crc": "0x63f5e3b7"
- }
- ],
- [
- "sw_interface_add_del_address",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "is_add"
- ],
- [
- "u8",
- "is_ipv6"
- ],
- [
- "u8",
- "del_all"
- ],
- [
- "u8",
- "address_length"
- ],
- [
- "u8",
- "address",
- 16
- ],
- {
- "crc": "0x7b583179"
- }
- ],
- [
- "sw_interface_add_del_address_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_set_table",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "is_ipv6"
- ],
- [
- "u32",
- "vrf_id"
- ],
- {
- "crc": "0xacb25d89"
- }
- ],
- [
- "sw_interface_set_table_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_get_table",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "is_ipv6"
- ],
- {
- "crc": "0x6b7bcd0a"
- }
- ],
- [
- "sw_interface_get_table_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u32",
- "vrf_id"
- ],
- {
- "crc": "0xa6eb0109"
- }
- ],
- [
- "sw_interface_set_unnumbered",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "unnumbered_sw_if_index"
- ],
- [
- "u8",
- "is_add"
- ],
- {
- "crc": "0xa2c1bbda"
- }
- ],
- [
- "sw_interface_set_unnumbered_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_clear_stats",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0x529cb13f"
- }
- ],
- [
- "sw_interface_clear_stats_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_tag_add_del",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u8",
- "is_add"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "tag",
- 64
- ],
- {
- "crc": "0x14cc636c"
- }
- ],
- [
- "sw_interface_tag_add_del_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_set_mac_address",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "mac_address",
- 6
- ],
- {
- "crc": "0xeed5dfca"
- }
- ],
- [
- "sw_interface_set_mac_address_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_get_mac_address",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0x529cb13f"
- }
- ],
- [
- "sw_interface_get_mac_address_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u8",
- "mac_address",
- 6
- ],
- {
- "crc": "0x8ea538d3"
- }
- ],
- [
- "sw_interface_set_rx_mode",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "queue_id_valid"
- ],
- [
- "u32",
- "queue_id"
- ],
- [
- "u8",
- "mode"
- ],
- {
- "crc": "0x2a1cc58c"
- }
- ],
- [
- "sw_interface_set_rx_mode_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_set_rx_placement",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "queue_id"
- ],
- [
- "u32",
- "worker_id"
- ],
- [
- "u8",
- "is_main"
- ],
- {
- "crc": "0x4ef4377d"
- }
- ],
- [
- "sw_interface_set_rx_placement_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "sw_interface_rx_placement_dump",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0x529cb13f"
- }
- ],
- [
- "sw_interface_rx_placement_details",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "queue_id"
- ],
- [
- "u32",
- "worker_id"
- ],
- [
- "u8",
- "mode"
- ],
- {
- "crc": "0x0e9e33f4"
- }
- ],
- [
- "interface_name_renumber",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "new_show_dev_instance"
- ],
- {
- "crc": "0x39194269"
- }
- ],
- [
- "interface_name_renumber_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "create_subif",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "sub_id"
- ],
- [
- "u8",
- "no_tags"
- ],
- [
- "u8",
- "one_tag"
- ],
- [
- "u8",
- "two_tags"
- ],
- [
- "u8",
- "dot1ad"
- ],
- [
- "u8",
- "exact_match"
- ],
- [
- "u8",
- "default_sub"
- ],
- [
- "u8",
- "outer_vlan_id_any"
- ],
- [
- "u8",
- "inner_vlan_id_any"
- ],
- [
- "u16",
- "outer_vlan_id"
- ],
- [
- "u16",
- "inner_vlan_id"
- ],
- {
- "crc": "0x86cfe408"
- }
- ],
- [
- "create_subif_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0xfda5941f"
- }
- ],
- [
- "create_vlan_subif",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u32",
- "vlan_id"
- ],
- {
- "crc": "0x70cadeda"
- }
- ],
- [
- "create_vlan_subif_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0xfda5941f"
- }
- ],
- [
- "delete_subif",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0x529cb13f"
- }
- ],
- [
- "delete_subif_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "create_loopback",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u8",
- "mac_address",
- 6
- ],
- {
- "crc": "0x3b54129c"
- }
- ],
- [
- "create_loopback_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0xfda5941f"
- }
- ],
- [
- "create_loopback_instance",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u8",
- "mac_address",
- 6
- ],
- [
- "u8",
- "is_specified"
- ],
- [
- "u32",
- "user_instance"
- ],
- {
- "crc": "0x7bbd53b6"
- }
- ],
- [
- "create_loopback_instance_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0xfda5941f"
- }
- ],
- [
- "delete_loopback",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- {
- "crc": "0x529cb13f"
- }
- ],
- [
- "delete_loopback_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ],
- [
- "collect_detailed_interface_stats",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "client_index"
- ],
- [
- "u32",
- "context"
- ],
- [
- "u32",
- "sw_if_index"
- ],
- [
- "u8",
- "enable_disable"
- ],
- {
- "crc": "0x69d24598"
- }
- ],
- [
- "collect_detailed_interface_stats_reply",
- [
- "u16",
- "_vl_msg_id"
- ],
- [
- "u32",
- "context"
- ],
- [
- "i32",
- "retval"
- ],
- {
- "crc": "0xe8d4e804"
- }
- ]
- ],
- "vl_api_version": "0x672de521",
- "unions": [],
- "services": {
- "create_subif": {
- "reply": "create_subif_reply"
- },
- "sw_interface_set_ip_directed_broadcast": {
- "reply": "sw_interface_set_ip_directed_broadcast_reply"
- },
- "delete_subif": {
- "reply": "delete_subif_reply"
- },
- "sw_interface_get_mac_address": {
- "reply": "sw_interface_get_mac_address_reply"
- },
- "sw_interface_tag_add_del": {
- "reply": "sw_interface_tag_add_del_reply"
- },
- "collect_detailed_interface_stats": {
- "reply": "collect_detailed_interface_stats_reply"
- },
- "sw_interface_dump": {
- "reply": "sw_interface_details",
- "stream": true
- },
- "sw_interface_set_rx_placement": {
- "reply": "sw_interface_set_rx_placement_reply"
- },
- "sw_interface_add_del_address": {
- "reply": "sw_interface_add_del_address_reply"
- },
- "sw_interface_get_table": {
- "reply": "sw_interface_get_table_reply"
- },
- "interface_name_renumber": {
- "reply": "interface_name_renumber_reply"
- },
- "create_loopback_instance": {
- "reply": "create_loopback_instance_reply"
- },
- "sw_interface_set_mtu": {
- "reply": "sw_interface_set_mtu_reply"
- },
- "want_interface_events": {
- "reply": "want_interface_events_reply",
- "events": [
- "sw_interface_event"
- ]
- },
- "create_loopback": {
- "reply": "create_loopback_reply"
- },
- "sw_interface_clear_stats": {
- "reply": "sw_interface_clear_stats_reply"
- },
- "hw_interface_set_mtu": {
- "reply": "hw_interface_set_mtu_reply"
- },
- "sw_interface_set_mac_address": {
- "reply": "sw_interface_set_mac_address_reply"
- },
- "sw_interface_set_unnumbered": {
- "reply": "sw_interface_set_unnumbered_reply"
- },
- "sw_interface_rx_placement_dump": {
- "reply": "sw_interface_rx_placement_details",
- "stream": true
- },
- "sw_interface_set_flags": {
- "reply": "sw_interface_set_flags_reply"
- },
- "delete_loopback": {
- "reply": "delete_loopback_reply"
- },
- "sw_interface_set_rx_mode": {
- "reply": "sw_interface_set_rx_mode_reply"
- },
- "create_vlan_subif": {
- "reply": "create_vlan_subif_reply"
- },
- "sw_interface_set_table": {
- "reply": "sw_interface_set_table_reply"
- }
- },
- "enums": [],
- "types": [],
- "aliases": {
- "interface_index": {
- "type": "u32"
- }
- }
-}