Part of libcloud.compute.drivers.cloudsigma View Source View In Hierarchy
Known subclasses: libcloud.compute.drivers.cloudsigma.CloudSigmaLvsNodeDriver, libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver
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: C{list} of L{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__ | @requires: key, secret |
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. |
Reboot a node. Because Cloudsigma API does not provide native reboot call, it's emulated using stop and start. @inherits: L{NodeDriver.reboot_node}
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. @inherits: L{NodeDriver.destroy_node}
Return a list of available standard images (this call might take up to 15 seconds to return). @inherits: L{NodeDriver.list_images}
List sizes on a provider @keyword location: The location at which to list sizes @type location: L{NodeLocation} @return: list of node size objects @rtype: C{list} of L{NodeSize}
List all nodes @return: list of node objects @rtype: C{list} of L{Node}
Creates a CloudSigma instance @inherits: L{NodeDriver.create_node} @keyword name: String with a name for this new node (required) @type name: C{str} @keyword smp: Number of virtual processors or None to calculate based on the cpu speed @type smp: C{int} @keyword nic_model: e1000, rtl8139 or virtio (is not specified, e1000 is used) @type nic_model: C{str} @keyword vnc_password: If not set, VNC access is disabled. @type vnc_password: C{bool} @keyword drive_type: Drive type (ssd|hdd). Defaults to hdd. @type drive_type: C{str}
Destroy a node and all the drives associated with it. @param node: Node which should be used @type node: L{Node} @rtype: C{bool}
Return a list of available static IP addresses. @rtype: C{list} of C{str}
Return a list of all the available drives. @rtype: C{list} of C{dict}
Destroy a static IP address. @param ip_address: IP address which should be used @type ip_address: C{str} @rtype: C{bool}
Destroy a drive with a specified uuid. If the drive is currently mounted an exception is thrown. @param drive_uuid: Drive uuid which should be used @type drive_uuid: C{str} @rtype: C{bool}
Update a node configuration. Changing most of the parameters requires node to be stopped. @param node: Node which should be used @type node: L{Node} @param kwargs: keyword arguments @type kwargs: C{dict} @rtype: C{bool}
Start a node. @param node: Node which should be used @type node: L{Node} @rtype: C{bool}
Stop (shutdown) a node. @param node: Node which should be used @type node: L{Node} @rtype: C{bool}
Stop (shutdown) a node. @inherits: L{CloudSigmaBaseNodeDriver.ex_stop_node}
Destroy a drive. @param drive_uuid: Drive uuid which should be used @type drive_uuid: C{str} @rtype: C{bool}