Skip to content

Commit

Permalink
Export Terremark provider via get_provider.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/libcloud/trunk@1186462 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Kami committed Oct 19, 2011
1 parent 5feadaa commit 659e027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcloud/compute/providers.py
Expand Up @@ -91,6 +91,8 @@
('libcloud.compute.drivers.openstack', 'OpenStackNodeDriver'),
Provider.NINEFOLD:
('libcloud.compute.drivers.ninefold', 'NinefoldNodeDriver'),
Provider.TERREMARK:
('libcloud.compute.drivers.vcloud', 'TerremarkDriver')
}

def get_driver(provider):
Expand Down
2 changes: 2 additions & 0 deletions libcloud/compute/types.py
Expand Up @@ -55,6 +55,7 @@ class Provider(object):
@cvar BLUEBOX: Bluebox
@cvar OPSOURCE: Opsource Cloud
@cvar NINEFOLD: Ninefold
@cvar TERREMARK: Terremark
"""
DUMMY = 0
EC2 = 1 # deprecated name
Expand Down Expand Up @@ -93,6 +94,7 @@ class Provider(object):
SKALICLOUD = 32
SERVERLOVE = 33
NINEFOLD = 34
TERREMARK = 35

class NodeState(object):
"""
Expand Down

0 comments on commit 659e027

Please sign in to comment.