nsim: remove api boilerplate
[vpp.git] / src / plugins / nsim / nsim.api
index 42531cd..722aac1 100644 (file)
@@ -26,6 +26,7 @@ autoreply define nsim_cross_connect_enable_disable
   /* Interface handles */
   u32 sw_if_index0;
   u32 sw_if_index1;
+  option vat_help = "[<intfc0> | sw_if_index <swif0>] [<intfc1> | sw_if_index <swif1>] [disable]";
 };
 
 /** \brief enable / disable the network delay simulation output feature
@@ -47,6 +48,7 @@ autoreply define nsim_output_feature_enable_disable
   
   /* Interface handles */
   u32 sw_if_index;
+  option vat_help = "[<intfc> | sw_if_index <nnn> [disable]";
 };
 
 /** \brief configure the network delay simulation cross-connect
@@ -69,6 +71,7 @@ autoreply define nsim_configure
   u32 average_packet_size;
   u64 bandwidth_in_bits_per_second;
   u32 packets_per_drop;
+  option vat_help = "delay <time> bandwidth <bw> [packet-size <nn>] [packets-per-drop <nnnn>]";
 };