2 import "plugins/lb/lb_types.api";
39 autoreply manual_print define lb_add_del_vip {
42 vl_api_address_with_prefix_t
pfx;
47 vl_api_lb_srv_type_t
type ;
50 u32 new_flows_table_length [
default=1024];
64 autoreply manual_print define lb_add_del_as {
67 vl_api_address_with_prefix_t
pfx;
82 autoreply manual_print define lb_flush_vip {
85 vl_api_address_with_prefix_t
pfx;
97 vl_api_address_with_prefix_t
pfx;
108 define lb_vip_details {
129 vl_api_address_with_prefix_t
pfx;
138 define lb_as_details {
vl_api_address_t as_address
vl_api_lb_srv_type_t srv_type
u8 vl_api_ip6_address_t[16]
Conversion functions to/from (decode/encode) API types to VPP internal types.
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_with_prefix_t pfx
vl_api_address_with_prefix_t pfx
vl_api_lb_encap_type_t encap
vl_api_ip6_address_t ip6_src_address
vl_api_ip_proto_t protocol
vl_api_lb_srv_type_t type
Define connection statistics structure.
u8 vl_api_ip4_address_t[4]
vl_api_address_with_prefix_t pfx
u32 sticky_buckets_per_core
vl_api_address_with_prefix_t pfx
vl_api_address_with_prefix_t pfx
vl_api_ip4_address_t ip4_src_address
vl_api_lb_encap_type_t encap
vl_api_prefix_matcher_t pfx_matcher