Add tests for encryption_key_ref
Positive test -
1. create barbican secret and create share using secret UUID
Negative test -
1. invalid encryption key ref
2. invalid share type extra-spec
3. absent encryption key ref
partially-implements: blueprint share-encryption
Depends-On: https://review.opendev.org/c/openstack/requirements/+/963685
Change-Id: I3145f9cd6847464b2920f1b0a35e6c211e45b26e
Signed-off-by: Kiran Pawar <kinpaa@gmail.com>
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index 60d4164..5539bb5 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.88",
+ default="2.90",
help="The maximum api microversion is configured to be the "
"value of the latest microversion supported by Manila."),
cfg.StrOpt("region",
@@ -220,6 +220,11 @@
"ss_type:<ldap, kerberos or active_directory>, "
"ss_dns_ip:value, ss_user:value, ss_password=value, "
"ss_domain:value, ss_server:value"),
+ cfg.ListOpt("capability_encryption_support",
+ default=[],
+ help="Encryption support capability. Possible values are "
+ "share_server, share etc. "),
+
# Switching ON/OFF test suites filtered by features
cfg.BoolOpt("run_quota_tests",
@@ -386,4 +391,7 @@
cfg.DictOpt("driver_assisted_backup_test_driver_options",
default={'dummy': True},
help="Share backup driver options specified as dict."),
+ cfg.BoolOpt("run_encryption_tests",
+ default=False,
+ help="Enable or disable share encryption tests."),
]