aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlpesh S. Patel <apatel9191@hotmail.com>2016-04-12 09:58:56 -0700
committerDamjan Marion <damarion@cisco.com>2016-04-20 16:25:19 +0000
commit633951c3d8dc1640813b4778f3e35463d08f3795 (patch)
tree60737b8b5c4875facb0fd86cb770f61a95cd0c85
parentc02f02d64e16717096d98997a4d158b499f5748a (diff)
delete loopback interface cli
(to be consistent with other delete interface commands) Change-Id: I41f63cc5b11d9fa9489edc54b17a4d857b711b66 Signed-off-by: Alpesh S. Patel <apatel9191@hotmail.com>
-rw-r--r--vnet/vnet/ethernet/interface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vnet/vnet/ethernet/interface.c b/vnet/vnet/ethernet/interface.c
index 8fa2dfa6d73..7a4f0673ecc 100644
--- a/vnet/vnet/ethernet/interface.c
+++ b/vnet/vnet/ethernet/interface.c
@@ -476,3 +476,9 @@ VLIB_CLI_COMMAND (delete_simulated_ethernet_interface_command, static) = {
.short_help = "Delete Loopback ethernet interface intfc <interface>",
.function = delete_simulated_ethernet_interfaces,
};
+
+VLIB_CLI_COMMAND (delete_loopback_interface_command, static) = {
+ .path = "delete loopback interface",
+ .short_help = "delete loopback interface intfc <interface>",
+ .function = delete_simulated_ethernet_interfaces,
+};