l.d.e.ECPNodeDriver(NodeDriver) : class documentation

Part of libcloud.drivers.ecp View Source View In Hierarchy

Implements interfaces: libcloud.interface.INodeDriver

Enomaly ECP node driver
Method list_nodes Returns a list of all running Nodes
Method reboot_node Shuts down a VM and then starts it again.
Method destroy_node Shuts down and deletes a VM.
Method list_images Returns a list of all package templates aka appiances aka images
Method list_sizes Returns a list of all hardware templates
Method list_locations This feature does not exist in ECP. Returns hard coded dummy location.
Method create_node Creates a virtual machine.
Method _to_node Turns a (json) dictionary into a Node object. This returns only running VMs.

Inherited from NodeDriver:

Method __init__
Method deploy_node Create a new node, and start deployment.
def list_nodes(self): (source)
Returns a list of all running Nodes
def _to_node(self, vm): (source)
Turns a (json) dictionary into a Node object. This returns only running VMs.
def reboot_node(self, node): (source)
Shuts down a VM and then starts it again.
def destroy_node(self, node): (source)
Shuts down and deletes a VM.
def list_images(self, location=None): (source)
Returns a list of all package templates aka appiances aka images
def list_sizes(self, location=None): (source)
Returns a list of all hardware templates
def list_locations(self): (source)
This feature does not exist in ECP. Returns hard coded dummy location.
def create_node(self, **kwargs): (source)
Creates a virtual machine.

Parameters: name (string), image (NodeImage), size (NodeSize)

API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:42:22.