דלג לתוכן הראשי

Create a network subnet

cloudcli network subnet_create

Create a network subnet

Synopsis

Create a network subnet

cloudcli network subnet_create [flags]

Options

      --datacenter string          (required) create the subnet 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 subnet_create
--subnetBit string (required) subnetBit (e.g. 23)
--subnetDescription string (optional) subnet description
--subnetIp string (required) subnetIP (e.g. 172.16.0.0)
--vlanId string (required) the vlan or network id to create the subnet in

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