api: vat2 and json autogeneration for api messages
[vpp.git] / src / plugins / lb / lb.api
index e30bab6..4bf30e7 100644 (file)
@@ -12,14 +12,14 @@ import "vnet/interface_types.api";
     @param 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.
 */
-autoreply manual_print define lb_conf
+autoreply  define lb_conf
 {
   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;
+  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>]";
 };
 
@@ -38,7 +38,7 @@ autoreply manual_print define lb_conf
            for this VIP (must be power of 2).
     @param is_del - The VIP should be removed.
 */
-autoreply manual_print define lb_add_del_vip {
+autoreply  define lb_add_del_vip {
   u32 client_index;
   u32 context;
   vl_api_address_with_prefix_t pfx;
@@ -64,7 +64,7 @@ autoreply manual_print define lb_add_del_vip {
     @param is_del - The AS should be removed.
     @param is_flush - The sessions related to this AS should be flushed.
 */
-autoreply manual_print define lb_add_del_as {
+autoreply  define lb_add_del_as {
   u32 client_index;
   u32 context;
   vl_api_address_with_prefix_t pfx;
@@ -83,7 +83,7 @@ autoreply manual_print define lb_add_del_as {
     @param protocol - tcp or udp.
     @param port - destination port.
 */
-autoreply manual_print define lb_flush_vip {
+autoreply  define lb_flush_vip {
   u32 client_index;
   u32 context;
   vl_api_address_with_prefix_t pfx;