The CloudStack cloud module is used to control access to a CloudStack based Public Cloud.
libcloud >= 0.15
Use of this module requires the apikey
, secretkey
, host
and
path
parameters.
my-cloudstack-cloud-config:
apikey: <your api key >
secretkey: <your secret key >
host: localhost
path: /client/api
driver: cloudstack
Return a dict of all available VM images on the cloud provider with relevant data
Return a dict of all available VM locations on the cloud provider with relevant data
Return a dict of all available VM images on the cloud provider with relevant data
Return the block device mapping:
[{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
{'DeviceName': '/dev/sdc', 'VirtualName': 'ephemeral1'}]
Return display name of VM:
"minion1"
Create a single VM from a data dict
Delete a single VM, and all of its volumes
Return the first configured instance.
Return a conn object for the passed VM data
Warn if dependencies aren't met.
Return the image object to use
Return the IP address of the VM If the VM has public IP as defined by libcloud module then use it Otherwise try to extract the private IP and use that one.
Returns the ssh private key for VM access
Return the keypair to use
Return the node location to use
Return the networkid to use, only valid for Advanced Zone
Return a libcloud node for the named VM
Return the password to use
Return the project to use.
Return a list of security groups to use, defaulting to ['default']
Return the VM's size object
Return a list of the VMs that are on the provider
Return a list of the VMs that are on the provider, with all fields
Return a list of the VMs that are on the provider, with select fields
Return the script deployment object
Show the details from the provider concerning an instance