This is the multi-page printable view of this section. Click here to print.
Compute Networks
- 1: pcloud compute networks
- 2: pcloud compute networks create
- 3: pcloud compute networks delete
- 4: pcloud compute networks describe
- 5: pcloud compute networks list
- 6: pcloud compute networks ports
- 7: pcloud compute networks ports attach
- 8: pcloud compute networks ports create
- 9: pcloud compute networks ports delete
- 10: pcloud compute networks ports describe
- 11: pcloud compute networks ports detach
- 12: pcloud compute networks ports list
- 13: pcloud compute networks ports update
- 14: pcloud compute networks update
1 - pcloud compute networks
Network management commands
Synopsis
Network management commands. Possibility to create, describe, list, update, delete Network(s).
pcloud compute networks [flags]
Options
-h, --help help for networks
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute - pcloud compute
- pcloud compute networks create - Create a Network
- pcloud compute networks delete - Delete Networks
- pcloud compute networks describe - Describe Network
- pcloud compute networks list - List Networks
- pcloud compute networks ports - Network port commands
- pcloud compute networks update - Update a Network
2 - pcloud compute networks create
Create a Network
Synopsis
Create a Network for a Cloud.
pcloud compute networks create <NetworkName> --cidr <CIDR> --range <startIP-endIP[,startIP-endIP]> [flags]
Options
-c, --cidr string Network in CIDR notation (192.168.0.0/24) (required)
-d, --dns strings DNS Server (several --dns allowed)
-g, --gateway string Gateway
-h, --help help for create
-r, --range string IP address ranges, format: startIP-endIP[,startIP-endIP] (required)
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands
3 - pcloud compute networks delete
Delete Networks
Synopsis
Delete Networks from a Cloud. Several Networks can be deleted at the same time. Note that NetworkID can be used as parameter instead of NetworkName.
pcloud compute networks delete <NetworkName> [<NetworkName> ...] [flags]
Options
-h, --help help for delete
-q, --quiet Quiet deletion (no confirmation is required)
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands
4 - pcloud compute networks describe
Describe Network
Synopsis
Describe Network with details. Output format depends on –format option. Note that NetworkID can be used as parameter instead of NetworkName.
pcloud compute networks describe <NetworkName> [flags]
Options
-h, --help help for describe
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands
5 - pcloud compute networks list
List Networks
Synopsis
List Networks of Cloud Instance. Networks details are displayed with –long option. Networks can be filtered out with –filter option. Output format depends on –format option.
pcloud compute networks list [flags]
Options
-f, --filter string Set search filter.
Filters can be any boolean expression built on Network attributes from this list:
"Cidr CloudConnections DhcpManaged DNSServers Gateway IPAddressMetrics IPAddressRanges Jumbo Name NetworkID PublicIPAddressRanges Type VlanID"
-h, --help help for list
-l, --long Print detailed info of each Network
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands
6 - pcloud compute networks ports
Network port commands
Synopsis
Network port commands. Actions include creating, describing, listing, updating, and deleting ports.
pcloud compute networks ports [flags]
Options
-h, --help help for ports
-q, --quiet Delete without confirmation
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands
- pcloud compute networks ports attach - Attach network port
- pcloud compute networks ports create - Create network port
- pcloud compute networks ports delete - Delete network port
- pcloud compute networks ports describe - Describe network ports
- pcloud compute networks ports detach - Detach network port
- pcloud compute networks ports list - List network ports
- pcloud compute networks ports update - Update network port
7 - pcloud compute networks ports attach
Attach network port
Synopsis
Attach network port.
pcloud compute networks ports attach <net-name> <port-id> --instance <instance-id> [flags]
Options
-h, --help help for attach
-i, --instance string Instance ID
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
8 - pcloud compute networks ports create
Create network port
Synopsis
Create network port.
pcloud compute networks ports create <net-id> [-d <description>] [-i <ip address>] [flags]
Options
-d, --description string Port Description
-h, --help help for create
-i, --ipAddress string IP Address
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
9 - pcloud compute networks ports delete
Delete network port
Synopsis
Delete network port
pcloud compute networks ports delete [flags]
Options
-h, --help help for delete
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
10 - pcloud compute networks ports describe
Describe network ports
Synopsis
Describe network ports.
pcloud compute networks ports describe <net-id> <port-id> [flags]
Options
-h, --help help for describe
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
11 - pcloud compute networks ports detach
Detach network port
Synopsis
Detach network port.
pcloud compute networks ports detach <net-id> <port-id> [flags]
Options
-h, --help help for detach
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
12 - pcloud compute networks ports list
List network ports
Synopsis
List network ports.
pcloud compute networks ports list <net-id> [flags]
Options
-h, --help help for list
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
13 - pcloud compute networks ports update
Update network port
Synopsis
Update network port.
pcloud compute networks ports update <net-id> <port-id> -d <description> [flags]
Options
-d, --description string Port Description
-h, --help help for update
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks ports - Network port commands
14 - pcloud compute networks update
Update a Network
Synopsis
Update a Network for a Cloud. Note that NetworkID can be used as parameter instead of NetworkName.
pcloud compute networks update <NetworkName> [flags]
Options
-d, --dns strings DNS Server (several --dns allowed)
-g, --gateway string Gateway
-h, --help help for update
-n, --name string New name of network
-r, --range string IP address ranges, format: startIP-endIP[,startIP-endIP]
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute networks - Network management commands