[
https://issues.apache.org/jira/browse/LIBCLOUD-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Woods updated LIBCLOUD-15:
-------------------------------
Attachment: 100427 IBM Developer Cloud.txt
Addressed comments by Paul Querna:
Comments on the patch:
- HOST = 'www-180.ibm.com' ---- Is this a long term DNS name for your service?
It seems
like a 'random' webserver. Is it feasible to use something like
developer-cloud-api.ibm.com
(?)
>> This is the current address used for the IBM Developer Cloud while it's in
>> beta. I expect a more permanent address in the future.
- in parse_error, it raises InvalidCredsException(self.error), but self.error
is essentailly
HTTPResponse.reason. Is there more data that can be parsed out of the body?
>> Great catch -- a more descriptive reason is now given for authentication
>> issues (when available).
- in create_node:
- it uses as an optional kwarg publicKey. It should also look for an auth
parameter with
the type of NodeAuthSSHKey, and then use that if present.
>> Modified to only use the public key in the 'auth' parameter if provided.
- Any examples of what configurationData would be used for? Its kinda an
opaque blob, and
I don't know what it should be used for.
>> The 'configurationData' is a dictionary of image-specific configuration
>> parameters when creating an instance. The supported parameters are defined
>> in a parameters.xml file on the cloud for each image. The URL to this file
>> is given in the NodeImage's extra['parametersURL']. I've added this to the
>> documentation for create_node().
- in _to_location, it uses 'USA' as the country, this should be 'US', as
country is supposed
to be the ISO 3166 country code.
>> Done.
> New IBM Developer Cloud driver
> ------------------------------
>
> Key: LIBCLOUD-15
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-15
> Project: Libcloud
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.3.0
> Reporter: Eric Woods
> Assignee: Eric Woods
> Fix For: 0.3.0
>
> Attachments: 100331 IBM patch.txt, 100402 IBM patch.txt, 100419 IBM
> Developer Cloud complete.txt, 100427 IBM Developer Cloud.txt, IBM Developer
> Cloud REST.pdf
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Developing a libCloud driver for the IBM Developer Cloud.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.