|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
19 import "vnet/ip/ip_types.api";
20 import "vnet/ethernet/ethernet_types.api";
21 import "vnet/interface_types.api";
28 define l2_xconnect_details
39 define l2_xconnect_dump
53 define l2_fib_table_details
57 vl_api_mac_address_t
mac;
68 define l2_fib_table_dump
79 autoreply define l2_fib_clear_table
89 autoreply define l2fib_flush_all
100 autoreply define l2fib_flush_bd
112 autoreply define l2fib_flush_int
130 autoreply define l2fib_add_del
137 bool is_add [
default=
true];
152 autoreply define want_l2_macs_events
157 u32 learn_limit [
default=1000];
158 u8 scan_delay [
default=10];
159 u8 max_macs_in_event [
default=10];
160 bool enable_disable [
default=
true];
171 autoreply define want_l2_macs_events2
175 u8 max_macs_in_event [
default=10];
176 bool enable_disable [
default=
true];
189 u16 scan_delay [
default=10];
226 vl_api_mac_entry_t
mac[n_macs];
230 rpc want_l2_macs_events returns want_l2_macs_events_reply
259 define l2_flags_reply
272 autoreply define bridge_domain_set_mac_age
285 autoreply define bridge_domain_set_default_learn_limit
299 autoreply define bridge_domain_set_learn_limit
320 autoreply define bridge_domain_add_del
333 bool is_add [
default=
true];
342 define bridge_domain_dump
375 define bridge_domain_details
390 vl_api_bridge_domain_sw_if_t sw_if_details[n_sw_ifs];
426 define bridge_flags_reply
442 autoreply define l2_interface_vlan_tag_rewrite
465 autoreply define l2_interface_pbb_tag_rewrite
485 autoreply define l2_patch_add_del
491 bool is_add [
default=
true];
501 autoreply define sw_interface_set_l2_xconnect
507 bool enable [
default=
true];
535 autoreply define sw_interface_set_l2_bridge
543 bool enable [
default=
true];
562 autoreply define bd_ip_mac_add_del
566 bool is_add [
default=
true];
574 autoreply define bd_ip_mac_flush
587 define bd_ip_mac_details
597 define bd_ip_mac_dump
610 autoreply define l2_interface_efp_filter
615 bool enable_disable [
default=
true];
624 autoreply define sw_interface_set_vpath
629 bool enable [
default=0xffffffff];
643 u32 user_instance [
default=0xffffffff];
651 define bvi_create_reply
663 autoreply define bvi_delete
677 autoreply define want_l2_arp_term_events
693 define l2_arp_term_event
703 rpc want_l2_arp_term_events returns want_l2_arp_term_events_reply
vl_api_interface_index_t tx_sw_if_index
L2 MAC event for a list of learned or aged MACs.
bool is_add[default=true]
L2 interface vlan tag rewrite configure request.
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t bvi_sw_if_index
L2 fib clear table request, clear all mac entries in the l2 fib.
u32 user_instance[default=0xffffffff]
L2 bridge domain operational state response.
Set bridge flags response.
@ BRIDGE_API_FLAG_UU_FLOOD
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t rx_sw_if_index
vl_api_bridge_domain_sw_if_t sw_if_details[n_sw_ifs]
bool enable_disable[default=true]
l2 fib table details structure
Tell client about an IP4 ARP resolution event or MAC/IP info from ARP requests in L2 BDs.
vl_api_interface_index_t sw_if_index[default=0xffffffff]
bool enable_disable[default=true]
typedef bd_ip_mac
Set bridge domain ip to mac entry request.
vl_api_interface_index_t sw_if_index
Flush bridge domain IP to MAC entries.
Register to receive L2 MAC events for learned and aged MAC.
bool is_add[default=true]
bool enable[default=0xffffffff]
vl_api_mac_address_t b_smac
Interface set vpath request.
u8 max_macs_in_event[default=10]
L2 bridge domain add or delete request.
bool enable[default=true]
vl_api_interface_index_t sw_if_index
l2_port_type
An enumeration of the type of ports that can be added to a bridge domain.
bridge domain IP to MAC entry details structure
vl_api_mac_address_t b_dmac
Delete BVI interface request.
u32 bd_id[default=0xffffffff]
L2 FIB flush interface entries.
u32 resulting_feature_bitmap
u8 max_macs_in_event[default=10]
vl_api_interface_index_t uu_fwd_sw_if_index
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t rx_sw_if_index
L2 bridge domain set mac age.
Create BVI interface instance request.
@ L2_API_PORT_TYPE_NORMAL
typedef bridge_domain_sw_if
L2 bridge domain sw interface operational state response.
static clib_error_t * l2fib_set_scan_delay(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
static perfmon_event_t events[]
bool enable[default=true]
vl_api_interface_index_t tx_sw_if_index
Dump l2 fib (aka bridge domain) table.
vl_api_interface_index_t sw_if_index
L2 FIB flush bridge domain entries.
Set interface L2 flags (such as L2_LEARN, L2_FWD, L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits).
L2 interface ethernet flow point filtering enable/disable request.
vl_api_interface_index_t sw_if_index
Set interface L2 flags response.
vl_api_mac_address_t mac_addr
bool enable_disable[default=true]
L2 FIB add entry request.
u16 scan_delay[default=10]
@ BRIDGE_API_FLAG_ARP_UFWD
u8 scan_delay[default=10]
typedef mac_entry
Entry for learned or aged MAC in L2 MAC Events.
bool is_add[default=true]
@ MAC_EVENT_ACTION_API_DELETE
Register for IP4 ARP resolution event on receiving ARP reply or MAC/IP info from ARP requests in L2 B...
bool is_add[default=true]
Interface bridge mode request.
vl_api_interface_index_t rx_sw_if_index
vl_api_interface_index_t rx_sw_if_index
@ BRIDGE_API_FLAG_ARP_TERM
L2 interface pbb tag rewrite configure request.
L2 FIB flush all entries.
vl_api_interface_index_t sw_if_index
vl_api_mac_entry_t mac[n_macs]
@ L2_API_PORT_TYPE_UU_FWD
Set L2 XConnect between two interfaces request.
vl_api_interface_index_t sw_if_index
L2 bridge domain set learn limit.
u32 resulting_feature_bitmap
Reply to l2_xconnect_dump.
L2 interface patch add / del request.
bd_flags
Flags that can be changed on a bridge domain.
Set bridge flags request.
@ MAC_EVENT_ACTION_API_ADD
Dump bridge domain IP to MAC entries.
vl_api_l2_port_type_t port_type
@ MAC_EVENT_ACTION_API_MOVE
vl_api_interface_index_t tx_sw_if_index
vl_api_mac_event_action_t action
u32 learn_limit[default=1000]
vl_api_interface_index_t sw_if_index
Register to receive L2 MAC events for learned and aged MAC.
vl_api_interface_index_t sw_if_index
L2 bridge domain set default learn limit.
vl_api_interface_index_t sw_if_index
Create BVI interface instance response.
L2 bridge domain request operational state details.