Add a client for querying nameservers
Change-Id: I2d2eedcd162e7aeac4f3c9c92342bff448b4a5f5
diff --git a/designate_tempest_plugin/clients.py b/designate_tempest_plugin/clients.py
index 9e64b15..8450c5a 100644
--- a/designate_tempest_plugin/clients.py
+++ b/designate_tempest_plugin/clients.py
@@ -30,6 +30,8 @@
PoolClient
from designate_tempest_plugin.services.dns.v2.json.tld_client import \
TldClient
+from designate_tempest_plugin.services.dns.query.query_client import \
+ QueryClient
CONF = config.CONF
@@ -60,3 +62,9 @@
**params)
self.tld_client = TldClient(self.auth_provider,
**params)
+ self.query_client = QueryClient(
+ nameservers=CONF.dns.nameservers,
+ query_timeout=CONF.dns.query_timeout,
+ build_interval=CONF.dns.build_interval,
+ build_timeout=CONF.dns.build_timeout,
+ )