forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-all-usage-vpc-gw-gateway-network-update-usage.golden
More file actions
25 lines (21 loc) · 1.52 KB
/
test-all-usage-vpc-gw-gateway-network-update-usage.golden
File metadata and controls
25 lines (21 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include DHCP settings and whether to enable traffic masquerade (dynamic NAT).
USAGE:
scw vpc-gw gateway-network update <gateway-network-id ...> [arg=value ...]
ARGS:
gateway-network-id ID of the GatewayNetwork to update
[enable-masquerade] Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
[enable-dhcp] Defines whether to enable DHCP on this Private Network.
[dhcp-id] ID of the new DHCP configuration object to use with this GatewayNetwork
[address] New static IP address
[ipam-config.push-default-route] Enabling the default route also enables masquerading
[ipam-config.ipam-ip-id] Use this IPAM-booked IP ID as the Gateway's IP in this Private Network
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
FLAGS:
-h, --help help for update
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use