manila/manila/api/v2
Valeriy Ponomaryov dcbdcf3534 Implement export location metadata feature
Some upcoming features require more than one export location and
possibility to mark them with specific labels like fast/slow or
rw/ro.

So, implement 'export locations metadata' feature:
- It allows to set any key-value pairs for each export location.
- These key-value pairs can be set only by share manager using
  response from various share driver methods.
- Example of update is implemented using Generic driver
  "create_instance" method.
- Metadata can be updated for any export location in any place
  of share manager where db function "share_export_locations_update"
  is called.
- Keys from export location metadata table will be added to 'share' and
  'share instances' views as export location attributes.

Also:
- Add new attr 'is_admin_only' for existing export locations model.
  If set to True, then only admins will be able to see them. Unless
  policy is changed.
- Add APIs for reading export locations by share and share instance IDs.
- Remove 'export_location' and 'export_locations' attrs
  from 'share' and 'share instance' views.
- Bump microversion as new APIs implemented.

APIImpact

Implements bp export-location-metadata

Change-Id: I36d1aa8d9302e097ffb08d239cf7a81101d2c1cb
2016-01-15 12:29:12 +02:00
..
__init__.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
availability_zones.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
cgsnapshots.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
consistency_groups.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
quota_class_sets.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
quota_sets.py Replace deprecated [logger/LOG].warn with warning 2016-01-08 10:32:47 +08:00
router.py Implement export location metadata feature 2016-01-15 12:29:12 +02:00
services.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
share_export_locations.py Implement export location metadata feature 2016-01-15 12:29:12 +02:00
share_instance_export_locations.py Implement export location metadata feature 2016-01-15 12:29:12 +02:00
share_instances.py Move API module 'share_instances' under v2 dir 2015-12-02 14:07:55 +02:00
share_types.py Do not allow to modify access for public share type 2015-12-08 17:07:50 +08:00
shares.py Allow to set share visibility using "manage" API 2015-12-06 21:22:00 +05:30