Merge "Add MTU information in DB and API"
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index 55f2e15..58cf389 100644
--- a/manila_tempest_tests/config.py
+++ b/manila_tempest_tests/config.py
@@ -34,7 +34,7 @@
help="The minimum api microversion is configured to be the "
"value of the minimum microversion supported by Manila."),
cfg.StrOpt("max_api_microversion",
- default="2.19",
+ default="2.20",
help="The maximum api microversion is configured to be the "
"value of the latest microversion supported by Manila."),
cfg.StrOpt("region",
diff --git a/manila_tempest_tests/tests/api/test_share_networks.py b/manila_tempest_tests/tests/api/test_share_networks.py
index b9d2d8c..84ac838 100755
--- a/manila_tempest_tests/tests/api/test_share_networks.py
+++ b/manila_tempest_tests/tests/api/test_share_networks.py
@@ -53,6 +53,10 @@
if utils.is_microversion_supported('2.18'):
keys.append('gateway')
+ # In v2.20 and beyond, we expect mtu.
+ if utils.is_microversion_supported('2.20'):
+ keys.append('mtu')
+
[self.assertIn(key, sn.keys()) for sn in listed for key in keys]
@test.attr(type=[base.TAG_POSITIVE, base.TAG_API])