Part of libcloud.compute.drivers.openstack View Source View In Hierarchy
Known subclasses: libcloud.compute.drivers.rackspacenova.RackspaceNovaBetaNodeDriver, libcloud.compute.drivers.rackspacenova.RackspaceNovaDfwNodeDriver
Method | __init__ | |
Method | create_node | Create a new node |
Method | ex_set_password | Undocumented |
Method | ex_rebuild | Rebuild a Node. |
Method | ex_resize | Change a node size. |
Method | ex_confirm_resize | Undocumented |
Method | ex_revert_resize | Undocumented |
Method | ex_save_image | Undocumented |
Method | ex_set_server_name | Sets the Node's name. |
Method | ex_get_metadata | Get a Node's metadata. |
Method | ex_set_metadata | Sets the Node's metadata. |
Method | ex_update_node | Update the Node's editable attributes. The OpenStack API currently supports editing name and IPv4/IPv6 access addresses. |
Method | ex_get_size | Undocumented |
Method | ex_get_image | Undocumented |
Method | ex_delete_image | Undocumented |
Method | _to_images | Undocumented |
Method | _to_image | Undocumented |
Method | _to_nodes | Undocumented |
Method | _to_sizes | Undocumented |
Method | _create_args_to_params | Undocumented |
Method | _files_to_personality | Undocumented |
Method | _reboot_node | Undocumented |
Method | _node_action | Undocumented |
Method | _update_node | Updates the editable attributes of a server, which currently include its name and IPv4/IPv6 access addresses. |
Method | _to_node_from_obj | Undocumented |
Method | _to_node | Undocumented |
Method | _to_size | Undocumented |
Method | _get_size_price | Undocumented |
Method | _extract_image_id_from_url | Undocumented |
Inherited from OpenStackNodeDriver:
Method | __new__ | Undocumented |
Method | destroy_node | Destroy a node. |
Method | reboot_node | Reboot a node. |
Method | list_nodes | List all nodes @return: list of Node objects |
Method | list_images | List images on a provider |
Method | list_sizes | List sizes on a provider |
Method | list_locations | List data centers for a provider @return: list of NodeLocation
objects |
Method | ex_get_node_details | Undocumented |
Method | ex_soft_reboot_node | Undocumented |
Method | ex_hard_reboot_node | Undocumented |
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 | _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 | Undocumented |
Parameters | key | API key or username to used (type: str) |
secret | Secret password to be used (type: str) | |
secure | Weither to use HTTPS or HTTP. Note: Some providers only support HTTPS, and it is on by default. (type: bool) | |
host | Override hostname used for connections. (type: str) | |
port | Override port used for connections. (type: int) | |
api_version | Optional API version. Only used by drivers which support multiple API versions. (type: str) |
See NodeDriver.create_node
for more keyword args.
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 ) |
Parameters | node | Node to rebuild. (type: Node ) |
image | New image to use. (type: NodeImage ) |
Parameters | node | Node to resize. (type: Node ) |
image | New size to use. (type: NodeSize ) |
Get a Node's metadata. @return Key/Value metadata associated with node. @type C{dict}
Parameters | metadata | Key/Value metadata to associate with a node (type: dict ) |
The driver currently only supports updating the node name.
Parameters | name | New name for the server (type: str ) |