From 8ca20507d15703412c18b07d4f4ce6b4de989de6 Mon Sep 17 00:00:00 2001 From: Milan Lenco Date: Thu, 25 Jan 2018 10:15:48 +0100 Subject: Update examples, tests and testdata after binapi-generator update. Change-Id: I738d501cbbb6673010a32847df3f1c87050b8d36 Signed-off-by: Milan Lenco --- examples/bin_api/interface.api.json | 1761 +++++++++++++++++++++++++++-------- 1 file changed, 1377 insertions(+), 384 deletions(-) (limited to 'examples/bin_api/interface.api.json') diff --git a/examples/bin_api/interface.api.json b/examples/bin_api/interface.api.json index 7636e18..0103007 100644 --- a/examples/bin_api/interface.api.json +++ b/examples/bin_api/interface.api.json @@ -1,389 +1,1382 @@ { - "types" : [ - ["vlib_counter", - ["u64", "packets"], - ["u64", "bytes"], - {"crc" : "0x62db67f0"} - ], - ["vnet_combined_counter", - ["u32", "sw_if_index"], - ["u64", "rx_packets"], - ["u64", "rx_bytes"], - ["u64", "tx_packets"], - ["u64", "tx_bytes"], - {"crc" : "0x0f3c951b"} - ], - ["vnet_simple_counter", - ["u32", "sw_if_index"], - ["u64", "drop"], - ["u64", "punt"], - ["u64", "rx_ip4"], - ["u64", "rx_ip6"], - ["u64", "rx_no_buffer"], - ["u64", "rx_miss"], - ["u64", "rx_error"], - ["u64", "tx_error"], - ["u64", "rx_mpls"], - {"crc" : "0x84763938"} - ] + "services": [ + { + "create_subif": { + "reply": "create_subif_reply" + } + }, + { + "delete_subif": { + "reply": "delete_subif_reply" + } + }, + { + "sw_interface_tag_add_del": { + "reply": "sw_interface_tag_add_del_reply" + } + }, + { + "sw_interface_event": { + "reply": null + } + }, + { + "sw_interface_set_rx_mode": { + "reply": "sw_interface_set_rx_mode_reply" + } + }, + { + "sw_interface_dump": { + "reply": "sw_interface_details", + "stream": true + } + }, + { + "sw_interface_get_table": { + "reply": "sw_interface_get_table_reply" + } + }, + { + "sw_interface_add_del_address": { + "reply": "sw_interface_add_del_address_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" + } + }, + { + "create_loopback": { + "reply": "create_loopback_reply" + } + }, + { + "sw_interface_clear_stats": { + "reply": "sw_interface_clear_stats_reply" + } + }, + { + "create_vlan_subif": { + "reply": "create_vlan_subif_reply" + } + }, + { + "sw_interface_set_mac_address": { + "reply": "sw_interface_set_mac_address_reply" + } + }, + { + "sw_interface_set_table": { + "reply": "sw_interface_set_table_reply" + } + }, + { + "sw_interface_set_flags": { + "reply": "sw_interface_set_flags_reply" + } + }, + { + "delete_loopback": { + "reply": "delete_loopback_reply" + } + }, + { + "want_interface_events": { + "reply": "want_interface_events_reply" + } + }, + { + "sw_interface_set_unnumbered": { + "reply": "sw_interface_set_unnumbered_reply" + } + } ], - "messages" : [ - ["sw_interface_set_flags", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u8", "admin_up_down"], - {"crc" : "0xf890584a"} - ], - ["sw_interface_set_flags_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0xdfbf3afa"} - ], - ["sw_interface_set_mtu", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u16", "mtu"], - {"crc" : "0x535dab1d"} - ], - ["sw_interface_set_mtu_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x0cc22552"} - ], - ["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" : "0xbf7f46f2"} - ], - ["want_interface_events", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "enable_disable"], - ["u32", "pid"], - {"crc" : "0xa0cbf57e"} - ], - ["want_interface_events_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x33788c73"} - ], - ["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"], - ["u8", "link_speed"], - ["u16", "link_mtu"], - ["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" : "0xe2d855bb"} - ], - ["sw_interface_dump", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u8", "name_filter_valid"], - ["u8", "name_filter", 49], - {"crc" : "0x9a2f9d4d"} - ], - ["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" : "0x4e24d2df"} - ], - ["sw_interface_add_del_address_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0xabe29452"} - ], - ["sw_interface_set_table", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u8", "is_ipv6"], - ["u32", "vrf_id"], - {"crc" : "0xa94df510"} - ], - ["sw_interface_set_table_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x99df273c"} - ], - ["sw_interface_get_table", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u8", "is_ipv6"], - {"crc" : "0xf5a1d557"} - ], - ["sw_interface_get_table_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - ["u32", "vrf_id"], - {"crc" : "0xab44111d"} - ], - ["vnet_interface_simple_counters", - ["u16", "_vl_msg_id"], - ["u8", "vnet_counter_type"], - ["u32", "first_sw_if_index"], - ["u32", "count"], - ["u64", "data", 0, "count"], - {"crc" : "0x302f0983"} - ], - ["vnet_interface_combined_counters", - ["u16", "_vl_msg_id"], - ["u8", "vnet_counter_type"], - ["u32", "first_sw_if_index"], - ["u32", "count"], - ["vl_api_vlib_counter_t", "data", 0, "count"], - {"crc" : "0xd82426e3"} - ], - ["vnet_per_interface_simple_counters", - ["u16", "_vl_msg_id"], - ["u32", "count"], - ["u32", "timestamp"], - ["vl_api_vnet_simple_counter_t", "data", 0, "count"], - {"crc" : "0x7df05633"} - ], - ["vnet_per_interface_combined_counters", - ["u16", "_vl_msg_id"], - ["u32", "count"], - ["u32", "timestamp"], - ["vl_api_vnet_combined_counter_t", "data", 0, "count"], - {"crc" : "0xbf35dfbe"} - ], - ["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" : "0xee0047b0"} - ], - ["sw_interface_set_unnumbered_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x5b2275e1"} - ], - ["sw_interface_clear_stats", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - {"crc" : "0x9600fd50"} - ], - ["sw_interface_clear_stats_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x21f50dd9"} - ], - ["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" : "0x50ae8d92"} - ], - ["sw_interface_tag_add_del_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x761cbcb0"} - ], - ["sw_interface_set_mac_address", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u8", "mac_address", 6], - {"crc" : "0xe4f22660"} - ], - ["sw_interface_set_mac_address_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x9dc8a452"} - ], - ["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" : "0xc5aa8dda"} - ], - ["sw_interface_set_rx_mode_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x5fc3e318"} - ], - ["interface_name_renumber", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u32", "new_show_dev_instance"], - {"crc" : "0x11b7bcec"} - ], - ["interface_name_renumber_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x31594963"} - ], - ["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" : "0x150e6757"} - ], - ["create_subif_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - ["u32", "sw_if_index"], - {"crc" : "0x92272bcb"} - ], - ["create_vlan_subif", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - ["u32", "vlan_id"], - {"crc" : "0xaf9ae1e9"} - ], - ["create_vlan_subif_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - ["u32", "sw_if_index"], - {"crc" : "0x8f36b888"} - ], - ["delete_subif", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - {"crc" : "0x6038f848"} - ], - ["delete_subif_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0x9d6015dc"} - ], - ["create_loopback", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u8", "mac_address", 6], - {"crc" : "0xb2602de5"} - ], - ["create_loopback_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - ["u32", "sw_if_index"], - {"crc" : "0x9520f804"} - ], - ["create_loopback_instance", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u8", "mac_address", 6], - ["u8", "is_specified"], - ["u32", "user_instance"], - {"crc" : "0x967694f1"} - ], - ["create_loopback_instance_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - ["u32", "sw_if_index"], - {"crc" : "0xd52c63b6"} - ], - ["delete_loopback", - ["u16", "_vl_msg_id"], - ["u32", "client_index"], - ["u32", "context"], - ["u32", "sw_if_index"], - {"crc" : "0xded428b0"} - ], - ["delete_loopback_reply", - ["u16", "_vl_msg_id"], - ["u32", "context"], - ["i32", "retval"], - {"crc" : "0xc91dafa5"} + "vl_api_version": "0xa9b5d13", + "enums": [], + "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" + } + ], + [ + "sw_interface_set_mtu", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + [ + "u32", + "sw_if_index" + ], + [ + "u16", + "mtu" + ], + { + "crc": "0x132da1e7" + } + ], + [ + "sw_interface_set_mtu_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" + ], + [ + "u8", + "link_speed" + ], + [ + "u16", + "link_mtu" + ], + [ + "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": "0x23dee0ff" + } + ], + [ + "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" + } + ], + [ + "vnet_interface_simple_counters", + [ + "u16", + "_vl_msg_id" + ], + [ + "u8", + "vnet_counter_type" + ], + [ + "u32", + "first_sw_if_index" + ], + [ + "u32", + "count" + ], + [ + "u64", + "data", + 0, + "count" + ], + { + "crc": "0x9bc4a808" + } + ], + [ + "vnet_interface_combined_counters", + [ + "u16", + "_vl_msg_id" + ], + [ + "u8", + "vnet_counter_type" + ], + [ + "u32", + "first_sw_if_index" + ], + [ + "u32", + "count" + ], + [ + "vl_api_vlib_counter_t", + "data", + 0, + "count" + ], + { + "crc": "0x2c595002" + } + ], + [ + "vnet_per_interface_simple_counters", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "count" + ], + [ + "u32", + "timestamp" + ], + [ + "vl_api_vnet_simple_counter_t", + "data", + 0, + "count" + ], + { + "crc": "0xd1fba9ba" + } + ], + [ + "vnet_per_interface_combined_counters", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "count" + ], + [ + "u32", + "timestamp" + ], + [ + "vl_api_vnet_combined_counter_t", + "data", + 0, + "count" + ], + { + "crc": "0xdc578375" + } + ], + [ + "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_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" + } + ], + [ + "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" + } ] ], - "vl_api_version" :"0x2a74f256" + "types": [ + [ + "vlib_counter", + [ + "u64", + "packets" + ], + [ + "u64", + "bytes" + ], + { + "crc": "0xce2325a2" + } + ], + [ + "vnet_combined_counter", + [ + "u32", + "sw_if_index" + ], + [ + "u64", + "rx_packets" + ], + [ + "u64", + "rx_bytes" + ], + [ + "u64", + "tx_packets" + ], + [ + "u64", + "tx_bytes" + ], + { + "crc": "0x3217ba8e" + } + ], + [ + "vnet_simple_counter", + [ + "u32", + "sw_if_index" + ], + [ + "u64", + "drop" + ], + [ + "u64", + "punt" + ], + [ + "u64", + "rx_ip4" + ], + [ + "u64", + "rx_ip6" + ], + [ + "u64", + "rx_no_buffer" + ], + [ + "u64", + "rx_miss" + ], + [ + "u64", + "rx_error" + ], + [ + "u64", + "tx_error" + ], + [ + "u64", + "rx_mpls" + ], + { + "crc": "0x8bd65e2d" + } + ] + ] } -- cgit 1.2.3-korg