Images¶
-
class
novaclient.v2.images.GlanceManager(api) Bases:
novaclient.base.ManagerUse 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_image(name_or_id) Find an image by name or id (user provided input).
-
list() Get a detailed list of all images.
Return type: list of Image
-
resource_class alias of
Image
-
-
class
novaclient.v2.images.Image(manager, info, loaded=False, resp=None) Bases:
novaclient.base.ResourcePopulate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- resp – Response or list of Response objects
-
HUMAN_ID= True