Creating a new CLI to create loopback interfaces to make the interface
creation cli consistent Change-Id: I72f074bb8c771511cb5203af6905adccefbb4197 Signed-off-by: Alpesh Patel <apatel9191@hotmail.com>
This commit is contained in:

committed by
Damjan Marion

parent
b3e80947dc
commit
370a24e36e
@ -412,6 +412,12 @@ VLIB_CLI_COMMAND (create_simulated_ethernet_interface_command, static) = {
|
||||
.function = create_simulated_ethernet_interfaces,
|
||||
};
|
||||
|
||||
VLIB_CLI_COMMAND (create_loopback_interface_command, static) = {
|
||||
.path = "create loopback interface",
|
||||
.short_help = "create loopback interface [mac <mac-addr>]",
|
||||
.function = create_simulated_ethernet_interfaces,
|
||||
};
|
||||
|
||||
ethernet_interface_t *
|
||||
ethernet_get_interface (ethernet_main_t * em, u32 hw_if_index)
|
||||
{
|
||||
|
Reference in New Issue
Block a user