Part of libcloud.drivers.ec2 View Source View In Hierarchy
Known subclasses: libcloud.drivers.ec2.EC2APSENodeDriver, libcloud.drivers.ec2.EC2EUNodeDriver, libcloud.drivers.ec2.EC2USWestNodeDriver, libcloud.drivers.ec2.EucNodeDriver
Method | list_nodes | List all nodes @return: list of Node objects |
Method | list_sizes | List sizes on a provider @return: list of NodeSize objects |
Method | list_images | List images on a provider @return: list of NodeImage objects |
Method | list_locations | List data centers for a provider @return: list of NodeLocation
objects |
Method | ex_create_keypair | Creates a new keypair |
Method | ex_import_keypair | imports a new public key |
Method | ex_describe_keypairs | Describes a keypiar by name |
Method | ex_create_security_group | Creates a new Security Group |
Method | ex_authorize_security_group_permissive | Edit a Security Group to allow all traffic. |
Method | ex_list_availability_zones | Return a list of ExEC2AvailabilityZone
objects for the current region. |
Method | create_node | Create a new EC2 node |
Method | reboot_node | Reboot the node by passing in the node object |
Method | destroy_node | Destroy node by passing in the node object |
Method | _findtext | Undocumented |
Method | _fixxpath | Undocumented |
Method | _findattr | Undocumented |
Method | _findall | Undocumented |
Method | _pathlist | Converts a key and an array of values into AWS query param format. |
Method | _get_boolean | Undocumented |
Method | _get_terminate_boolean | Undocumented |
Method | _to_nodes | Undocumented |
Method | _to_node | Undocumented |
Method | _to_images | Undocumented |
Method | _to_image | Undocumented |
Inherited from NodeDriver:
Method | __init__ | |
Method | deploy_node | Create a new node, and start deployment. |
Returns | list of Node objects |
Returns | list of NodeSize objects |
Returns | list of NodeImage objects |
Returns | list of NodeLocation
objects |
Parameters | name | The name of the keypair to Create. This must be unique, otherwise an
InvalidKeyPair.Duplicate exception is raised. (type: str ) |
Note | This is a non-standard extension API, and only works for EC2. |
Parameters | name | The name of the public key to import. This must be unique, otherwise an
InvalidKeyPair.Duplicate exception is raised. (type: str ) |
keyfile | The filename with path of the public key to import. (type: str ) | |
Note | This is a non-standard extension API, and only works for EC2. |
Parameters | name | The name of the keypair to describe. (type: str ) |
Note | This is a non-standard extension API, and only works for EC2. |
Parameters | name | The name of the security group to Create. This must be unique. (type: str ) |
description | Human readable description of a Security Group. (type: str ) | |
Note | This is a non-standard extension API, and only works for EC2. |
Parameters | name | The name of the security group to edit (type: str ) |
Note | This is a non-standard extension API, and only works for EC2. |
ExEC2AvailabilityZone
objects for the current region.
Note: This is an extension method and is only available for EC2 driver.
Parameters | only_available | If true, return only availability zones with state 'available' (type: string ) |
See NodeDriver.create_node
for more keyword args. Reference: http://bit.ly/8ZyPSy
[docs.amazonwebservices.com]
Parameters | ex_mincount | Minimum number of instances to launch (type: int ) |
ex_maxcount | Maximum number of instances to launch (type: int ) | |
ex_securitygroup | Name of security group (type: str ) | |
ex_keyname | The name of the key pair (type: str ) | |
ex_userdata | User data (type: str ) | |
ex_clienttoken | Unique identifier to ensure idempotency (type: str ) |