FD.io VPP  v20.09-64-g4f7b92f0a
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 [default=0xffffffff]
 
u32 flow_timeout [default=0xffffffff]
 
option vat_help = "[ip4-src-address <addr>] [ip6-src-address <addr>] [buckets <n>] [timeout <s>]"
 

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 15 of file lb.api.

Field Documentation

◆ client_index

u32 vl_api_lb_conf_t::client_index

Definition at line 17 of file lb.api.

◆ context

u32 vl_api_lb_conf_t::context

Definition at line 18 of file lb.api.

◆ flow_timeout

u32 vl_api_lb_conf_t::flow_timeout[default=0xffffffff]

Definition at line 22 of file lb.api.

◆ ip4_src_address

vl_api_ip4_address_t vl_api_lb_conf_t::ip4_src_address

Definition at line 19 of file lb.api.

◆ ip6_src_address

vl_api_ip6_address_t vl_api_lb_conf_t::ip6_src_address

Definition at line 20 of file lb.api.

◆ sticky_buckets_per_core

u32 vl_api_lb_conf_t::sticky_buckets_per_core[default=0xffffffff]

Definition at line 21 of file lb.api.

◆ vat_help

option vl_api_lb_conf_t::vat_help = "[ip4-src-address <addr>] [ip6-src-address <addr>] [buckets <n>] [timeout <s>]"

Definition at line 23 of file lb.api.


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