-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
Description
slcli subnet command offers no way to oder a static IP/Subnet
Expected Behavior
$ slcli subnet create private -h
Usage: slcli subnet create [OPTIONS] **[static|portable]** [public|private] QUANTITY VLAN_ID
Add a new subnet to your account. Valid quantities vary by type.
Type - Valid Quantities (IPv4)
**static public** - 1, 2, 4, 8, 16, 32, 128, 256
portable public - 4, 8, 16, 32
portable private - 4, 8, 16, 32, 64
Type - Valid Quantities (IPv6)
**static public** - 64
portable public - 64
Options:
--v6, --ipv6 Order IPv6 Addresses
--test Do not order the subnet; just get a quote
-h, --help Show this message and exit.
It's possible through the API so it should be exposed in slcli: https://sldn.softlayer.com/python/order_static_subnet/
Actual Behavior
Usage: slcli subnet create [OPTIONS] [public|private] QUANTITY VLAN_ID
Add a new subnet to your account. Valid quantities vary by type.
Type - Valid Quantities (IPv4)
public - 4, 8, 16, 32
private - 4, 8, 16, 32, 64
Type - Valid Quantities (IPv6)
public - 64
Options:
--v6, --ipv6 Order IPv6 Addresses
--test Do not order the subnet; just get a quote
-h, --help Show this message and exit.
Environment Information
Operating System: Ubuntu 18.04.2 LTS
softlayer-python version (slcli --version): slcli (SoftLayer Command-line), version 5.7.1