Bases: Manager
Use glance directly from service catalog.
This is used to do name to id lookups for images and listing images for the –image-with option to the ‘boot’ command. Do not use it for anything else besides that. You have been warned.
Find an image by name or id (user provided input).
Find multiple images by name or id (user provided input).
names_or_ids – A list of strings to use to find images.
novaclient.v2.images.Image objects for each images found
exceptions.NotFound – If one or more images is not found
exceptions.ClientException – If the image service returns any unexpected images.
NOTE: This method always makes two calls to the image service, even if only one image is provided by ID and is returned in the first query.
Bases: Resource
Populate and bind to a manager.
manager – BaseManager object
info – dictionary representing resource attributes
loaded – prevent lazy-loading if set to True
resp – Response or list of Response objects
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.