diff options
Diffstat (limited to 'examples/bin_api/interface.api.json')
-rw-r--r-- | examples/bin_api/interface.api.json | 177 |
1 files changed, 173 insertions, 4 deletions
diff --git a/examples/bin_api/interface.api.json b/examples/bin_api/interface.api.json index 21511fa..7636e18 100644 --- a/examples/bin_api/interface.api.json +++ b/examples/bin_api/interface.api.json @@ -4,6 +4,27 @@ ["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"} ] ], "messages" : [ @@ -13,9 +34,7 @@ ["u32", "context"], ["u32", "sw_if_index"], ["u8", "admin_up_down"], - ["u8", "link_up_down"], - ["u8", "deleted"], - {"crc" : "0xc230f9b1"} + {"crc" : "0xf890584a"} ], ["sw_interface_set_flags_reply", ["u16", "_vl_msg_id"], @@ -37,6 +56,16 @@ ["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"], @@ -158,6 +187,20 @@ ["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"], @@ -214,7 +257,133 @@ ["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" :"0xcdfdf626" + "vl_api_version" :"0x2a74f256" } |