Subnets¶
subnet cancel¶
Cancel a subnet.
subnet cancel [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument
subnet create¶
Add a new subnet to your account. Valid quantities vary by type.
subnet create [OPTIONS] {static|public|private} QUANTITY ENDPOINT_ID
Options
- --ipv6, --v6¶
Order IPv6 Addresses
- --test¶
Do not order the subnet; just get a quote
Arguments
- NETWORK¶
Required argument
- QUANTITY¶
Required argument
- ENDPOINT_ID¶
Required argument
subnet detail¶
Get subnet details.
subnet detail [OPTIONS] IDENTIFIER
Options
- --no-vs¶
Hide virtual server listing
- --no-hardware¶
Hide hardware listing
Arguments
- IDENTIFIER¶
Required argument
subnet edit¶
Edit note and tags of a subnet.
subnet edit [OPTIONS] IDENTIFIER
Options
- -t, --tags <tags>¶
Comma separated list of tags, enclosed in quotes. “tag1, tag2”
- -n, --note <note>¶
The note
Arguments
- IDENTIFIER¶
Required argument
subnet list¶
List subnets.
subnet list [OPTIONS]
Options
- --sortby <sortby>¶
Column to sort by
- Options
id | identifier | type | network_space | datacenter | vlan_id | IPs | hardware | vs
- -d, --datacenter <datacenter>¶
Filter by datacenter shortname (sng01, dal05, …)
- --identifier <identifier>¶
Filter by network identifier
- -t, --subnet-type <subnet_type>¶
Filter by subnet type
- --network-space <network_space>¶
Filter by network space
- --ipv4, --v4¶
Display only IPv4 subnets
- --ipv6, --v6¶
Display only IPv6 subnets
subnet lookup¶
Find an IP address and display its subnet and device info.
subnet lookup [OPTIONS] IP_ADDRESS
Arguments
- IP_ADDRESS¶
Required argument
subnet edit-ip¶
Set the note of the ipAddress
subnet edit-ip [OPTIONS] IDENTIFIER
Options
- --note <note>¶
set ip address note of subnet
Arguments
- IDENTIFIER¶
Required argument
subnet route¶
Assigns the subnet to a target.
subnet route [OPTIONS] IDENTIFIER
Options
- --target <target>¶
choose the type. vlan, ip, hardware, vsi
- Options
vlan | ip | hardware | vsi
- --target-id <target_id>¶
The identifier for the destination resource to route this subnet to.
Arguments
- IDENTIFIER¶
Required argument
More information about types and identifiers on https://sldn.softlayer.com/reference/services/SoftLayer_Network_Subnet/route/
subnet clear-route¶
Remove the route of your Account Owned subnets.
subnet clear-route [OPTIONS] IDENTIFIER
Arguments
- IDENTIFIER¶
Required argument