l.c.d.c.CloudSigmaBaseNodeDriver(NodeDriver) : class documentation

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

Known subclasses: libcloud.compute.drivers.cloudsigma.CloudSigmaLvsNodeDriver, libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver

No class docstring
Method reboot_node Reboot a node.
Method destroy_node Destroy a node (all the drives associated with it are NOT destroyed).
Method list_images Return a list of available standard images (this call might take up to 15 seconds to return).
Method list_sizes List sizes on a provider
Method list_nodes List all nodes @return: list of node objects @rtype: list of Node
Method create_node Creates a CloudSigma instance
Method ex_destroy_node_and_drives Destroy a node and all the drives associated with it.
Method ex_static_ip_list Return a list of available static IP addresses.
Method ex_drives_list Return a list of all the available drives.
Method ex_static_ip_create Create a new static IP address.p
Method ex_static_ip_destroy Destroy a static IP address.
Method ex_drive_destroy Destroy a drive with a specified uuid. If the drive is currently mounted an exception is thrown.
Method ex_set_node_configuration Update a node configuration. Changing most of the parameters requires node to be stopped.
Method ex_start_node Start a node.
Method ex_stop_node Stop (shutdown) a node.
Method ex_shutdown_node Stop (shutdown) a node.
Method ex_destroy_drive Destroy a drive.
Method _to_node Undocumented
Method _get_node Undocumented
Method _get_node_info Undocumented

Inherited from NodeDriver:

Method __init__
Method list_locations List data centers for a provider
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 reboot_node(self, node): (source)
Reboot a node.

Because Cloudsigma API does not provide native reboot call, it's emulated using stop and start.

Unknown Field: inheritsNodeDriver.reboot_node
def destroy_node(self, node): (source)
Destroy a node (all the drives associated with it are NOT destroyed).

If a node is still running, it's stopped before it's destroyed.

Unknown Field: inheritsNodeDriver.destroy_node
def list_images(self, location=None): (source)
Return a list of available standard images (this call might take up to 15 seconds to return).
Unknown Field: inheritsNodeDriver.list_images
def list_sizes(self, location=None): (source)
List sizes on a provider
ParameterslocationThe location at which to list sizes (type: NodeLocation)
Returnslist of node size objects (type: list of NodeSize)
def list_nodes(self): (source)
List all nodes
Returnslist of node objects (type: list of Node)
def create_node(self, **kwargs): (source)
Creates a CloudSigma instance
ParametersnameString with a name for this new node (required) (type: str)
smpNumber of virtual processors or None to calculate based on the cpu speed (type: int)
nic_modele1000, rtl8139 or virtio (is not specified, e1000 is used) (type: str)
vnc_passwordIf not set, VNC access is disabled. (type: bool)
drive_typeDrive type (ssd|hdd). Defaults to hdd. (type: str)
Unknown Field: inheritsNodeDriver.create_node
def ex_destroy_node_and_drives(self, node): (source)
Destroy a node and all the drives associated with it.
ParametersnodeNode which should be used (type: Node)
Returns (type: bool)
def ex_static_ip_list(self): (source)
Return a list of available static IP addresses.
Returns (type: list of str)
def ex_drives_list(self): (source)
Return a list of all the available drives.
Returns (type: list of dict)
def ex_static_ip_create(self): (source)
Create a new static IP address.p
Returns (type: list of dict)
def ex_static_ip_destroy(self, ip_address): (source)
Destroy a static IP address.
Parametersip_addressIP address which should be used (type: str)
Returns (type: bool)
def ex_drive_destroy(self, drive_uuid): (source)
Destroy a drive with a specified uuid. If the drive is currently mounted an exception is thrown.
Parametersdrive_uuidDrive uuid which should be used (type: str)
Returns (type: bool)
def ex_set_node_configuration(self, node, **kwargs): (source)
Update a node configuration. Changing most of the parameters requires node to be stopped.
ParametersnodeNode which should be used (type: Node)
kwargskeyword arguments (type: dict)
Returns (type: bool)
def ex_start_node(self, node): (source)
Start a node.
ParametersnodeNode which should be used (type: Node)
Returns (type: bool)
def ex_stop_node(self, node): (source)
Stop (shutdown) a node.
ParametersnodeNode which should be used (type: Node)
Returns (type: bool)
def ex_shutdown_node(self, node): (source)
Stop (shutdown) a node.
Unknown Field: inheritsCloudSigmaBaseNodeDriver.ex_stop_node
def ex_destroy_drive(self, drive_uuid): (source)
Destroy a drive.
Parametersdrive_uuidDrive uuid which should be used (type: str)
Returns (type: bool)
def _to_node(self, data): (source)
Undocumented
def _get_node(self, node_id): (source)
Undocumented
def _get_node_info(self, node): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-07-28 18:57:18.