"SoftLayer_" prefix removed for readability.
Computes the number of available public secondary IP addresses, augmented by the provided number of hosts, before overflow of the allowed host to IP address ratio occurs. The result is aligned to the nearest subnet size that could be accommodated in full.
0 is returned if an overflow is detected.
The use of $locationId has been deprecated.
Name | Type | Description |
---|---|---|
numberOfHosts | int | Number of hosts to adjust the current server count by |
locationId | int | Deprecated |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getLargestAllowedSubnetCidr'