manila/manila/tests
Felipe Rodrigues a84005cb5c [NetApp] Add FlexGroup volume support
The NetApp driver has been working with FlexVol ONTAP volumes. This
type of volume does not work well with large workloads, being over
one single node/aggregate. This patch changes that behavior by enabling
the provision of Manila shares as ONTAP FlexGroup volumes.

The FlexGroup pool is configured with a new option `netapp_flexgroup_pool`.
The pool for FlexGroup is different from the FlexVol one, the driver
can handle those two types of pools, either alone or together. For
having both, the new option `netapp_flexgroup_pool_only` must be
set to `False`. Each NetApp pool will report now the capability:
`netapp_is_flexgroup` informing which type the pool is.

The following operations are allowed with FlexGroup shares (DHSS
True/False and NFS/CIFS):

- Create/Delete share;
- Shrink/Extend share;
- Create/Delete snapshot;
- Revert to snapshot;
- Manage/Unmanage snapshots;
- Create from snapshot;
- Replication[1]
- Manage/Unmanage shares;

The backend with one FlexGroup pool configured will drop the consistent
snapshot support for all pools.

The driver FlexGroup support requires ONTAP version 9.8 or greater.

[1] FlexGroup is limited to one single replica for ONTAP version
lower than 9.9.1.

Implements: bp netapp-flexgroup-support
Change-Id: I4f68a9bb33be85f9a22e0be4ccf673647e713459
Signed-off-by: Felipe Rodrigues <felipefuty01@gmail.com>
2021-08-05 05:12:57 -03:00
..
api Merge "Replace deprecated import of ABCs from collections" 2021-07-22 17:07:30 +00:00
cmd Remove unused model properties and increase unit test coverage 2021-03-23 09:27:48 -03:00
common Handle service client authorization errors 2021-06-24 15:45:04 +00:00
compute Handle service client authorization errors 2021-06-24 15:45:04 +00:00
data Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
db Replace assertDictMatch with assertDictEqual method in tests 2021-07-14 01:32:08 +00:00
hacking remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
image Handle service client authorization errors 2021-06-24 15:45:04 +00:00
integrated Fix unit tests to use requests 2021-02-15 17:04:33 -08:00
message Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network Handle service client authorization errors 2021-06-24 15:45:04 +00:00
scheduler Merge "Replace assertDictMatch with assertDictEqual method in tests" 2021-07-14 11:06:18 +00:00
share [NetApp] Add FlexGroup volume support 2021-08-05 05:12:57 -03:00
share_group Add security service update for in-use share networks 2021-03-12 18:37:45 -03:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Handle service client authorization errors 2021-06-24 15:45:04 +00:00
wsgi Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
conf_fixture.py Advertise v2 API routes without project_id 2021-02-04 23:20:19 -08:00
db_utils.py Add security service update for in-use share networks 2021-03-12 18:37:45 -03:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_client_exception_class.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
fake_compute.py Fix error that failed to get image for booting server 2019-12-13 01:31:22 +00:00
fake_driver.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Disable notifications 2017-07-17 12:45:11 -03:00
fake_service_instance.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
fake_share.py Advertise v2 API routes without project_id 2021-02-04 23:20:19 -08:00
fake_utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
fake_volume.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_zfssa.py Add share manage/unmanage of Oracle ZFSSA driver 2016-07-05 15:58:18 -04:00
policy.yaml [goal] Deprecate the JSON formatted policy file 2020-12-13 00:05:00 +00:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
test_conf.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_context.py Remove unit test that is not relevant anymore 2017-01-28 12:02:24 +02:00
test_coordination.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_exception.py Add config option to set per_share_size_limit. 2021-03-09 11:58:17 +01:00
test_hacking.py disable M325 2020-10-14 14:05:30 +08:00
test_manager.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_policy.py Disable some policy warnings 2021-03-19 17:53:49 -07:00
test_quota.py Add config option to set per_share_size_limit. 2021-03-09 11:58:17 +01:00
test_rpc.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_service.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_test.py Handle oslo.messaging ping endpoint 2020-09-08 11:20:41 -07:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00