Repository: libcloud
Updated Branches:
  refs/heads/trunk 0ec53b13a -> e2e17414d


Add tags extra attribute to DigitalOcean compute

Signed-off-by: Rick van de Loo <[email protected]>


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

Branch: refs/heads/trunk
Commit: 20772123a1528723d6fafd43102da47121846e72
Parents: 0ec53b1
Author: Nikita Chebykin <[email protected]>
Authored: Sun May 20 17:21:08 2018 +0200
Committer: Rick van de Loo <[email protected]>
Committed: Sat Jun 30 12:05:39 2018 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/digitalocean.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/20772123/libcloud/compute/drivers/digitalocean.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/digitalocean.py 
b/libcloud/compute/drivers/digitalocean.py
index 12e4a60..f883763 100644
--- a/libcloud/compute/drivers/digitalocean.py
+++ b/libcloud/compute/drivers/digitalocean.py
@@ -95,6 +95,7 @@ class DigitalOcean_v2_NodeDriver(DigitalOcean_v2_BaseDriver,
     EX_CREATE_ATTRIBUTES = ['backups',
                             'ipv6',
                             'private_networking',
+                            'tags',
                             'ssh_keys']
 
     def list_images(self):
@@ -138,6 +139,7 @@ class DigitalOcean_v2_NodeDriver(DigitalOcean_v2_BaseDriver,
         * `backups`: ``bool`` defaults to False
         * `ipv6`: ``bool`` defaults to False
         * `private_networking`: ``bool`` defaults to False
+        * `tags`: ``list`` of ``str`` tags
         * `user_data`: ``str`` for cloud-config data
         * `ssh_keys`: ``list`` of ``int`` key ids or ``str`` fingerprints
 

Reply via email to