Part of libcloud.drivers.rimuhosting View Source View In Hierarchy
Method | __init__ | |
Method | list_sizes | List sizes on a provider @return: list of NodeSize objects |
Method | list_nodes | List all nodes @return: list of Node objects |
Method | list_images | List images on a provider @return: list of NodeImage objects |
Method | reboot_node | Reboot a node. @return: bool True if the reboot was
successful, otherwise False |
Method | destroy_node | Destroy a node. |
Method | create_node | Creates a RimuHosting instance |
Method | list_locations | List data centers for a provider @return: list of NodeLocation
objects |
Method | _order_uri | Undocumented |
Method | _to_node | Undocumented |
Method | _to_size | Undocumented |
Method | _to_image | Undocumented |
Inherited from NodeDriver:
Method | deploy_node | Create a new node, and start deployment. |
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) |
Returns | list of NodeSize objects |
Returns | list of Node objects |
Returns | list of NodeImage objects |
Returns | bool True if the reboot was successful, otherwise False |
Depending upon the provider, this may destroy all data associated with the node, including backups.
Returns | bool True if the destroy was successful, otherwise False |
See NodeDriver.create_node
for more keyword args.
Parameters | name | Must be a FQDN. e.g example.com. (type: string ) |
ex_billing_oid | If not set, a billing method is automatically picked. (type: string ) | |
ex_host_server_oid | The host server to set the VPS up on. (type: string ) | |
ex_vps_order_oid_to_clone | Clone another VPS to use as the image for the new VPS. (type: string ) | |
ex_num_ips | Number of IPs to allocate. Defaults to 1. (type: int ) | |
ex_extra_ip_reason | Reason for needing the extra IPs. (type: string ) | |
ex_memory_mb | Memory to allocate to the VPS. (type: int ) | |
ex_disk_space_mb | Diskspace to allocate to the VPS. Defaults to 4096 (4GB). (type: int ) | |
ex_disk_space_2_mb | Secondary disk size allocation. Disabled by default. (type: int ) | |
ex_control_panel | Control panel to install on the VPS. (type: string ) |
Returns | list of NodeLocation
objects |