-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Cloudwatt driver #338
Conversation
@@ -121,6 +121,7 @@ class Provider(object): | |||
IKOULA = 'ikoula' | |||
OUTSCALE_SAS = 'outscale_sas' | |||
OUTSCALE_INC = 'outscale_inc' | |||
CLOUDWATT = 'cloudwatt' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, can you put this under the #OpenStack based providers ….couple lines below ?
@@ -0,0 +1,147 @@ | |||
# contributor license agreements. See the NOTICE file distributed with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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()
.