summaryrefslogtreecommitdiffstats
path: root/src/plugins/nsim/nsim.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-02 17:09:01 +0200
committerDamjan Marion <dmarion@me.com>2019-10-03 12:36:47 +0000
commit2e7a43ca453c677c00d371ea5dfdba71267ab185 (patch)
treef00a18d7b9a8d85af128d76fc7f7829174524e0e /src/plugins/nsim/nsim.api
parent025166dc79a6931ea24384b2f27c6c11081d06c9 (diff)
nsim: remove api boilerplate
Type: refactor Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Idf2206ae3e3d8dd05e98528ee1f02c4c7d567f37
Diffstat (limited to 'src/plugins/nsim/nsim.api')
-rw-r--r--src/plugins/nsim/nsim.api3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nsim/nsim.api b/src/plugins/nsim/nsim.api
index 42531cd2e0f..722aac17fed 100644
--- a/src/plugins/nsim/nsim.api
+++ b/src/plugins/nsim/nsim.api
@@ -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>]";
};