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>