FD.io VPP  v21.01.1
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
 
vl_api_address_with_prefix_t pfx
 
u8 protocol [default=255]
 
u16 port
 
vl_api_lb_encap_type_t encap
 
u8 dscp
 
vl_api_lb_srv_type_t type
 
u16 target_port
 
u16 node_port
 
u32 new_flows_table_length [default=1024]
 
bool is_del
 
option vat_help = "<prefix> [protocol (tcp|udp) port <n>] [encap (gre6|gre4|l3dsr|nat4|nat6)] [dscp <n>] [type (nodeport|clusterip) target_port <n>] [new_len <n>] [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
pfx- ip prefix and length
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 41 of file lb.api.

Field Documentation

◆ client_index

u32 vl_api_lb_add_del_vip_t::client_index

Definition at line 42 of file lb.api.

◆ context

u32 vl_api_lb_add_del_vip_t::context

Definition at line 43 of file lb.api.

◆ dscp

u8 vl_api_lb_add_del_vip_t::dscp

Definition at line 48 of file lb.api.

◆ encap

vl_api_lb_encap_type_t vl_api_lb_add_del_vip_t::encap

Definition at line 47 of file lb.api.

◆ is_del

bool 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[default=1024]

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.

◆ pfx

vl_api_address_with_prefix_t vl_api_lb_add_del_vip_t::pfx

Definition at line 44 of file lb.api.

◆ port

u16 vl_api_lb_add_del_vip_t::port

Definition at line 46 of file lb.api.

◆ protocol

u8 vl_api_lb_add_del_vip_t::protocol[default=255]

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

vl_api_lb_srv_type_t vl_api_lb_add_del_vip_t::type

Definition at line 49 of file lb.api.

◆ vat_help

option vl_api_lb_add_del_vip_t::vat_help = "<prefix> [protocol (tcp|udp) port <n>] [encap (gre6|gre4|l3dsr|nat4|nat6)] [dscp <n>] [type (nodeport|clusterip) target_port <n>] [new_len <n>] [del]"

Definition at line 54 of file lb.api.


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