manila/manila/tests/api/views
Goutham Pacha Ravi 64a73b1419 Refactor Access Rules APIs
- Pull up policy check to beginning of the APIs.
- Avoid making access rules changes when one or
  more instances of the share are in an invalid state.
- Add back the per rule share instance access status.
  This restoration provides better visibility for which
  rules were applied successfully.
- Remove 'updating' and 'updating_multiple' as valid
  states for the share instance access rules status.
- Deprecate the access rule state 'new' in favor of
  'queued_to_apply' and the share instance access rules
  status 'out_of_sync' in favor of 'syncing'.

In a new API micro-version:
- Allow access rule changes irrespective of the share's
   access_rules_status.
- Expose new access rule states and share's
  access_rules_status values.

Access rules for each share instance now transition
from 'queued_to_apply' to 'applying' to 'active' or 'error';
and from 'active', 'queued_to_apply', 'applying' or 'error'
to 'queued_to_deny' to 'denying' to 'deleted'.

APIImpact
DocImpact

Partially-implements: bp fix-and-improve-access-rules
Co-Authored-By: Mike Rooney <rooneym@netapp.com>
Change-Id: Ic25e63215b5ba723cbc8cab7c51789c698e76f28
2017-01-19 15:02:58 -05:00
..
__init__.py Add support of nova network for share-networks API and DB 2015-02-16 14:41:00 +02:00
test_scheduler_stats.py QoS support for shares 2016-01-15 10:15:50 +08:00
test_share_accesses.py Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
test_share_networks.py Remove NovaNetworkPlugin 2017-01-13 08:11:16 -05:00
test_shares.py Implement share revert to snapshot 2017-01-17 15:06:01 -05:00
test_versions.py Clean up removed hacking rule from [flake8] ignore lists 2016-01-14 23:27:17 +08:00