New in version 2014.7.0.
The vSphere cloud module is used to control access to VMWare vSphere.
depends: |
|
---|
Note: Ensure python pysphere module is installed by running following one-liner check. The output should be 0.
python -c "import pysphere" ; echo $?
Use of this module only requires a URL, username and password. Set up the cloud configuration at:
/etc/salt/cloud.providers or /etc/salt/cloud.providers.d/vsphere.conf:
my-vsphere-config:
provider: vsphere
user: myuser
password: verybadpass
url: 'https://10.1.1.1:443'
Note: Your URL may or may not look like any of the following, depending on how your VMWare installation is configured:
10.1.1.1
10.1.1.1:443
https://10.1.1.1:443
https://10.1.1.1:443/sdk
10.1.1.1:443/sdk
Return a dict of all available VM images on the cloud provider.
Return a dict of all available VM locations on the cloud provider with relevant data
Create a single VM from a data dict
Destroy a node.
CLI Example:
salt-cloud --destroy mymachine
Return the first configured instance.
Return a conn object for the passed VM data
List the clusters for this VMware environment
List the data centers for this VMware environment
List the datastores for this VMware environment
List the folders for this VMWare environment
List the hosts for this VMware environment
Return a list of the VMs that are on the provider, with basic fields
Return a list of the VMs that are on the provider with full details
Return a list of the nodes in the provider, with no details
Return a list of the VMs that are on the provider, with select fields
List the hosts for this VMware environment
Return the script deployment object
Show the details from vSphere concerning a guest
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2014.7.2
22.5.22. salt.cloud.clouds.softlayer_hw