FD.io VPP  v18.07.1-19-g511ce25
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 encap
 
u8 dscp
 
u8 type
 
u16 port
 
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).
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).
port- service port(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 38 of file lb.api.

Field Documentation

u32 vl_api_lb_add_del_vip_t::client_index

Definition at line 39 of file lb.api.

u32 vl_api_lb_add_del_vip_t::context

Definition at line 40 of file lb.api.

u8 vl_api_lb_add_del_vip_t::dscp

Definition at line 44 of file lb.api.

u8 vl_api_lb_add_del_vip_t::encap

Definition at line 43 of file lb.api.

u8 vl_api_lb_add_del_vip_t::ip_prefix[16]

Definition at line 41 of file lb.api.

u8 vl_api_lb_add_del_vip_t::is_del

Definition at line 50 of file lb.api.

u32 vl_api_lb_add_del_vip_t::new_flows_table_length

Definition at line 49 of file lb.api.

u16 vl_api_lb_add_del_vip_t::node_port

Definition at line 48 of file lb.api.

u16 vl_api_lb_add_del_vip_t::port

Definition at line 46 of file lb.api.

u8 vl_api_lb_add_del_vip_t::prefix_length

Definition at line 42 of file lb.api.

u16 vl_api_lb_add_del_vip_t::target_port

Definition at line 47 of file lb.api.

u8 vl_api_lb_add_del_vip_t::type

Definition at line 45 of file lb.api.


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