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

nuwan_ag b6103b0c32 Added automatic test case generation for provider implementations. 11 tahun lalu
cloudbridge cca41c51af Added missing base class file 11 tahun lalu
test b6103b0c32 Added automatic test case generation for provider implementations. 11 tahun lalu
.gitignore 1500caecff Initial commit 11 tahun lalu
LICENSE 1500caecff Initial commit 11 tahun lalu
README.md 691f4e4970 Auto-applied pep8 on save. Fixed other pep8 violations. 11 tahun lalu
example.py 1ae20f0017 Simplified example and remove nose requirement. 11 tahun lalu
requirements.txt 1ae20f0017 Simplified example and remove nose requirement. 11 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.util import Bunch

config = Bunch(access_key='a_key',
               secret_key='s_key')

provider = CloudProviderFactory().create_provider(ProviderList.EC2, config)
print provider.security.list_key_pairs()