Add tempest tests for Share Replication
By default, these tests are disabled; 3rd party CI systems
should enable these tests through the
RUN_MANILA_REPLICATION_TESTS environment variable
if their driver supports share replication.
Partially implements: blueprint manila-share-replication
Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com>
Co-Authored-By: Andrew Kerr <andrew.kerr@netapp.com>
Change-Id: Idaf3c61600337cc30568b982dfb23948209c1d6e
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index 5d935c2..94ffb5f 100644
--- a/manila_tempest_tests/config.py
+++ b/manila_tempest_tests/config.py
@@ -156,6 +156,11 @@
help="Defines whether to run consistency group tests or not. "
"Disable this feature if used driver doesn't support "
"it."),
+ cfg.BoolOpt("run_replication_tests",
+ default=False,
+ help="Defines whether to run replication tests or not. "
+ "Enable this feature if the driver is configured "
+ "for replication."),
cfg.BoolOpt("run_migration_tests",
default=False,
help="Enable or disable migration tests."),
@@ -188,4 +193,8 @@
"timing out (seconds)."),
cfg.StrOpt("default_share_type_name",
help="Default share type name to use in tempest tests."),
+ cfg.StrOpt("backend_replication_type",
+ default='none',
+ choices=['none', 'writable', 'readable', 'dr'],
+ help="Specify the replication type supported by the backend."),
]