glance.db.
ImageProxy
(image, context, db_api)[source]¶Bases: glance.domain.proxy.Image
glance.db.
ImageRepo
(context, db_api)[source]¶Bases: object
glance.db.
get_api
(v1_mode=False)[source]¶When using v2_registry with v2_api or alone, it is essential that the opt ‘data_api’ be set to ‘glance.db.registry.api’. This requires us to differentiate what this method returns as the db api. i.e., we do not want to return ‘glance.db.registry.api’ for a call from v1 api. Reference bug #1516706
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.