glance.opts module¶
- glance.opts.list_api_opts()[source]¶
Return a list of oslo_config options available in Glance API service.
Each element of the list is a tuple. The first element is the name of the group under which the list of elements in the second element will be registered. A group name of None corresponds to the [DEFAULT] group in config files.
This function is also discoverable via the ‘glance.api’ entry point under the ‘oslo_config.opts’ namespace.
The purpose of this is to allow tools like the Oslo sample config file generator to discover the options exposed to users by Glance.
- Returns:
a list of (group_name, opts) tuples
- glance.opts.list_cache_opts()[source]¶
Return a list of oslo_config options available in Glance Cache service.
- glance.opts.list_image_import_opts()[source]¶
Return a list of oslo_config options available for Image Import