Add functional tests for add multiple subnets feature
This change adds negative and positive functional tests
for the new feature add multiple subnets per az. Older
functional tests impacted by the feature are fixed. Finally,
the new flags `run_share_server_multiple_subnets_tests` and
`run_network_allocation_update_tests` are added and configured
in the community jobs for Dummy DHSS=True and Container Driver.
Partially-Implements: blueprint multiple-share-network-subnets
Change-Id: I99547e1873646fb1494a454f67b14c7293342beb
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index f5022af..1758064 100644
--- a/manila_tempest_tests/config.py
+++ b/manila_tempest_tests/config.py
@@ -40,7 +40,7 @@
"This value is only used to validate the versions "
"response from Manila."),
cfg.StrOpt("max_api_microversion",
- default="2.69",
+ default="2.70",
help="The maximum api microversion is configured to be the "
"value of the latest microversion supported by Manila."),
cfg.StrOpt("region",
@@ -287,6 +287,16 @@
default=False,
help="Defines whether to run share servers migration tests. "
"Enable this option if the used driver supports it."),
+ cfg.BoolOpt("run_share_server_multiple_subnet_tests",
+ default=False,
+ help="Defines whether to run the share server multiple "
+ "subnets tests. Enable this option if the used driver "
+ "supports it."),
+ cfg.BoolOpt("run_network_allocation_update_tests",
+ default=False,
+ help="Defines whether to run the network allocation update "
+ "tests. Enable this option if the used driver "
+ "supports it."),
cfg.StrOpt("image_with_share_tools",
default="manila-service-image-master",