You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2015/06/14 12:52:31 UTC

[20/21] libcloud git commit: Add back a hack so table so compute table is generated correctly.

Add back a hack so table so compute table is generated correctly.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/89522343
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/89522343
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/89522343

Branch: refs/heads/trunk
Commit: 89522343155b3b758657588c282b2cb80ccbf19e
Parents: fa6c99d
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Jun 14 18:17:47 2015 +0800
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Sun Jun 14 18:17:47 2015 +0800

----------------------------------------------------------------------
 contrib/generate_provider_feature_matrix_table.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/89522343/contrib/generate_provider_feature_matrix_table.py
----------------------------------------------------------------------
diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py
index 2538568..bac9823 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -225,6 +225,10 @@ def generate_providers_table(api):
             from libcloud.compute.drivers.opennebula import \
                 OpenNebula_3_8_NodeDriver
             cls = OpenNebula_3_8_NodeDriver
+        elif name.lower() == 'digital_ocean' and api.startswith('compute'):
+            from libcloud.compute.drivers.digitalocean import \
+                DigitalOcean_v2_NodeDriver
+            cls = DigitalOcean_v2_NodeDriver
 
         if name.lower() in IGNORED_PROVIDERS:
             continue