FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
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]" |
Add a virtual address (or prefix)
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. |
u32 vl_api_lb_add_del_vip_t::new_flows_table_length[default=1024] |