tonybaloney / rightscale-agent-libcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libcloud RightScale UCA Agent

Installation

cd uca # UCA bin path
git clone https://github.com/tonybaloney/rightscale-agent-libcloud plugins
cd plugins
pip install -r requirements.txt

Configuration

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.

Mapping driver specific values

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

About

License:MIT License


Languages

Language:Python 100.0%