Skip to content

[LIBCLOUD-596] Add SSD support to GCE Compute driver#339

Closed
erjohnso wants to merge 3 commits into
apache:trunkfrom
erjohnso:LIBCLOUD-596_SSD_for_GCE
Closed

[LIBCLOUD-596] Add SSD support to GCE Compute driver#339
erjohnso wants to merge 3 commits into
apache:trunkfrom
erjohnso:LIBCLOUD-596_SSD_for_GCE

Conversation

@erjohnso
Copy link
Copy Markdown
Contributor

Contributing support for SSD persistent disks to Google Compute Engine driver. SSD was recently introduced [https://developers.google.com/compute/docs/disks#typeofdisks].

Changed default disk size to 10 GB in test fixtures "just because".

@wrigri - mind taking a look?

Comment thread libcloud/compute/drivers/gce.py Outdated
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.

disk_type and disk_auto_delete are extension arguments so please prefix them with ex_ (ex_disk_type, ex_disk_auto_delete).

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.

(minor style thing) For consistency, please use single quotes around strings.

@erjohnso
Copy link
Copy Markdown
Contributor Author

Thanks for the review @Kami! Addressed feedback and travis is happy.

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.

Not needed for this pull request, but eventually it would be nice to update this call to use keyword arguments.

@asfgit asfgit closed this in e3edf27 Jul 21, 2014
@Kami
Copy link
Copy Markdown
Member

Kami commented Jul 21, 2014

Merged into trunk. Thanks.

@erjohnso
Copy link
Copy Markdown
Contributor Author

@Kami - I'm not sure how I managed to do this, but looks like I snuck in copy of the GCE driver, https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/gce.py.orig :-(

@Kami
Copy link
Copy Markdown
Member

Kami commented Jul 21, 2014

Heh, I guess I've failed at the code review :)

Anyways, good catch, removed in 0753835.

@erjohnso erjohnso deleted the LIBCLOUD-596_SSD_for_GCE branch October 17, 2014 13:10
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