Part of libcloud.compute.drivers.openstack View Source View In Hierarchy
Known subclasses: libcloud.compute.drivers.rackspace.RackspaceNodeDriver
OpenStack node driver.
Extra node attributes:
Method | __init__ | |
Method | create_node | Create a new node |
Method | ex_set_password | Sets the Node's root password. |
Method | ex_set_server_name | Sets the Node's name. |
Method | ex_resize | Change an existing server flavor / scale the server up or down. |
Method | ex_confirm_resize | Confirm a resize request which is currently in progress. If a resize request is not explicitly confirmed or reverted it's automatically confirmed after 24 hours. |
Method | ex_revert_resize | Revert a resize request which is currently in progress. All resizes are automatically confirmed after 24 hours if they have not already been confirmed explicitly or reverted. |
Method | ex_rebuild | Rebuilds the specified server. |
Method | ex_create_ip_group | Creates a shared IP group. |
Method | ex_list_ip_groups | Lists IDs and names for shared IP groups. If details lists all details for shared IP groups. |
Method | ex_delete_ip_group | Deletes the specified shared IP group. |
Method | ex_share_ip | Shares an IP address to the specified server. |
Method | ex_unshare_ip | Removes a shared IP address from the specified server. |
Method | ex_list_ip_addresses | List all server addresses. |
Method | ex_limits | No summary |
Method | ex_save_image | Create an image for node. |
Method | ex_delete_image | Delete an image for node. |
Method | _to_images | Undocumented |
Method | _to_image | Undocumented |
Method | _change_password_or_name | Undocumented |
Method | _metadata_to_xml | Undocumented |
Method | _files_to_xml | Undocumented |
Method | _reboot_node | Undocumented |
Method | _node_action | Undocumented |
Method | _to_nodes | Undocumented |
Method | _to_node_from_obj | Undocumented |
Method | _to_node | Undocumented |
Method | _to_sizes | Undocumented |
Method | _to_size | Undocumented |
Method | _to_shared_ip_group | Undocumented |
Method | _to_ip_addresses | Undocumented |
Method | _get_size_price | Undocumented |
Inherited from OpenStackNodeDriver:
Method | __new__ | |
Method | destroy_node | Destroy a node. |
Method | reboot_node | Reboot a node. |
Method | list_nodes | List all nodes @return: list of node objects @rtype: list
of Node |
Method | list_images | |
Method | list_sizes | List sizes on a provider |
Method | list_locations | List data centers for a provider |
Method | ex_get_node_details | Lists details of the specified server. |
Method | ex_soft_reboot_node | Soft reboots the specified server |
Method | ex_hard_reboot_node | Hard reboots the specified server |
Method | _ex_connection_class_kwargs | Return extra connection keyword arguments which are passed to the Connection class constructor. |
Inherited from NodeDriver (via OpenStackNodeDriver):
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. |
Inherited from OpenStackDriverMixin (via OpenStackNodeDriver):
Method | openstack_connection_kwargs |
Parameters | ex_metadata | Key/Value metadata to associate with a node (type: dict ) |
ex_files | File Path => File contents to create on the node (type: dict ) | |
Unknown Field: inherits | NodeDriver.create_node |
Sets the Node's root password. This will reboot the instance to complete the operation. L{Node.extra['password']} will be set to the new value if the operation was successful. @param node: node to set password @type node: L{Node} @param password: new password. @type password: C{str} @rtype: C{bool}
This will reboot the instance to complete the operation.
Parameters | node | node to set name (type: Node ) |
name | new name (type: str ) | |
Returns | (type: bool ) |
For more info refer to the API documentation: http://goo.gl/zjFI1
Parameters | node | node for which the resize request will be confirmed. (type: Node ) |
Returns | (type: bool ) |
For more info refer to the API documentation: http://goo.gl/AizBu
Parameters | node | node for which the resize request will be reverted. (type: Node ) |
Returns | (type: bool ) |
Parameters | node_id | ID of the node which should be used (type: str ) |
image_id | ID of the image which should be used (type: str ) | |
Returns | (type: bool ) |
Parameters | group_name | group name which should be used (type: str ) |
node_id | ID of the node which should be used (type: str ) | |
Returns | (type: bool ) |
Parameters | details | True if details is required (type: bool ) |
Returns | (type: list of OpenStack_1_0_SharedIpGroup ) |
Parameters | group_id | group id which should be used (type: str ) |
Returns | (type: bool ) |
Parameters | group_id | group id which should be used (type: str ) |
node_id | ID of the node which should be used (type: str ) | |
ip | ip which should be used (type: str ) | |
configure_node | configure node (type: bool ) | |
Returns | (type: bool ) |
Parameters | node_id | ID of the node which should be used (type: str ) |
ip | ip which should be used (type: str ) | |
Returns | (type: bool ) |
Parameters | node_id | ID of the node which should be used (type: str ) |
Returns | (type: bool ) |
Returns | dict with keys 'rate' and 'absolute' (type: dict ) |
Parameters | image | the image to be deleted (type: NodeImage ) |
Returns | (type: bool ) |