|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
2 import "plugins/lb/lb_types.api";
3 import "vnet/interface_types.api";
21 u32 sticky_buckets_per_core [
default=0xffffffff];
22 u32 flow_timeout [
default=0xffffffff];
23 option vat_help =
"[ip4-src-address <addr>] [ip6-src-address <addr>] [buckets <n>] [timeout <s>]";
41 autoreply define lb_add_del_vip {
44 vl_api_address_with_prefix_t
pfx;
49 vl_api_lb_srv_type_t
type ;
52 u32 new_flows_table_length [
default=1024];
54 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]";
67 autoreply define lb_add_del_as {
70 vl_api_address_with_prefix_t
pfx;
76 option vat_help =
"<vip-prefix> [protocol (tcp|udp) port <n>] [<address>] [del] [flush]";
86 autoreply define lb_flush_vip {
89 vl_api_address_with_prefix_t
pfx;
101 vl_api_address_with_prefix_t
pfx;
112 define lb_vip_details {
133 vl_api_address_with_prefix_t
pfx;
136 option vat_help =
"<vip-prefix> [protocol (tcp|udp) port <n>]";
143 define lb_as_details {
157 autoreply define lb_add_del_intf_nat4 {
170 autoreply define lb_add_del_intf_nat6 {
vl_api_ip4_address_t ip4_src_address
vl_api_interface_index_t sw_if_index
Add an application server for a given VIP.
Add a virtual address (or prefix)
vl_api_address_with_prefix_t pfx
vl_api_lb_srv_type_t srv_type
vl_api_lb_encap_type_t encap
vl_api_address_with_prefix_t pfx
u32 flow_timeout[default=0xffffffff]
vl_api_lb_srv_type_t type
vl_api_lb_encap_type_t encap
u32 new_flows_table_length[default=1024]
vl_api_ip6_address_t ip6_src_address
Configure Load-Balancer global parameters (unlike the CLI, both ip4_src_address and ip6_src_address n...
u32 sticky_buckets_per_core[default=0xffffffff]
vl_api_address_with_prefix_t pfx
vl_api_ip_proto_t protocol
vl_api_address_with_prefix_t pfx
Enable/disable NAT6 feature on the interface.
dump AS list per VIP or all ASs for all VIPs
Reply all configured vip.
vl_api_address_with_prefix_t pfx
int lb_conf(ip4_address_t *ip4_address, ip6_address_t *ip6_address, u32 per_cpu_sticky_buckets, u32 flow_timeout)
Fix global load-balancer parameters.
vl_api_address_t as_address
vl_api_interface_index_t sw_if_index
Enable/disable NAT4 feature on the interface.
vl_api_prefix_matcher_t pfx_matcher