FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_lb_add_del_vip_t Struct Reference

Add a virtual address (or prefix) More...

Data Fields

u32 client_index
 
u32 context
 
u8 ip_prefix [16]
 
u8 prefix_length
 
u8 protocol
 
u16 port
 
u8 encap
 
u8 dscp
 
u8 type
 
u16 target_port
 
u16 node_port
 
u32 new_flows_table_length
 
u8 is_del
 

Detailed Description

Add a virtual address (or prefix)

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
ip_prefix- IP address (IPv4 in lower order 32 bits).
prefix_length- IP prefix length (96 + 'IPv4 prefix length' for IPv4).
protocol- tcp or udp.
port- destination port. (0) means 'all-port VIP'
encap- Encap is ip4 GRE(0) or ip6 GRE(1) or L3DSR(2) or NAT4(3) or NAT6(4).
dscp- DSCP bit corresponding to VIP(applicable in L3DSR mode only).
type- service type(applicable in NAT4/NAT6 mode only).
target_port- Pod's port corresponding to specific service(applicable in NAT4/NAT6 mode only).
node_port- Node's port(applicable in NAT4/NAT6 mode only).
new_flows_table_length- Size of the new connections flow table used for this VIP (must be power of 2).
is_del- The VIP should be removed.

Definition at line 40 of file lb.api.

Field Documentation

◆ client_index

u32 vl_api_lb_add_del_vip_t::client_index

Definition at line 41 of file lb.api.

◆ context

u32 vl_api_lb_add_del_vip_t::context

Definition at line 42 of file lb.api.

◆ dscp

u8 vl_api_lb_add_del_vip_t::dscp

Definition at line 48 of file lb.api.

◆ encap

u8 vl_api_lb_add_del_vip_t::encap

Definition at line 47 of file lb.api.

◆ ip_prefix

u8 vl_api_lb_add_del_vip_t::ip_prefix[16]

Definition at line 43 of file lb.api.

◆ is_del

u8 vl_api_lb_add_del_vip_t::is_del

Definition at line 53 of file lb.api.

◆ new_flows_table_length

u32 vl_api_lb_add_del_vip_t::new_flows_table_length

Definition at line 52 of file lb.api.

◆ node_port

u16 vl_api_lb_add_del_vip_t::node_port

Definition at line 51 of file lb.api.

◆ port

u16 vl_api_lb_add_del_vip_t::port

Definition at line 46 of file lb.api.

◆ prefix_length

u8 vl_api_lb_add_del_vip_t::prefix_length

Definition at line 44 of file lb.api.

◆ protocol

u8 vl_api_lb_add_del_vip_t::protocol

Definition at line 45 of file lb.api.

◆ target_port

u16 vl_api_lb_add_del_vip_t::target_port

Definition at line 50 of file lb.api.

◆ type

u8 vl_api_lb_add_del_vip_t::type

Definition at line 49 of file lb.api.


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