A consistent interface to multiple IaaS clouds; in Python http://cloudbridge.cloudve.org

Enis Afgan e7524f219d Make CloudProviderFactory class functional. Add/update a bunch of doctrings. Add interface definitions for KeyPair, SecityGroup, and Snapshot 10 tahun lalu
cloudbridge e7524f219d Make CloudProviderFactory class functional. Add/update a bunch of doctrings. Add interface definitions for KeyPair, SecityGroup, and Snapshot 10 tahun lalu
.gitignore 1500caecff Initial commit 10 tahun lalu
LICENSE 1500caecff Initial commit 10 tahun lalu
README.md 64002569f9 Create README.md 10 tahun lalu

README.md

libcloudbridge

libcloudbridge provides a layer of abstraction over different cloud providers. It's a straightfoward implementation of the bridge pattern.

Usage example

from cloudbridge.providers.interfaces import CloudProviderFactory
from cloudbridge.providers.interfaces import CloudProvider


ec2driver = CloudProviderFactory().get_interface_V1("EC2")
provider = ec2driver(access_key="", secret_key="", region="", port="", connection_path="")
instances = provider.Compute.list_instances()
regions = provider.Compute.list_regions()
images = provider.Images.list_images()
volumes = provider.BlockStore.list_volumes()

provider.Compute.launch_instance("my_instance", regions[0], images[0])