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 Return a list of available node sizes.
Method list_nodes Return a list of nodes.
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.
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 @return: list of NodeLocation objects
Method deploy_node Create a new node, and start deployment.
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.

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.

def list_images(self, location=None): (source)
Return a list of available standard images (this call might take up to 15 seconds to return).
def list_sizes(self, location=None): (source)
Return a list of available node sizes.
def list_nodes(self): (source)
Return a list of nodes.
def create_node(self, **kwargs): (source)
Creates a CloudSigma instance

See NodeDriver.create_node for more keyword args.

ParametersnameString with a name for this new node (required) (type: string)
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: string)
vnc_passwordIf not set, VNC access is disabled. (type: bool)
drive_typeDrive type (ssd|hdd). Defaults to hdd. (type: str)
def ex_destroy_node_and_drives(self, node): (source)
Destroy a node and all the drives associated with it.
def ex_static_ip_list(self): (source)
Return a list of available static IP addresses.
def ex_drives_list(self): (source)
Return a list of all the available drives.
def ex_static_ip_create(self): (source)
Create a new static IP address.
def ex_static_ip_destroy(self, ip_address): (source)
Destroy a static IP address.
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.
def ex_set_node_configuration(self, node, **kwargs): (source)
Update a node configuration. Changing most of the parameters requires node to be stopped.
def ex_start_node(self, node): (source)
Start a node.
def ex_stop_node(self, node): (source)
Stop (shutdown) a node.
def ex_shutdown_node(self, node): (source)
Stop (shutdown) a node.
def ex_destroy_drive(self, drive_uuid): (source)
Destroy a drive.
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-15 18:49:10.