apache/libcloud — pull request #391 by erjohnso (2014-11-14 15:24:47+00:00)
Title: [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