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__ | @requires: key, secret |
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. |
Turns a (json) dictionary into a Node object. This returns only running VMs.
Shuts down a VM and then starts it again. @inherits: L{NodeDriver.reboot_node}
Shuts down and deletes a VM. @inherits: L{NodeDriver.destroy_node}
Returns a list of all package templates aka appiances aka images. @inherits: L{NodeDriver.list_images}
Returns a list of all hardware templates @inherits: L{NodeDriver.list_sizes}
This feature does not exist in ECP. Returns hard coded dummy location. @rtype: C{list} of L{NodeLocation}
Creates a virtual machine. @keyword name: String with a name for this new node (required) @type name: C{str} @keyword size: The size of resources allocated to this node . (required) @type size: L{NodeSize} @keyword image: OS Image to boot on node. (required) @type image: L{NodeImage} @rtype: L{Node}