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-create-usage.golden
More file actions
26 lines (22 loc) · 1.57 KB
/
test-all-usage-vpc-gw-gateway-network-create-usage.golden
File metadata and controls
26 lines (22 loc) · 1.57 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
26
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including DHCP settings, whether to enable masquerade (dynamic NAT), and more.
USAGE:
scw vpc-gw gateway-network create [arg=value ...]
ARGS:
[gateway-id] Public Gateway to connect
[private-network-id] Private Network to connect
[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 an existing DHCP configuration object to use for this GatewayNetwork
[address] Static IP address in CIDR format to to use without DHCP
[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 create
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