glance.common.location_strategy.store_type module¶
Storage preference based location strategy module
- glance.common.location_strategy.store_type.get_ordered_locations(locations, uri_key='url', **kwargs)[source]¶
Order image location list.
- Parameters
locations – The original image location list.
uri_key – The key name for location URI in image location dictionary.
- Returns
The image location list with preferred store type order.