summaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/cli.c
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2018-07-30 15:48:32 -0500
committerDamjan Marion <dmarion@me.com>2018-09-12 10:08:29 +0000
commitdbecf18b8ad2ef1a35b73c6a0f8f5d4c471d195f (patch)
tree53f87fab75564293de121709e2a323d7e445f02e /src/plugins/memif/cli.c
parent2cba8533cc4444c4615903add9a8f20c7c87079c (diff)
Fix create memif socket
create interface memif [id <id>] [socket-id <socket-id>] ... Can optionally take a socket-id. You create a socket-id with: create memif socket [id <id>] [filename <path>] Unfortunately, this doesn't work because "create memif" was deprecated. It results in: vpp# create memif socket id 0 filename /run/vpp/test.socket command deprecated. Please use 'create interface memif' instead. This fixes it by clipping out the create memif command entirely. Change-Id: If503758706bf758b6cb46e958200527a5856c600 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'src/plugins/memif/cli.c')
-rw-r--r--src/plugins/memif/cli.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/plugins/memif/cli.c b/src/plugins/memif/cli.c
index f2c8829aa6a..dd13adb929b 100644
--- a/src/plugins/memif/cli.c
+++ b/src/plugins/memif/cli.c
@@ -267,22 +267,6 @@ VLIB_CLI_COMMAND (memif_create_command, static) = {
/* *INDENT-ON* */
static clib_error_t *
-create_memif_command_fn (vlib_main_t * vm, unformat_input_t * input,
- vlib_cli_command_t * cmd)
-{
- vlib_cli_output (vm, "command deprecated. Please use "
- "'create interface memif' instead.\n");
- return 0;
-}
-
-/* *INDENT-OFF* */
-VLIB_CLI_COMMAND (create_memif_command, static) = {
- .path = "create memif",
- .function = create_memif_command_fn,
-};
-/* *INDENT-ON* */
-
-static clib_error_t *
memif_delete_command_fn (vlib_main_t * vm, unformat_input_t * input,
vlib_cli_command_t * cmd)
{