Part of libcloud.compute.drivers.vcloud View Source View In Hierarchy
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 | 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 | _instantiate_node | Undocumented |
Method | _clone_node | Undocumented |
Static Method | _validate_vm_names | Undocumented |
Static Method | _validate_vm_memory | 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 |
Inherited from VCloudNodeDriver:
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: list
of Node |
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 VCloudNodeDriver):
Method | __init__ | |
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 VCloudNodeDriver, NodeDriver):
Method | _ex_connection_class_kwargs | Return extra connection keyword arguments which are passed to the Connection class constructor. |
Returns | list of node location objects (type: list of NodeLocation ) |
Parameters | node_name | The name of the node to search for (type: VCloudVDC ) |
vdcs | None, vDC or a list of vDCs to search in. If None all vDCs will be searched. | |
Returns | node instance or None if not found (type: Node or
None ) |
Depending upon the provider, this may destroy all data associated with the node, including backups.
Parameters | node | The node to be destroyed (type: Node ) |
Returns | True if the destroy was successful, otherwise False (type: bool ) |
Parameters | node | The node to be rebooted (type: Node ) |
Returns | True if the reboot was successful, otherwise False (type: bool ) |
Creates and returns node. If the source image is:
Parameters | image | OS Image to boot on node. (required). Can be a NodeImage or existing Node
that will be cloned. (type: NodeImage
or Node ) |
ex_network | Organisation's network name for attaching vApp VMs to. (type: str ) | |
ex_vdc | Name of organisation's virtual data center where vApp VMs will be deployed. (type: str ) | |
ex_vm_names | list of names to be used as a VM and computer name. The name must be max.
15 characters long and follow the host name requirements. (type: list of str ) | |
ex_vm_cpu | number of virtual CPUs/cores to allocate for each vApp VM. (type: int ) | |
ex_vm_memory | amount of memory in MB to allocate for each vApp VM. (type: int ) | |
ex_vm_script | full path to file containing guest customisation script for each vApp VM.
Useful for creating users & pushing out public SSH keys etc. (type: str ) | |
ex_vm_network | Override default vApp VM network name. Useful for when you've imported an
OVF originating from outside of the vCloud. (type: str ) | |
ex_vm_fence | Fence mode for connecting the vApp VM network (ex_vm_network) to the parent
organisation network (ex_network). (type: str ) | |
ex_vm_ipmode | IP address allocation mode for all vApp VM network connections. (type: str ) | |
ex_deploy | set to False if the node shouldn't be deployed (started) after creation (type: bool ) | |
Unknown Field: inherits | NodeDriver.create_node |
Please ensure that hot-adding a virtual CPU is enabled for the powered on virtual machines. Otherwise use this method on undeployed vApp.
Parameters | vapp_or_vm_id | vApp or VM ID that will be modified. If a vApp ID is used here all attached
VMs will be modified (type: str ) |
vm_cpu | number of virtual CPUs/cores to allocate for specified VMs (type: int ) | |
Returns | (type: None ) |
Please ensure that hot-change of virtual memory is enabled for the powered on virtual machines. Otherwise use this method on undeployed vApp.
Parameters | vapp_or_vm_id | vApp or VM ID that will be modified. If a vApp ID is used here all attached
VMs will be modified (type: str ) |
vm_memory | virtual memory in MB to allocate for the specified VM or VMs (type: int ) | |
Returns | (type: None ) |
Parameters | vapp_or_vm_id | vApp or VM ID that will be modified. If a vApp ID is used here all attached
VMs will be modified (type: str ) |
vm_disk_size | the disk capacity in GB that will be added to the specified VM or VMs (type: int ) | |
Returns | (type: None ) |