The GoGrid cloud module. This module interfaces with the gogrid public cloud service. To use Salt Cloud with GoGrid log into the GoGrid web interface and create an api key. Do this by clicking on "My Account" and then going to the API Keys tab.
depends: | libcloud >= 0.13.2 |
---|
Set up the cloud configuration at /etc/salt/cloud.providers
or
/etc/salt/cloud.providers.d/gogrid.conf
:
my-gogrid-config:
# The generated api key to use
apikey: asdff7896asdh789
# The apikey's shared secret
sharedsecret: saltybacon
provider: gogrid
salt.cloud.clouds.gogrid.
avail_images
(conn=None, call=None)¶Return a dict of all available VM images on the cloud provider with relevant data
salt.cloud.clouds.gogrid.
avail_sizes
(conn=None, call=None)¶Return a dict of all available VM images on the cloud provider with relevant data
salt.cloud.clouds.gogrid.
create
(vm_)¶Create a single VM from a data dict
salt.cloud.clouds.gogrid.
destroy
(name, conn=None, call=None)¶Delete a single VM
salt.cloud.clouds.gogrid.
get_configured_provider
()¶Return the first configured instance.
salt.cloud.clouds.gogrid.
get_conn
()¶Return a conn object for the passed VM data
salt.cloud.clouds.gogrid.
get_image
(conn, vm_)¶Return the image object to use
salt.cloud.clouds.gogrid.
get_size
(conn, vm_)¶Return the VM's size object
salt.cloud.clouds.gogrid.
list_nodes
(conn=None, call=None)¶Return a list of the VMs that are on the provider
salt.cloud.clouds.gogrid.
list_nodes_full
(conn=None, call=None)¶Return a list of the VMs that are on the provider, with all fields
salt.cloud.clouds.gogrid.
list_nodes_select
(conn=None, call=None)¶Return a list of the VMs that are on the provider, with select fields
salt.cloud.clouds.gogrid.
script
(vm_)¶Return the script deployment object
salt.cloud.clouds.gogrid.
show_instance
(name, call=None)¶Show the details from the provider concerning an instance