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

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

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.
Method create_volume Create a new volume.
Method destroy_volume Destroys a storage volume.
Method attach_volume Attaches volume to node.
Method detach_volume Detaches a volume from a node.
Method _wait_until_running Block until node is fully booted and has an IP address assigned.
Method _ssh_client_connect Try to connect to the remote SSH server. If a connection times out or is refused it is retried up to timeout number of seconds.
Method _run_deployment_script Run the deployment script on the provided node. At this point it is assumed that SSH connection has already been established.
Method _get_size_price Undocumented

Inherited from BaseDriver (via NodeDriver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def list_nodes(self): (source)
Returns a list of all running Nodes
Returns (type: list of Node)
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.
Unknown Field: inheritsNodeDriver.reboot_node
def destroy_node(self, node): (source)
Shuts down and deletes a VM.
Unknown Field: inheritsNodeDriver.destroy_node
def list_images(self, location=None): (source)
Returns a list of all package templates aka appiances aka images.
Unknown Field: inheritsNodeDriver.list_images
def list_sizes(self, location=None): (source)
Returns a list of all hardware templates
Unknown Field: inheritsNodeDriver.list_sizes
def list_locations(self): (source)
This feature does not exist in ECP. Returns hard coded dummy location.
Returns (type: list of NodeLocation)
def create_node(self, **kwargs): (source)
Creates a virtual machine.
ParametersnameString with a name for this new node (required) (type: str)
sizeThe size of resources allocated to this node . (required) (type: NodeSize)
imageOS Image to boot on node. (required) (type: NodeImage)
Returns (type: Node)
API Documentation for libcloud, generated by pydoctor at 2012-07-28 18:57:18.