The ironic.common.glance_service.base_image_service Module

The ironic.common.glance_service.base_image_service Module

class ironic.common.glance_service.base_image_service.BaseImageService(client=None, version=1, context=None)[source]

Bases: object

call(method, *args, **kwargs)[source]

Call a glance client method.

If we get a connection error, retry the request according to CONF.glance_num_retries.

  • context – The request context, for access checks.
  • version – The requested API version.v
  • method – The method requested to be called.
  • args – A list of positional arguments for the method called
  • kwargs – A dict of keyword arguments for the method called


Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.