New in version 2018.3.0.
The CLC cloud module allows you to manage CLC Via the CLC SDK.
Stephan Looney <slooney@stephanlooney.com>
clc-sdk Python Module
flask
clc-sdk can be installed via pip:
pip install clc-sdk
Note
For sdk reference see: https://github.com/CenturyLinkCloud/clc-python-sdk
flask can be installed via pip:
pip install flask
To use this module: set up the clc-sdk, user, password, key in the
cloud configuration at
/etc/salt/cloud.providers
or /etc/salt/cloud.providers.d/clc.conf
:
my-clc-config:
driver: clc
user: 'web-user'
password: 'verybadpass'
token: ''
token_pass:''
accountalias: 'ACT'
Note
The provider
parameter in cloud provider configuration was renamed to driver
.
This change was made to avoid confusion with the provider
parameter that is
used in cloud profile configuration. Cloud provider configuration now uses driver
to refer to the salt-cloud driver that provides the underlying functionality to
connect to a cloud provider, while cloud profile configuration continues to use
provider
to refer to the cloud provider configuration that you define.
returns a list of images available to you
returns a list of locations available to you
use templates for this
get the system build going
destroy the vm
get the build status from CLC to make sure we don't return to early
Warn if dependencies aren't met.
Return a list of the VMs that are on the provider usage: "salt-cloud -f get_group_estimate clc group=Dev location=VA1"
Return a list of the VMs that are on the provider
Return a list of the VMs that are on the provider
Return a list of alerts from CLC as reported by their infra
Return a list of the VMs that are on the provider