Skip to content

Add support for adding a family to an image. - #704

Closed
illfelder wants to merge 1 commit into
apache:trunkfrom
illfelder:trunk
Closed

Add support for adding a family to an image.#704
illfelder wants to merge 1 commit into
apache:trunkfrom
illfelder:trunk

Conversation

@illfelder

Copy link
Copy Markdown
Contributor

The feature is currently in beta, and will allow users to reference the latest, non-deprecated, image for a given family via the API.

@tonybaloney

Copy link
Copy Markdown
Contributor

Hi. Changes look good. So the feature in GCE is beta? Any idea when it will be completed? @erjohnso

@illfelder

Copy link
Copy Markdown
Contributor Author

The feature is already in beta, but our plan for releasing it into the v1 API includes making third party client updates. You can view the documentation for a new "getFromFamily" API endpoint here: https://cloud.google.com/compute/docs/reference/beta/images/getFromFamily

Image publishers need to create new images with the family property set before the feature will be generally useful. In order to begin the transition, we are making API client updates that enable using the feature during image creation.

@tonybaloney

Copy link
Copy Markdown
Contributor

Understood. Wouldn't want to introduce a chicken & egg then. Changes LGTM 👍

image_data['zone'] = volume.extra['zone'].name
elif isinstance(volume, str) and \
volume.startswith('https://') and volume.endswith('tar.gz'):
elif (isinstance(volume, str) and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should make a todo here about unicode support wrt, Python 2/3

@asfgit asfgit closed this in 41ff551 Feb 14, 2016
asfgit pushed a commit that referenced this pull request Feb 14, 2016
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