aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrangan <rangan@cisco.com>2016-03-04 22:23:25 +0530
committerGerrit Code Review <gerrit@fd.io>2016-03-04 20:50:24 +0000
commit2375fbd89d3605878f670f2f7bb371becb2011e7 (patch)
tree2b8d27b5b96f79b5fb34356f56c22d6cb6898ff1
parent9455084c7f85d5930182c4ad5e060f648b21ccfa (diff)
Modified ioam CLI syntax to conform with other CLIs
Change-Id: I384d7b2cdbb63b5ca904db5a11c8b8748f7197b9 Signed-off-by: rangan <rangan@cisco.com>
-rw-r--r--vnet/vnet/ip/ip6_hop_by_hop.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/vnet/vnet/ip/ip6_hop_by_hop.c b/vnet/vnet/ip/ip6_hop_by_hop.c
index 5bd34b8c85e..ecbb122081c 100644
--- a/vnet/vnet/ip/ip6_hop_by_hop.c
+++ b/vnet/vnet/ip/ip6_hop_by_hop.c
@@ -967,7 +967,7 @@ int ip6_ioam_set_rewrite (u8 **rwp, u32 trace_option_elts, int has_pow_option)
}
static clib_error_t *
-ip6_ioam_set_rewrite_command_fn (vlib_main_t * vm,
+ip6_set_ioam_rewrite_command_fn (vlib_main_t * vm,
unformat_input_t * input,
vlib_cli_command_t * cmd)
{
@@ -999,10 +999,10 @@ ip6_ioam_set_rewrite_command_fn (vlib_main_t * vm,
return 0;
}
-VLIB_CLI_COMMAND (ip6_ioam_set_rewrite_cmd, static) = {
- .path = "ioam set rewrite",
- .short_help = "ioam set rewrite [trace-elts <nn>] [pow]",
- .function = ip6_ioam_set_rewrite_command_fn,
+VLIB_CLI_COMMAND (ip6_set_ioam_rewrite_cmd, static) = {
+ .path = "set ioam rewrite",
+ .short_help = "set ioam rewrite [trace-elts <nn>] [pow]",
+ .function = ip6_set_ioam_rewrite_command_fn,
};
int ip6_ioam_set_destination (ip6_address_t *addr, u32 mask_width, u32 vrf_id,
@@ -1076,7 +1076,7 @@ int ip6_ioam_set_destination (ip6_address_t *addr, u32 mask_width, u32 vrf_id,
}
static clib_error_t *
-ip6_ioam_set_destination_command_fn (vlib_main_t * vm,
+ip6_set_ioam_destination_command_fn (vlib_main_t * vm,
unformat_input_t * input,
vlib_cli_command_t * cmd)
{
@@ -1124,10 +1124,10 @@ ip6_ioam_set_destination_command_fn (vlib_main_t * vm,
return 0;
}
-VLIB_CLI_COMMAND (ip6_ioam_set_destination_cmd, static) = {
- .path = "ioam set destination",
- .short_help = "ioam set destination <ip6-address>/<width> add | pop | none",
- .function = ip6_ioam_set_destination_command_fn,
+VLIB_CLI_COMMAND (ip6_set_ioam_destination_cmd, static) = {
+ .path = "set ioam destination",
+ .short_help = "set ioam destination <ip6-address>/<width> add | pop | none",
+ .function = ip6_set_ioam_destination_command_fn,
};
void vnet_register_ioam_end_of_path_callback (void *cb)