Allow to disable SSL validation in gabbi tests
Gabbi does not allow to pass custom path to (self-signed) SSL certs,
so we can't really re-use the CONF.identity option (as does the AODH
test client).
This patch adds a new config option
CONF.telemetry.disable_ssl_certificate_validation
(False by default) that will disable SSL cert validation when running
gabbits.
For comparison, see similar patch to heat's tempest plugin
https://review.opendev.org/#/c/703335
Change-Id: I298c8ebb45f0768b12919cf4f67462df0ff4c631
Related-Issue: PRODX-7768
diff --git a/telemetry_tempest_plugin/config.py b/telemetry_tempest_plugin/config.py
index e076faf..403bc9c 100644
--- a/telemetry_tempest_plugin/config.py
+++ b/telemetry_tempest_plugin/config.py
@@ -70,6 +70,10 @@
cfg.IntOpt('alarm_threshold',
default=10,
help="Threshold to cross for the alarm to trigger."),
+ cfg.BoolOpt("disable_ssl_certificate_validation",
+ default=False,
+ help="Disable SSL certificate validation when running "
+ "scenario tests"),
]
event_opts = [