The OpenNebula cloud module is used to control access to an OpenNebula cloud.
depends: | lxml |
---|
Use of this module requires the xml_rpc
, user
and
password
parameter to be set. Set up the cloud configuration
at /etc/salt/cloud.providers
or
/etc/salt/cloud.providers.d/opennebula.conf
:
my-opennebula-config:
xml_rpc: http://localhost:2633/RPC2
user: oneadmin
password: JHGhgsayu32jsa
provider: opennebula
salt.cloud.clouds.opennebula.
avail_images
(call=None)Return a list of the templates that are on the provider
salt.cloud.clouds.opennebula.
avail_locations
(call=None)Return a dict of all available VM locations on the cloud provider with relevant data
salt.cloud.clouds.opennebula.
avail_sizes
(call=None)Because sizes are built into templates with OpenNebula, there will be no sizes to return here
salt.cloud.clouds.opennebula.
destroy
(name, call=None)Destroy a node. Will check termination protection and warn if enabled.
CLI Example:
salt-cloud --destroy mymachine
salt.cloud.clouds.opennebula.
list_nodes
(call=None)Return a list of the VMs that are on the provider
salt.cloud.clouds.opennebula.
list_nodes_full
(call=None)Return a list of the VMs that are on the provider