openstack.image.v2.service_info

The Store Class

The Store class inherits from Resource.

class openstack.image.v2.service_info.Store(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

description

Description of the store

is_default

default

delete_image(session, image, *, ignore_missing=False)

Delete image from store

Parameters
  • session – The session to use for making this request.

  • image – The value can be either the ID of an image or a Image instance.

Returns

The result of the delete if resource found, else None.

Raises

ResourceNotFound when ignore_missing if False and a nonexistent resource is attempted to be deleted.

The Import Info Class

The Import class inherits from Resource.

class openstack.image.v2.service_info.Import(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

import_methods

import methods