Miscellaneous tools developed using SoftLayer Python API.
- sl_getAutoScaleGroup.py - shows the list of SoftLayer auto scale groups.
- sl_getInstances.py - shows the list of SoftLayer VSIs and bare metal servers and their attributes.
- sl_getLocation - shows the list of VSIs and hosts they are running on.
- sl_getNetworkStorage.py - shows the list of SoftLayer network storage including iSCSI, CPS, NAS, Object Storage and EVault.
- sl_getUsers - shows the list of SoftLayer users.
- NetScaler/sl_lbNetScaler.py - integrates SoftLayer auto scale and NetScaler load balancing.
- [SoftLayer Python API 3.3.1] (https://pypi.python.org/pypi/SoftLayer)
- [nsnitro 1.0.3] (https://pypi.python.org/pypi/nsnitro) for NetScaler/sl_lbNetScaler.py
- Simply copy and paste the scripts to a directory you like
- Create the file "sluser.py" in the same directory with the scripts and put SoftLayer username and API key.
SL_USERNAME = "SoftLayer_username"
SL_API_KEY = "SoftLayer_API_Key"
python <script file>
Example
python sl_getAutoScaleGroup.py
Copyright © 2015 takechika
Distributed under the MIT License.
Have fun !