Added Cloudwatt driver#338
Conversation
There was a problem hiding this comment.
Hi, can you put this under the #OpenStack based providers ….couple lines below ?
There was a problem hiding this comment.
Missing first line of the license header - # Licensed to the Apache Software Foundation (ASF) under one or more
|
@ZuluPro Let me know once those comments have been addressed and I will get the PR merged. |
|
Ok, thx! I'm not dead only in holydays... |
|
@ZuluPro Hey, any progress on this? It would be great if those comments would get addressed so the driver can be included in the next release. |
Fix import simplejson as json Moved service_type & auth_url in Connection
|
All your requests are now fixed at master of my fork. I fixed the first line of License |
|
Do you want me to remake this patch from actual trunk ? |
|
Hi @ZuluPro sorry for the delay. Can you rebase on trunk and squash your commits. We will then look into merging it. |
|
Ok, I will make ! |
|
@ZuluPro Thanks. Is it possible to get a test Cloudwatt account / credentials? I would like to test this driver before merging those changes into trunk. |
|
@Kami, Sorry, my account is only for work purpose, Maybe you can ask them one account with notoriety of libcloud ? |
|
@ZuluPro I've made some changes so it works with the latest OpenStack auth refactoring (8aa3e27) and merged changes into trunk. Next time please make sure you create a branch for your changes and don't directly commit to trunk - this will make it easier for both of us (this time, I needed to do some git foo and rebase to get it into mergable state). Please also submit a new pull request which inclues documentation and usage examples for the driver (see Thanks. |
Added Driver for new French cloud provider Cloudwatt https://www.cloudwatt.com/fr/
This provider is based on OpenStack but uses a custom kind of authentication,
The request data must look like below:
{'auth': {
'passwordCredentials': {
'username': 'THE_USERNAME',
'password': 'THE_PASSWORD'
},
'tenantId': 'THE_TENANT_ID
}}
So, I adapt classes to accept tenant_id argument.
I manually tested it with a custom script and
Driver.list_nodes().