Add endpoint types to tempest config
This commit allows configuration of the endpoint type. Change-Id: Id602b676ff08e9d2ccdf6e3f6ddfde7755449c03
This commit is contained in:
parent
6723ccc4bf
commit
1c0d8a0bfa
|
@ -132,6 +132,11 @@ class TempestConfigfileManager(object):
|
||||||
self.conf.set(section_name, "auth_version", "v%s" % target_version)
|
self.conf.set(section_name, "auth_version", "v%s" % target_version)
|
||||||
self.conf.set(section_name, "uri", uri)
|
self.conf.set(section_name, "uri", uri)
|
||||||
self.conf.set(section_name, "uri_v3", uri_v3)
|
self.conf.set(section_name, "uri_v3", uri_v3)
|
||||||
|
if self.credential.endpoint_type:
|
||||||
|
self.conf.set(section_name, "v2_endpoint_type",
|
||||||
|
self.credential.endpoint_type)
|
||||||
|
self.conf.set(section_name, "v3_endpoint_type",
|
||||||
|
self.credential.endpoint_type)
|
||||||
|
|
||||||
self.conf.set(section_name, "disable_ssl_certificate_validation",
|
self.conf.set(section_name, "disable_ssl_certificate_validation",
|
||||||
str(self.credential.https_insecure))
|
str(self.credential.https_insecure))
|
||||||
|
|
Loading…
Reference in New Issue