cloudmesh_client.cloud.iaas.provider.libcloud package¶
Submodules¶
cloudmesh_client.cloud.iaas.provider.libcloud.CloudProviderLibcloud module¶
-
class
cloudmesh_client.cloud.iaas.provider.libcloud.CloudProviderLibcloud.
CloudProviderLibcloud
(cloud_name, cloud_details, user=None, flat=True)[source]¶ Bases:
cloudmesh_client.cloud.iaas.CloudProviderBase.CloudProviderBase
-
add_key_to_cloud
(name, public_key)[source]¶ Method to add key to libcloud based clouds, typically a keypair for AWS EC2. :param name: Name of the keypair. :param public_key: public key string. :return:
-
boot_vm
(name, image=None, flavor=None, cloud=None, key=None, secgroup=None, meta=None, nics=None, **kwargs)[source]¶ Spawns a VM instance on the cloud. If image and flavor passed as none, it would consider the defaults specified in cloudmesh.yaml.
Parameters: - name – Name of the instance to be started
- image – Image id to be used for the instance
- flavor – Flavor to be used for the instance
- cloud – Cloud on which to spawn the machine. Defaults to ‘India’.
- key – Key to be used for the instance
- secgroup – Security group for the instance
- nics – TODO: fixme
- meta – A dict of arbitrary key/value metadata to store for this server
-
debug
= True¶
-
cloudmesh_client.cloud.iaas.provider.libcloud.CloudProviderLibcloudEC2 module¶
-
class
cloudmesh_client.cloud.iaas.provider.libcloud.CloudProviderLibcloudEC2.
CloudProviderLibcloudEC2
(cloud_name, cloud_details, user=None, flat=True)[source]¶ Bases:
cloudmesh_client.cloud.iaas.provider.libcloud.CloudProviderLibcloud.CloudProviderLibcloud