Skip to content

Gandi Compute Driver improvement#534

Closed
ZuluPro wants to merge 5 commits intoapache:trunkfrom
ZuluPro:gandi_pr
Closed

Gandi Compute Driver improvement#534
ZuluPro wants to merge 5 commits intoapache:trunkfrom
ZuluPro:gandi_pr

Conversation

@ZuluPro
Copy link
Copy Markdown
Contributor

@ZuluPro ZuluPro commented Jun 4, 2015

  • Added sphinx documentation with example of node creation
  • Added docstring for all public methods
  • Added SSH keypair management: list, get, import, delete
  • Change authentification initialisation in create_node: User must choose between login/password, SSH keys or both
  • Added ex_get_node and ex_get_volume
  • Added tests for all commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need to fix this to use auth argument, but that's fine for now.

@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 5, 2015

There are some minor style issues (method ordering), besides that it looks good to me.

@ZuluPro
Copy link
Copy Markdown
Contributor Author

ZuluPro commented Jun 8, 2015

I changed key_id for name. I also change the function behavior for list and filter instead of directly get object.

For next commits, how must I raise Error for an unfound KeyPair ? Is there a hierarchy of Exceptions to use ?

@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 13, 2015

@ZuluPro Great.

There is libcloud.compute.types.KeyPairDoesNotExistError.

@asfgit asfgit closed this in 562e4d2 Jun 13, 2015
asfgit pushed a commit that referenced this pull request Jun 13, 2015
Closes #534

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
asfgit pushed a commit that referenced this pull request Jun 13, 2015
Closes #534

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
asfgit pushed a commit that referenced this pull request Jun 13, 2015
Closes #534

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
asfgit pushed a commit that referenced this pull request Jun 13, 2015
Closes #534

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 13, 2015

Changes 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.

2 participants