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 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 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 275

Implementation: show_devices_cmd_fn

show device counters

show device counters [all]

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

Implementation: show_device_counters_cmd_fn