Skip to main content

Create a network

cloudcli network create

Create a network

Synopsis

Create a network

cloudcli network create [flags]

Options

      --datacenter string          (required) create the network in this datacenter
--dns1 string (optional) dns1 (e.g. 1.2.3.4)
--dns2 string (optional) dns2 (e.g. 2.3.4.5)
--gateway string (optional) gateway (e.g. 172.16.0.100)
-h, --help help for create
--name string (required) network name
--subnetBit string (required) subnetBit (e.g. 23)
--subnetDescription string (optional) subnet description
--subnetIp string (required) subnetIP (e.g. 172.16.0.0)

Options inherited from parent commands

      --api-clientid string   API Client ID
--api-secret string API Secret
--config string config file (default is $HOME/.cloudcli.yaml)
--debug enable debug output to stderr
--dryrun enable dry run mode, does not perform actions
--format string output format, default format is a human readable summary
--no-config disable loading from config file