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

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

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

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

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

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

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

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

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

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

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

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

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

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