Part of libcloud.compute.drivers.brightbox View Source View In Hierarchy
Method | __init__ | |
Method | create_node | Create a new Brightbox node |
Method | destroy_node | Destroy node by passing in the node object |
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_list_cloud_ips | List Cloud IPs |
Method | ex_create_cloud_ip | Requests a new cloud IP address for the account |
Method | ex_update_cloud_ip | Update some details of the cloud IP address |
Method | ex_map_cloud_ip | Maps (or points) a cloud IP address at a server's interface or a load balancer to allow them to respond to public requests |
Method | ex_unmap_cloud_ip | Unmaps a cloud IP address from its current destination making it available to remap. This remains in the account's pool of addresses |
Method | ex_destroy_cloud_ip | Release the cloud IP address from the account's ownership |
Method | _to_node | Undocumented |
Method | _to_image | Undocumented |
Method | _to_size | Undocumented |
Method | _to_location | Undocumented |
Method | _post | Undocumented |
Method | _put | Undocumented |
Inherited from NodeDriver:
Method | reboot_node | Reboot a node. |
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. |
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. |
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. Reference:
https://api.gb1.brightbox.com/1.0/#server_create_server
Parameters | ex_userdata | User data (type: str ) |
ex_servergroup | Name or list of server group ids to add server to (type: str or list of str s) |
Parameters | location | The location at which to list images (type: NodeLocation ) |
Returns | list of NodeImage
objects |
Parameters | location | The location at which to list sizes (type: NodeLocation ) |
Returns | list of NodeSize
objects |
Returns | list of NodeLocation
objects |
Returns | list of dict | |
Note | This is an API extension for use on Brightbox |
Parameters | reverse_dns | Reverse DNS hostname (type: str ) |
Returns | dict | |
Note | This is an API extension for use on Brightbox |
Parameters | cloud_ip_id | The id of the cloud ip. (type: str ) |
reverse_dns | Reverse DNS hostname (type: str ) | |
Returns | dict | |
Note | This is an API extension for use on Brightbox |
Parameters | cloud_ip_id | The id of the cloud ip. (type: str ) |
interface_id | The Interface ID or LoadBalancer ID to which this Cloud IP should be mapped
to (type: str ) | |
Returns | bool True if the mapping was successful. | |
Note | This is an API extension for use on Brightbox |
Parameters | cloud_ip_id | The id of the cloud ip. (type: str ) |
Returns | bool True if the unmap was successful. | |
Note | This is an API extension for use on Brightbox |
Parameters | cloud_ip_id | The id of the cloud ip. (type: str ) |
Returns | bool True if the unmap was successful. | |
Note | This is an API extension for use on Brightbox |