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

Create

nectl network external create

Create a new external network

Synopsis

Creates a new external network configuration. External networks provide connectivity to physical networks outside the virtual environment. Required to specify uplink interface: --device-name or --bond-devices.

nectl network external create [flags]

Examples

  nectl external create --bond-devices eth1,eth2 -m balance-slb --rebalance-interval 5000
  nectl external create --bond-devices eth1,eth2 -m balance-tcp --lacp-active
  nectl external create --device-name eth0 --force
  nectl external create --interface-name bond1 --vlans 100,200,300
  nectl external create --device-name eno2 --qos-egress-uuid <uuid> --qos-ingress-uuid <uuid>

Options

  -b, --bond-devices strings            List of devices to bond (min 1)
      --bond-id string                  Bond ID
      --bond-mac string                 Bond MAC address
  -m, --bond-mode string                Bond mode (balance-slb, balance-tcp, active-backup) (default "active-backup")
      --bond-rebalance-interval int32   Rebalance interval in ms (min 1000, for balance-slb) (default 10000)
  -d, --device-name string              Device name
      --force                           Force creation if interface is already in use
  -h, --help                            help for create
      --id string                       External network ID (optional)
      --lacp-active                     Enable active LACP mode (for balance-tcp)
      --lacp-fallback-ab                Fallback to active-backup if LACP fails (for balance-tcp)
      --lacp-interval string            LACP interval (fast/slow) (for balance-tcp) (default "slow")
      --qos-egress-uuid string          QoS egress policy UUID
      --qos-ingress-uuid string         QoS ingress policy UUID

Options inherited from parent commands

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

SEE ALSO