upctl network modify
Modify a network
Examples
upctl network modify 037a530b-533e-4cef-b6ad-6af8094bb2bc --ip-network dhcp=false,family=IPv4
upctl network modify "My Network" --name "My Super Network"
Options
Option | Description |
---|---|
--name |
Set name of the private network. |
--router |
Attach a router to this network, specified by router UUID or router name. |
--detach-router |
Detach a router from this network. |
--ip-network |
The ip network with modified values. Fields family: string gateway: string dhcp: true/false dhcp-default-route: true/false dhcp-dns: array of strings Default: [] |
--help , -h |
help for modify Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format (supported: json, yaml and human) Default: human |
Related commands
Command | Description |
---|---|
upctl network | Manage networks |