l.c.d.o.OpenNebula_3_2_NodeDriver(OpenNebula_3_0_NodeDriver) : class documentation

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

OpenNebula.org node driver for OpenNebula.org v3.2.
Method reboot_node Reboot a node.
Method list_sizes Return list of sizes on a provider.
Method _to_sizes Request a list of instance types and convert that list to a list of OpenNebulaNodeSize objects.

Inherited from OpenNebula_3_0_NodeDriver:

Method ex_node_set_save_name Build action representation and instruct node to commit action.
Method _to_network Take XML object containing a network description and convert to OpenNebulaNetwork object.

Inherited from OpenNebula_2_0_NodeDriver (via OpenNebula_3_0_NodeDriver):

Method create_node Create a new OpenNebula node.
Method destroy_node Destroy a node.
Method _to_images Request a list of images and convert that list to a list of NodeImage objects.
Method _to_image Take XML object containing an image description and convert to NodeImage object.
Method _to_node Take XML object containing a compute node description and convert to Node object.
Method _extract_networks Extract networks from a compute node XML representation.
Method _extract_images Extract image disks from a compute node XML representation.
Method _extract_size Extract size, or node type, from a compute node XML representation.
Method _extract_context Extract size, or node type, from a compute node XML representation.

Inherited from OpenNebulaNodeDriver (via OpenNebula_3_0_NodeDriver, OpenNebula_2_0_NodeDriver):

Method __new__ Undocumented
Method list_nodes List all nodes @return: list of node objects @rtype: C{list} of L{Node}
Method list_images List images on a provider
Method list_locations List data centers for a provider
Method ex_list_networks List virtual networks on a provider.
Method ex_node_action Build action representation and instruct node to commit action.
Method _to_networks Request a list of networks and convert that list to a list of OpenNebulaNetwork objects.
Method _to_nodes Request a list of compute nodes and convert that list to a list of Node objects.

Inherited from NodeDriver (via OpenNebula_3_0_NodeDriver, OpenNebula_2_0_NodeDriver, OpenNebulaNodeDriver):

Method __init__ @param key: API key or username to used (required) @type key: C{str}
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 OpenNebula_3_0_NodeDriver, OpenNebula_2_0_NodeDriver, OpenNebulaNodeDriver, NodeDriver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def reboot_node(self, node): (source)
Reboot a node.

@param node: The node to be rebooted
@type node: L{Node}

@return: True if the reboot was successful, otherwise False
@rtype: C{bool}
def list_sizes(self, location=None): (source)
Return list of sizes on a provider.

@inherits: L{NodeDriver.list_sizes}

@return: List of compute node sizes supported by the cloud provider.
@rtype:  C{list} of L{OpenNebulaNodeSize}
def _to_sizes(self, object): (source)
Request a list of instance types and convert that list to a list of
OpenNebulaNodeSize objects.

Request a list of instance types from the OpenNebula web interface,
and issue a request to convert each XML object representation of an
instance type to an OpenNebulaNodeSize object.

@return: List of instance types.
@rtype:  C{list} of L{OpenNebulaNodeSize}
API Documentation for libcloud, generated by pydoctor at 2012-11-19 12:09:27.