cd uca # UCA bin path
git clone https://github.com/tonybaloney/rightscale-agent-libcloud plugins
cd plugins
pip install -r requirements.txt
Edit config.yaml
to configure which libcloud driver to use and the credentials to connect, for example:
provider: dimensiondata
connection:
key: my_username
secret: my_PASsword!
region: dd-au
config.yaml
must live in the UCA bin directory, not the plugin directory.
Libcloud supports a dictionary called extra in the Node
class. You can map the values of these to RightScale instance values using a map
attribute in config.yaml
.
For example:
maps:
list_instances:
created_at: "deployedTime"
memory_mb: "memoryMb"
os_platform: "OS_type"
The key represents the key in RightScale and the value represents the key in Libcloud