Перейти к содержанию

Create

nectl interface libvirt create

Create a new Libvirt interface

Synopsis

Creates a new Libvirt-based virtual network interface. The created TAP interface is automatically attached to the corresponding OvS bridge.

nectl interface libvirt create [flags]

Examples

  nectl interface libvirt create -n <network-id>
  nectl interface libvirt create -n <network-id> --multi-queue
  nectl interface libvirt create -n <network-id> -t -v 100,200
  nectl interface libvirt create -n <network-id> -i <qos-ingress-uuid> -o <qos-egress-uuid>

Options

      --egress-policy string    Egress QoS policy UUID
  -h, --help                    help for create
      --id string               Interface ID
      --ingress-policy string   Ingress QoS policy UUID
      --mac string              MAC address
      --multi-queue             Enable multi queue mode (default true)
  -n, --network-id string       Network UUID (required)
  -t, --trunk                   Enable trunk mode
  -v, --vlan-id uints           VLAN ID list (default [])

Options inherited from parent commands

      --host string   gRPC server host (default "127.0.0.1")
      --port uint16   gRPC server port (default 30666)

SEE ALSO