Skip to content

ezgh compute network-interfaces private-prefixes assign

Delegate a prefix to a private network interface.

Updated View as Markdown
ezgh compute network-interfaces private-prefixes assign <interface> [--prefix p | --family ipv4|ipv6] [--wait] [flags]

Delegate a prefix of a private network interface’s (ID, UUID or name) subnet to it: an IPv4 /28 or an IPv6 /80, --prefix, or one picked of --family (ipv4 by default). It prints the operation; the prefix is the interface’s only once the operation has succeeded, which --wait waits for. A prefix can’t move between interfaces: unassign it and assign it again.

Part of ezgh compute network-interfaces private-prefixes.

Examples

ezgh compute network-interfaces private-prefixes assign node-a --prefix 10.0.1.16/28 --wait

Flags

Flag Type Default Description
--family string ipv4 the picked prefix’s family: ipv4 (/28) or ipv6 (/80)
--prefix string the prefix to delegate, in CIDR form (default: one picked)
--wait boolean wait until the operation has succeeded, and print it then
--wait-timeout duration 10m0s how long --wait waits

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close