l.c.d.v.VCloud_5_1_NodeDriver(VCloud_1_5_NodeDriver) : class documentation

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

Undocumented
Static Method _validate_vm_memory Undocumented

Inherited from VCloud_1_5_NodeDriver:

Method list_locations List data centers for a provider
Method ex_find_node Searches for node across specified vDCs. This is more effective than querying all nodes to get a single instance.
Method destroy_node Destroy a node.
Method reboot_node Reboot a node.
Method ex_deploy_node Deploys existing node. Equal to vApp "start" operation.
Method ex_undeploy_node Undeploys existing node. Equal to vApp "stop" operation.
Method ex_power_off_node Powers on all VMs under specified node. VMs need to be This operation is allowed only when the vApp/VM is powered on.
Method ex_power_on_node Powers on all VMs under specified node. This operation is allowed only when the vApp/VM is powered off or suspended.
Method ex_shutdown_node Shutdowns all VMs under specified node. This operation is allowed only when the vApp/VM is powered on.
Method ex_suspend_node Suspends all VMs under specified node. This operation is allowed only when the vApp/VM is powered on.
Method ex_get_control_access Returns the control access settings for specified node.
Method ex_set_control_access Sets control access for the specified node.
Method ex_get_metadata @param node: node @type node: L{Node}
Method ex_set_metadata_entry @param node: node @type node: L{Node}
Method ex_query Queries vCloud for specified type. See http://www.vmware.com/pdf/vcd_15_api_guide.pdf for details. Each element of the returned list is a dictionary with all attributes from the record.
Method create_node No summary
Method ex_set_vm_cpu Sets the number of virtual CPUs for the specified VM or VMs under the vApp. If the vapp_or_vm_id param represents a link to an vApp all VMs that are attached to this vApp will be modified.
Method ex_set_vm_memory Sets the virtual memory in MB to allocate for the specified VM or VMs under the vApp. If the vapp_or_vm_id param represents a link to an vApp all VMs that are attached to this vApp will be modified.
Method ex_add_vm_disk Adds a virtual disk to the specified VM or VMs under the vApp. If the vapp_or_vm_id param represents a link to an vApp all VMs that are attached to this vApp will be modified.
Method _perform_power_operation Undocumented
Method _instantiate_node Undocumented
Method _clone_node Undocumented
Static Method _validate_vm_names Undocumented
Static Method _validate_vm_cpu Undocumented
Static Method _validate_vm_disk_size Undocumented
Static Method _validate_vm_script Undocumented
Static Method _validate_vm_fence Undocumented
Static Method _validate_vm_ipmode Undocumented
Method _change_vm_names Undocumented
Method _change_vm_cpu Undocumented
Method _change_vm_memory Undocumented
Method _add_vm_disk Undocumented
Method _change_vm_script Undocumented
Method _change_vm_ipmode Undocumented
Method _get_network_href Undocumented
Method _get_vm_elements Undocumented
Method _is_node Undocumented
Method _to_node Undocumented
Method _to_vdc Undocumented

Inherited from VCloudNodeDriver (via VCloud_1_5_NodeDriver):

Method __new__ Undocumented
Method vdcs vCloud virtual data centers (vDCs).
Method networks Undocumented
Method list_nodes List all nodes @return: list of node objects @rtype: C{list} of L{Node}
Method ex_list_nodes List all nodes across all vDCs. Using 'vdcs' you can specify which vDCs should be queried.
Method list_sizes List sizes on a provider
Method list_images List images on a provider
Method _get_vdc Undocumented
Method _to_image Undocumented
Method _get_catalog_hrefs Undocumented
Method _wait_for_task_completion Undocumented
Method _to_size Undocumented
Method _get_catalogitems_hrefs Given a catalog href returns contained catalog item hrefs
Method _get_catalogitem Given a catalog item href returns elementree
Method _uniquer Undocumented

Inherited from NodeDriver (via VCloud_1_5_NodeDriver, VCloudNodeDriver):

Method __init__ @param key: API key or username to be 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 the given nodes are fully booted and have an IP address assigned.
Method _wait_until_running Undocumented
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 _connect_and_run_deployment_script Undocumented
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 VCloud_1_5_NodeDriver, VCloudNodeDriver, NodeDriver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
@staticmethod
def _validate_vm_memory(vm_memory): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-07-01 17:02:02.