Part of libcloud.compute.drivers.gandi View Source View In Hierarchy
Method | list_nodes | List all nodes @return: list of node objects @rtype: list
of Node |
Method | reboot_node | Reboot a node. |
Method | destroy_node | Destroy a node. |
Method | deploy_node | deploy_node is not implemented for gandi driver |
Method | create_node | Create a new Gandi node |
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 |
Method | list_volumes 0 | List all volumes |
Method | create_volume 0 | Undocumented |
Method | attach_volume 0 | Attach a volume to a node |
Method | detach_volume 0 | Detach a volume from a node |
Method | destroy_volume 0 | Undocumented |
Method | list_volumes 1 | List all volumes |
Method | create_volume 1 | Undocumented |
Method | attach_volume 1 | Attach a volume to a node |
Method | detach_volume 1 | Detach a volume from a node |
Method | destroy_volume 1 | Undocumented |
Method | list_volumes 2 | List all volumes |
Method | create_volume 2 | Undocumented |
Method | attach_volume 2 | Attach a volume to a node |
Method | detach_volume 2 | Detach a volume from a node |
Method | destroy_volume 2 | Undocumented |
Method | list_volumes | List all volumes |
Method | create_volume | Create a new volume. |
Method | attach_volume | Attach a volume to a node |
Method | detach_volume | Detach a volume from a node |
Method | destroy_volume | Destroys a storage volume. |
Method | ex_list_interfaces | Specific method to list network interfaces |
Method | ex_list_disks | Specific method to list all disk |
Method | ex_node_attach_disk | Specific method to attach a disk to a node |
Method | ex_node_detach_disk | Specific method to detach a disk from a node |
Method | ex_node_attach_interface | Specific method to attach an interface to a node |
Method | ex_node_detach_interface | Specific method to detach an interface from a node |
Method | ex_snapshot_disk | Specific method to make a snapshot of a disk |
Method | ex_update_disk | Specific method to update size or name of a disk WARNING: if a server is attached it'll be rebooted |
Method | _resource_info | Undocumented |
Method | _node_info | Undocumented |
Method | _volume_info | Undocumented |
Method | _to_node | Undocumented |
Method | _to_nodes | Undocumented |
Method | _to_volume 0 | Undocumented |
Method | _to_volumes 0 | Undocumented |
Method | _to_volume 1 | Undocumented |
Method | _to_volumes 1 | Undocumented |
Method | _to_volume 2 | Undocumented |
Method | _to_volumes 2 | Undocumented |
Method | _to_volume | Undocumented |
Method | _to_volumes | Undocumented |
Method | _to_image | Undocumented |
Method | _to_size | Undocumented |
Method | _to_loc | Undocumented |
Method | _to_iface | Undocumented |
Method | _to_ifaces | Undocumented |
Method | _to_disk | Undocumented |
Method | _to_disks | Undocumented |
Inherited from BaseGandiDriver:
Method | __init__ | |
Method | _wait_operation | Wait for an operation to succeed |
Inherited from NodeDriver:
Method | __init__ | |
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 | node | The node to be rebooted (type: Node ) |
Returns | True if the reboot was successful, otherwise False (type: bool ) |
Depending upon the provider, this may destroy all data associated with the node, including backups.
Parameters | node | The node to be destroyed (type: Node ) |
Returns | True if the destroy was successful, otherwise False (type: bool ) |
Returns | (type: bool ) |
Parameters | name | String with a name for this new node (required) (type: str ) |
image | OS Image to boot on node. (required) (type: NodeImage ) | |
location | Which data center to create a node in. If empty, undefined behavior will be
selected. (optional) (type: NodeLocation ) | |
size | The size of resources allocated to this node. (required) (type: NodeSize ) | |
login | user name to create for login on machine (required) (type: str ) | |
password | password for user that'll be created (required) (type: str ) | |
inet_family | version of ip to use, default 4 (optional) (type: int ) | |
Returns | (type: Node ) |
Parameters | location | The location at which to list images (type: NodeLocation ) |
Returns | list of node image objects (type: list of NodeImage ) |
Parameters | location | The location at which to list sizes (type: NodeLocation ) |
Returns | list of node size objects (type: list of NodeSize ) |
Returns | list of node location objects (type: list of NodeLocation ) |
Parameters | size | Size of volume in gigabytes (required) (type: int ) |
name | Name of the volume to be created (type: str ) | |
location | Which data center to create a volume in. If empty, undefined behavoir will
be selected. (optional) (type: NodeLocation ) | |
snapshot | Name of snapshot from which to create the new volume. (optional) (type: str ) | |
Returns | The newly created volume. (type: StorageVolume ) |
Parameters | volume | Volume to be destroyed (type: StorageVolume ) |
Returns | (type: bool ) |
Returns | (type: list of GandiNetworkInterface ) |
Parameters | node | Node which should be used (type: Node ) |
disk | Disk which should be used (type: GandiDisk ) | |
Returns | (type: bool ) |
Parameters | node | Node which should be used (type: Node ) |
disk | Disk which should be used (type: GandiDisk ) | |
Returns | (type: bool ) |
Parameters | node | Node which should be used (type: Node ) |
iface | Network interface which should be used (type: GandiNetworkInterface ) | |
Returns | (type: bool ) |
Parameters | node | Node which should be used (type: Node ) |
iface | Network interface which should be used (type: GandiNetworkInterface ) | |
Returns | (type: bool ) |
Parameters | disk | Disk which should be used (type: GandiDisk ) |
name | Name which should be used (type: str ) | |
Returns | (type: bool ) |
Parameters | disk | Disk which should be used (type: GandiDisk ) |
new_size | New size (type: int ) | |
new_name | New name (type: str ) | |
Returns | (type: bool ) |