GitHub user wrigri opened a pull request:
https://github.com/apache/libcloud/pull/778
Add support for Google Compute Engine Image Families
## Support for Google Compute Engine Image Families
### Description
Google Compute Engine has a new feature that allows one to specify an image
using a "family". This will return the latest, non-deprecated image that has
been created in the given project with that family attribute. This change adds
support for using an image family in create_node and create_volume as well as a
new method ex_get_image_from_family that will return an image resource from a
family name.
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [X] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [X] Documentation
- [X] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [X]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
Lint is clean for the changes, the changes have nearly 100% test coverage,
and docstrings have been updated appropriately.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wrigri/libcloud gce_image_family
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/778.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 #778
----
commit a4825fd8fca1602e4af963157bd9018b0b05ae1e
Author: Rick Wright <[email protected]>
Date: 2016-04-26T22:07:46Z
Add support for Google Compute Engine Image Families
Add the ability to specify an "Image Family" for creating a node and/or
volume, and the ability to get an image object from a family name.
----
---
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.
---