l.c.d.v.VCLNodeDriver(NodeDriver) : class documentation

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

VCL node driver
ParametershostThe VCL host to which you make requests(required) (type: str)
Method __init__
Method create_node Create a new VCL reservation size and name ignored, image is the id from list_image
Method destroy_node End VCL reservation for the node passed in. Throws error if request fails.
Method list_images List images available to the user provided credentials
Method list_sizes VCL does not choosing sizes for node creation. Size of images are statically set by administrators.
Method list_nodes List nodes
Method ex_update_node_access Update the remote ip accessing the node.
Method ex_extend_request_time Time in minutes to extend the requested node's reservation time
Method ex_get_request_end_time Get the ending time of the node reservation.
Method _vcl_request Undocumented
Method _to_image Undocumented
Method _to_connect_data Undocumented
Method _to_status Undocumented
Method _to_nodes Undocumented

Inherited from NodeDriver:

Method reboot_node Reboot a node.
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 __init__(self, key, secret, *args, secure=True, host=None, port=None, **kwargs): (source)
Unknown Field: requireskey, secret, host
def _vcl_request(self, method, *args): (source)
Undocumented
def create_node(self, **kwargs): (source)
Create a new VCL reservation size and name ignored, image is the id from list_image
Parametersimageimage is the id from list_image (type: str)
startstart time as unix timestamp (type: str)
lengthlength of time in minutes (type: str)
Unknown Field: inheritsNodeDriver.create_node
def destroy_node(self, node): (source)
End VCL reservation for the node passed in. Throws error if request fails.
ParametersnodeThe node to be destroyed (type: Node)
Returns (type: bool)
def _to_image(self, img): (source)
Undocumented
def list_images(self, location=None): (source)
List images available to the user provided credentials
Unknown Field: inheritsNodeDriver.list_images
def list_sizes(self, location=None): (source)
VCL does not choosing sizes for node creation. Size of images are statically set by administrators.
Unknown Field: inheritsNodeDriver.list_sizes
def _to_connect_data(self, request_id, ipaddr): (source)
Undocumented
def _to_status(self, requestid, imagename, ipaddr): (source)
Undocumented
def _to_nodes(self, res, ipaddr): (source)
Undocumented
def list_nodes(self, ipaddr): (source)
List nodes
ParametersipaddrIP address which should be used (type: str)
Returns (type: list of Node)
def ex_update_node_access(self, node, ipaddr): (source)
Update the remote ip accessing the node.
Parametersnodethe reservation node to update (type: Node)
ipaddrthe ipaddr used to access the node (type: str)
Returnsnode with updated information (type: Node)
def ex_extend_request_time(self, node, minutes): (source)
Time in minutes to extend the requested node's reservation time
Parametersnodethe reservation node to update (type: Node)
minutesthe number of mintes to update (type: str)
Returnstrue on success, throws error on failure (type: bool)
def ex_get_request_end_time(self, node): (source)
Get the ending time of the node reservation.
Parametersnodethe reservation node to update (type: Node)
Returnsunix timestamp (type: int)
API Documentation for libcloud, generated by pydoctor at 2012-07-28 18:57:18.