GitHub user jadunham1 opened a pull request:
https://github.com/apache/libcloud/pull/723
Feature/customer image pass
Added a few things here:
ex_get_base_image_by_id
ex_get_customer_image_by_id
ex_get_image_by_id (combines the two above, make it easier on the developer
if you don't know if the img is base/customer)
The main reason for this code change is that LINUX customer images cannot
be provisioned via libcloud currently for Dimension Data. This is because the
password field is not required and infact the API returns an error if you do
add one.
This change will not add the password field if you don't need a password
and compatible with how we were randomly generating passwords if they are
needed and aren't supplied.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jadunham1/libcloud feature/customer_image_pass
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/723.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #723
----
commit 2a19d4e291bf29d8ae02fb85ab5f1d43bebc36a9
Author: Jeffrey Dunham <[email protected]>
Date: 2016-03-15T20:51:53Z
Adding calls around get images by ids and removing passwords from customer
linux images
commit 44f73c54a077732dd656ae62680fa605962d6779
Author: Jeffrey Dunham <[email protected]>
Date: 2016-03-15T20:56:52Z
Making not adding the password more explicit
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---