22.5.16. salt.cloud.clouds.parallels

22.5.16.1. Parallels Cloud Module

The Parallels cloud module is used to control access to cloud providers using the Parallels VPS system.

Set up the cloud configuration at /etc/salt/cloud.providers or
/etc/salt/cloud.providers.d/parallels.conf:
my-parallels-config:
  # Parallels account information
  user: myuser
  password: mypassword
  url: https://api.cloud.xmission.com:4465/paci/v1.0/
  provider: parallels
salt.cloud.clouds.parallels.avail_images(call=None)

Return a list of the images that are on the provider

salt.cloud.clouds.parallels.create(vm_)

Create a single VM from a data dict

salt.cloud.clouds.parallels.create_node(vm_)

Build and submit the XML to create a node

salt.cloud.clouds.parallels.destroy(name, call=None)

Destroy a node.

CLI Example:

salt-cloud --destroy mymachine
salt.cloud.clouds.parallels.get_configured_provider()

Return the first configured instance.

salt.cloud.clouds.parallels.get_image(vm_)

Return the image object to use

salt.cloud.clouds.parallels.list_nodes(call=None)

Return a list of the VMs that are on the provider

salt.cloud.clouds.parallels.list_nodes_full(call=None)

Return a list of the VMs that are on the provider

salt.cloud.clouds.parallels.list_nodes_select(call=None)

Return a list of the VMs that are on the provider, with select fields

salt.cloud.clouds.parallels.query(action=None, command=None, args=None, method='GET', data=None)

Make a web call to a Parallels provider

salt.cloud.clouds.parallels.script(vm_)

Return the script deployment object

salt.cloud.clouds.parallels.show_image(kwargs, call=None)

Show the details from Parallels concerning an image

salt.cloud.clouds.parallels.show_instance(name, call=None)

Show the details from Parallels concerning an instance

salt.cloud.clouds.parallels.start(name, call=None)

Start a node.

CLI Example:

salt-cloud -a start mymachine
salt.cloud.clouds.parallels.stop(name, call=None)

Stop a node.

CLI Example:

salt-cloud -a stop mymachine
salt.cloud.clouds.parallels.wait_until(name, state, timeout=300)

Wait until a specific state has been reached on a node

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Table Of Contents

Previous topic

22.5.15. salt.cloud.clouds.openstack

Next topic

22.5.17. salt.cloud.clouds.proxmox

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.