Dev cli reference

device attach

device attach <device-id> [driver <name>] [args <dev-args>]

Declaration: device_attach_cmd src/vnet/dev/cli.c line 48

Implementation: device_attach_cmd_fn

device create-interface

device create-interface <device-id> [port <port-id>] [args <iface-args>]

Declaration: device_create_if_cmd src/vnet/dev/cli.c line 178

Implementation: device_create_if_cmd_fn

device create-secondary-interface

device create-secondary-interface [<interface-name> | sw-if-index <n>] id <n> [args <sec-if-args>]

Declaration: device_create_sec_if_cmd src/vnet/dev/cli.c line 264

Implementation: device_create_sec_if_cmd_fn

device detach

device detach <device-id>

Declaration: device_detach_cmd src/vnet/dev/cli.c line 84

Implementation: device_detach_cmd_fn

device remove-interface

device remove-interface [<interface-name> | sw-if-index <n>]

Declaration: device_remove_if_cmd src/vnet/dev/cli.c line 218

Implementation: device_remove_if_cmd_fn

device remove-secondary-interface

device remove-secondary-interface [<interface-name> | sw-if-index <n>]

Declaration: device_remove_sec_if_cmd src/vnet/dev/cli.c line 305

Implementation: device_remove_sec_if_cmd_fn

device reset

device reset <device-id>

Declaration: device_reset_cmd src/vnet/dev/cli.c line 111

Implementation: device_reset_cmd_fn

show device

show device [counters]

Declaration: show_devices_cmd src/vnet/dev/cli.c line 363

Implementation: show_devices_cmd_fn

show device counters

show device counters [all]

Declaration: show_device_counters_cmd src/vnet/dev/cli.c line 415

Implementation: show_device_counters_cmd_fn