FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vl_api_vxlan_add_del_tunnel_v2_t Struct Reference

Create or delete a VXLAN tunnel. More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add [default=true]
 
u32 instance [default=0xffffffff]
 
vl_api_address_t src_address
 
vl_api_address_t dst_address
 
u16 src_port
 
u16 dst_port
 
vl_api_interface_index_t mcast_sw_if_index
 
u32 encap_vrf_id
 
u32 decap_next_index
 
u32 vni
 

Detailed Description

Create or delete a VXLAN tunnel.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- Use 1 to create the tunnel, 0 to remove it
instance- optional unique custom device instance, else ~0.
src_address- Source IP address
dst_address- Destination IP address, can be multicast
src_port- Source UDP port. It is not included in sent packets. Used only for port registration
dst_port- Destination UDP port
mcast_sw_if_index- Interface for multicast destination
encap_vrf_id- Encap route table FIB index
decap_next_index- index of decap next graph node
vni- The VXLAN Network Identifier, uint24

Definition at line 61 of file vxlan.api.

Field Documentation

◆ client_index

u32 vl_api_vxlan_add_del_tunnel_v2_t::client_index

Definition at line 63 of file vxlan.api.

◆ context

u32 vl_api_vxlan_add_del_tunnel_v2_t::context

Definition at line 64 of file vxlan.api.

◆ decap_next_index

u32 vl_api_vxlan_add_del_tunnel_v2_t::decap_next_index

Definition at line 73 of file vxlan.api.

◆ dst_address

vl_api_address_t vl_api_vxlan_add_del_tunnel_v2_t::dst_address

Definition at line 68 of file vxlan.api.

◆ dst_port

u16 vl_api_vxlan_add_del_tunnel_v2_t::dst_port

Definition at line 70 of file vxlan.api.

◆ encap_vrf_id

u32 vl_api_vxlan_add_del_tunnel_v2_t::encap_vrf_id

Definition at line 72 of file vxlan.api.

◆ instance

u32 vl_api_vxlan_add_del_tunnel_v2_t::instance[default=0xffffffff]

Definition at line 66 of file vxlan.api.

◆ is_add

bool vl_api_vxlan_add_del_tunnel_v2_t::is_add[default=true]

Definition at line 65 of file vxlan.api.

◆ mcast_sw_if_index

vl_api_interface_index_t vl_api_vxlan_add_del_tunnel_v2_t::mcast_sw_if_index

Definition at line 71 of file vxlan.api.

◆ src_address

vl_api_address_t vl_api_vxlan_add_del_tunnel_v2_t::src_address

Definition at line 67 of file vxlan.api.

◆ src_port

u16 vl_api_vxlan_add_del_tunnel_v2_t::src_port

Definition at line 69 of file vxlan.api.

◆ vni

u32 vl_api_vxlan_add_del_tunnel_v2_t::vni

Definition at line 74 of file vxlan.api.


The documentation for this struct was generated from the following file: