The extensive functionality exposed by the SoftLayer API allows users to perform remote server management, monitoring and retrieve information from SoftLayer’s various systems such as accounting, inventory and DNS. Indeed, the SoftLayer API powers many of the features in the SoftLayer Customer Portal, which typically means if an interaction is possible in the Customer Portal, it may be executed in the SoftLayer API, as well. Organisations interested in building their own branded portal can do so leveraing the SolftLayer API. Existing reference implementations exist exposing basic SoftLayer API functionality via a white label portal and in this post I take a look at the Slick project on GitHub.
Slick is described as a reference implementation for using the SoftLayer Python Bindings. It implements a small web portal using a variety of open source projects as a sample application built using the SoftLayer API.
Using the Slick web portal a user can;
- authenticate against SoftLayer via the Slick UI
- view a dashboard outlining network, system and ticket details
- provision a new machine on SoftLayer
- perform basic actions on a machine such as reboot, reload, stop or register in DNS
- view network services like Subnets or VLANs
The functionality listed above is not exhaustive and there are other features available via the Slick application that can be explored once we deploy – so let’s take a look at how we do that!
The steps to install Slick are straight forward and documented here (in the README.md file). I ran into issues however, when attempting to run Slick with the current version of the SoftLayer API. Slick has dependencies on certain classes that are no longer available in the current version of the SoftLayer API for Python. To work around this I suggest before you attempt to install Slick, you first install a back release of the SoftLayer API. Version 3.3.1 of the SoftLayer API appears to be the correct version for use with Slick and after installing this version of the SoftLayer API, then installing Slick, I was up and running in minutes.
The install instructions for Slick are solid, but again, before you install Slick, install Version 3.3.1 of the SoftLayer API (I installed via source FWIW) . . .