GitHub user erjohnso opened a pull request:
https://github.com/apache/libcloud/pull/391
[google compute] Adding GCE DiskTypes resource - part 1
Adding GCE DiskTypes[1] support - part 1.
The GCE driver fakes support for DiskTypes at the moment and relies on a
string `pd-ssd` or `pd-standard` for users to select the disktype. This PR sets
the ground work to add GCE native DiskTypes that will be easier to expand in
the future. For instance, Google has already introduced a `local-ssd` option.
I opted to split this up into two PRs so that this one only introduces a
new libcloud object and does not tinker with existing "fake" disk-types. Part
2 will be a follow-up to this one to update existing use of the string-version
option and also allow using the new GCEDiskType object.
[1] https://cloud.google.com/compute/docs/reference/latest/diskTypes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/erjohnso/libcloud GCE_DiskTypes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/391.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 #391
----
commit 3a44d8241602357bc864dfb9abbfec4547853b88
Author: Eric Johnson <[email protected]>
Date: 2014-11-13T23:19:31Z
[google compute] adding new DiskType resource
commit 957455617d963a5723c35a0bfd854ad63988e32e
Author: Eric Johnson <[email protected]>
Date: 2014-11-13T23:37:09Z
[google compute] fixing lint issues
----
---
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.
---