0
votes

Is there any way to find the hosts in a given IPv6 subnet using the SoftLayer API? Calling the .getHardware() method on an IPv6 subnet object always returns an empty list; there also seem to be no attributes or methods on individual Hardware objects to get the associated IPv6 address.

Note: I've tried asking this upstream and was specifically asked to post on Stack Overflow

1

1 Answers

0
votes

Try the following REST request:

https://$user:[email protected]/rest/v3/SoftLayer_Network_Subnet/652260/getIpAddresses

Method: Get

Replace: $user, $apiKey with your own information. Replace 652261 with the IPv6 subnet identifier.

References: