Enable share-replica tests in multitenancy enviroments
This patch enables share-replica tests to be executed in a multitenancy
environment, providing a share-network to be used by both shares and
share-replicas.
The multitenancy test for share-replicas will be enabled only for API
version equal or greater than 2.51.
Depends-On: I60bdb493ad5766f28408a0c877f960922fe44ad0
Change-Id: Icb93fc346b71edc7bb3ac989e9751899bb80fbe5
diff --git a/manila_tempest_tests/utils.py b/manila_tempest_tests/utils.py
index c2c7ec6..3d5cf25 100644
--- a/manila_tempest_tests/utils.py
+++ b/manila_tempest_tests/utils.py
@@ -170,6 +170,11 @@
return extra_specs
+def replication_with_multitenancy_support():
+ return (share_network_subnets_are_supported() and
+ CONF.share.multitenancy_enabled)
+
+
def skip_if_manage_not_supported_for_version(
version=CONF.share.max_api_microversion):
if (is_microversion_lt(version, "2.49")