[
https://issues.apache.org/jira/browse/LIBCLOUD-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666132#comment-13666132
]
sebastien goasguen commented on LIBCLOUD-330:
---------------------------------------------
Do you prefer something like this:
>From a459d73477da21fe54c2c44fee1109aa800e7817 Mon Sep 17 00:00:00 2001
From: Sebastien Goasguen <[email protected]>
Date: Fri, 24 May 2013 05:07:14 -0400
Subject: [PATCH] LIBCLOUD-330: handles kwargs for deploy
---
libcloud/compute/drivers/cloudstack.py | 1 +
1 file changed, 1 insertion(+)
diff --git libcloud/compute/drivers/cloudstack.py
libcloud/compute/drivers/cloudstack.py
index c2f2ad7..29d26d6 100644
--- libcloud/compute/drivers/cloudstack.py
+++ libcloud/compute/drivers/cloudstack.py
@@ -265,6 +265,7 @@ class CloudStackNodeDriver(CloudStackDriverMixIn,
NodeDriver):
'zoneid': location.id,
'ip_addresses': [],
'forwarding_rules': [],
+ 'keypair': kwargs.get('keypair','None'),
}
)
--
1.8.1.3
The deployVirtualMachine call in CloudStack has over 20 parameters:
http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/deployVirtualMachine.html
I don't know if you want me to list them all explicitly.
> CloudStack driver does not take extra args in the deployVirtualMachine call
> ---------------------------------------------------------------------------
>
> Key: LIBCLOUD-330
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-330
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Environment: latest libcloud trunk
> Reporter: sebastien goasguen
>
> the extra args in the create_node() is an empty dictionary, therefore things
> like keypairs cannot be passed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira