Skip to content
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

LIBCLOUD-698 rename OpSource Dimension Data. Added Dimension Data driver... #507

Conversation

tonybaloney
Copy link
Contributor

As per LIBCLOUD-698, OpSource is now Dimension Data.
Added an additional driver (complete copy).

@Kami
Copy link
Member

Kami commented May 3, 2015

Sorry for the delay and thanks. Would it be possible for us to get a test account so we can test out the changes on a real installation?

@Kami
Copy link
Member

Kami commented May 3, 2015

Overall, after quickly glancing over it, the changes look good.

Can you please add some documentation to docs/compute/drivers/ (see existing driver / provider documentation for an example)?

step_number=None, step_percentComplete=None,
failureReason=None):
self.action = action
self.requestTime = requestTime
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, looks like this stylistic thing slipped through when we originally reviewed and merged opsource driver.

Variables should use underscore separated names and not camel case. It seems that now that we are adding a new driver is a good time to fix that.

…ver, replaced kwargs with named parameters as per libcloud BP.
@tonybaloney
Copy link
Contributor Author

Commit added to pull request with changes on casing, docstrings and kwargs refactoring. Will work on the documentation side now.

NTTLimitedRD@7faa26f

@tonybaloney
Copy link
Contributor Author

Documentation edits have been contributed back to the branch.

Please let me know if we can move ahead.

type = Provider.DIMENSIONDATA
features = {'create_node': ['password']}

def create_node(self, name, image, auth, ex_description,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot better, thanks :)

@Kami
Copy link
Member

Kami commented May 4, 2015

@tonybaloney Thanks, changes look good.

Can you please squash the commits and I will go ahead and merge it into trunk.

…ver.

LIBCLOUD-698 Added provider type for dimension data

LIBCLOUD-698 Added missing text fixtures and test parameters

LIBCLOUD-698 Reformatted lines as "DimensionData" is quite a long string, PEP8 compliance completed.

LIBCLOUD-698 worked through casing changes from original opsource driver, replaced kwargs with named parameters as per libcloud BP.

LIBCLOUD-698 Added some documentation of the driver

LIBCLOUD-698 Added indexes and support matrix for the driver
@tonybaloney
Copy link
Contributor Author

This is the squashed commit.
NTTLimitedRD@c2b4ba6

@tonybaloney
Copy link
Contributor Author

Patch diff file attached to jira ticket: https://issues.apache.org/jira/browse/LIBCLOUD-698

@@ -9,7 +9,8 @@ Provider list volumes create volume destroy volume
`CloudFrames`_ no no no no no no no
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for the future reference - those documents are updated automatically using ./contrib/generate_provider_feature_matrix_table.py script.

@asfgit asfgit closed this in 119c190 May 6, 2015
@Kami
Copy link
Member

Kami commented May 6, 2015

Merged into trunk. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants