aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lb/lb.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-30 11:04:39 +0200
committerNeale Ranns <nranns@cisco.com>2019-09-30 15:32:24 +0000
commitae07240340b6fb44b1a8faa38e60da43bfd1307c (patch)
treef2eb56fdf5698ee40613db11a1c32acd6e1716f7 /src/plugins/lb/lb.api
parent10bbfce0264249354f14243fbc166ee0beb41366 (diff)
lb: remove api boilerplate
Type: refactor Change-Id: I5555037386d6f6593ac3328385603a382be1fc2a Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/lb/lb.api')
-rw-r--r--src/plugins/lb/lb.api4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lb/lb.api b/src/plugins/lb/lb.api
index b479b1b3034..e30bab6fbf2 100644
--- a/src/plugins/lb/lb.api
+++ b/src/plugins/lb/lb.api
@@ -20,6 +20,7 @@ autoreply manual_print define lb_conf
vl_api_ip6_address_t ip6_src_address;
u32 sticky_buckets_per_core;
u32 flow_timeout;
+ option vat_help = "[ip4-src-address <addr>] [ip6-src-address <addr>] [buckets <n>] [timeout <s>]";
};
/** \brief Add a virtual address (or prefix)
@@ -50,6 +51,7 @@ autoreply manual_print define lb_add_del_vip {
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]";
};
/** \brief Add an application server for a given VIP
@@ -71,6 +73,7 @@ autoreply manual_print define lb_add_del_as {
vl_api_address_t as_address;
bool is_del;
bool is_flush;
+ option vat_help = "<vip-prefix> [protocol (tcp|udp) port <n>] [<address>] [del] [flush]";
};
/** \brief Flush a given vip
@@ -130,6 +133,7 @@ define lb_as_dump{
vl_api_address_with_prefix_t pfx;
u8 protocol;
u16 port;
+ option vat_help = "<vip-prefix> [protocol (tcp|udp) port <n>]";
};
/** \brief lb_as_details