Bring configurations from tempest to ironic_tempest_plugin
To remove our tests from tempest first we need to bring the configurations that
we need to the tempest plugin.
Closes-Bug: #1614516
Change-Id: Iad6e16c28cf2a35cc6bf040f57224d32c085b7bc
diff --git a/ironic_tempest_plugin/clients.py b/ironic_tempest_plugin/clients.py
index 7816a2f..8ec1db6 100644
--- a/ironic_tempest_plugin/clients.py
+++ b/ironic_tempest_plugin/clients.py
@@ -36,9 +36,15 @@
:param service: service name
"""
super(Manager, self).__init__(credentials, service)
+ default_params_with_timeout_values = {
+ 'build_interval': CONF.compute.build_interval,
+ 'build_timeout': CONF.compute.build_timeout
+ }
+ default_params_with_timeout_values.update(self.default_params)
+
self.baremetal_client = BaremetalClient(
self.auth_provider,
CONF.baremetal.catalog_type,
CONF.identity.region,
endpoint_type=CONF.baremetal.endpoint_type,
- **self.default_params_with_timeout_values)
+ **default_params_with_timeout_values)