FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
vl_api_lb_conf_t Struct Reference

Configure Load-Balancer global parameters (unlike the CLI, both ip4_src_address and ip6_src_address need to be specified. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_ip4_address_t ip4_src_address
 
vl_api_ip6_address_t ip6_src_address
 
u32 sticky_buckets_per_core
 
u32 flow_timeout
 

Detailed Description

Configure Load-Balancer global parameters (unlike the CLI, both ip4_src_address and ip6_src_address need to be specified.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
ip4_src_address- IPv4 address to be used as source for IPv4 traffic(applicable in GRE4/GRE6/NAT4/NAT6 mode only).
ip6_src_address- IPv6 address to be used as source for IPv6 traffic(applicable in GRE4/GRE6/NAT4/NAT6 mode only).
sticky_buckets_per_core- Number of buckets per worker thread in the established flow table (must be power of 2).
flow_timeout- Time in seconds after which, if no packet is received for a given flow, the flow is removed from the established flow table.

Definition at line 14 of file lb.api.

Field Documentation

◆ client_index

u32 vl_api_lb_conf_t::client_index

Definition at line 16 of file lb.api.

◆ context

u32 vl_api_lb_conf_t::context

Definition at line 17 of file lb.api.

◆ flow_timeout

u32 vl_api_lb_conf_t::flow_timeout

Definition at line 21 of file lb.api.

◆ ip4_src_address

vl_api_ip4_address_t vl_api_lb_conf_t::ip4_src_address

Definition at line 18 of file lb.api.

◆ ip6_src_address

vl_api_ip6_address_t vl_api_lb_conf_t::ip6_src_address

Definition at line 19 of file lb.api.

◆ sticky_buckets_per_core

u32 vl_api_lb_conf_t::sticky_buckets_per_core

Definition at line 20 of file lb.api.


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