Module Deltacloud::Drivers::VSphere::Helper
In: lib/deltacloud/drivers/vsphere/vsphere_client.rb

Methods

Public Instance methods

This helper will try to find a Datastore[1] object in all Datacenters. Datastore is used to place instance on create to correct place

1
www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.Datastore.html

Find a ResourcePool[1] object associated by given Datastore ResourcePool is defined for Datacenter and is used for launching a new instance

1
www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.ResourcePool.html

Find a VirtualMachine traversing through all Datastores and Datacenters

This helper will return a Hash: { :datastore => NAME_OF_DS, :instance => VM } Returning datastore is necesarry for constructing a correct realm for an instance

This helper will traverse across all datacenters and datastores and gather all virtual machines available on vSphere

Map given instance to task. Task name is used as a filename.

Yield all tasks if they are included in mapper storage directory.

[Validate]