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 2019/07/15 21:30:09 UTC

[libcloud] 15/19: Add features entry to the driver class to indicate that it support pub key based deploy_node() functionality.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit eee4f4367e3822b8a23ae5d0e285ea7aa0979371
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jul 15 23:18:12 2019 +0200

    Add features entry to the driver class to indicate that it support pub
    key based deploy_node() functionality.
---
 libcloud/compute/drivers/gridscale.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcloud/compute/drivers/gridscale.py b/libcloud/compute/drivers/gridscale.py
index 793eb24..9d19988 100644
--- a/libcloud/compute/drivers/gridscale.py
+++ b/libcloud/compute/drivers/gridscale.py
@@ -91,6 +91,7 @@ class GridscaleNodeDriver(GridscaleBaseDriver):
     type = Provider.GRIDSCALE
     name = 'gridscale'
     website = 'https://gridscale.io'
+    features = {'create_node': ['ssh_key']}
 
     def __init__(self, user_id, key, **kwargs):
         super(GridscaleNodeDriver, self).__init__(user_id, key, **kwargs)