summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-03 15:32:53 +0000
committerGerrit Code Review <review@openstack.org>2018-01-03 15:32:53 +0000
commit48b08be4a203c79ff60547ef129383ebde79d57f (patch)
tree8ab15755dd8f5048cc89216e753084055c862abe
parent17573d315a651e2195e42faf0f691f8056d137df (diff)
parent0eeb290db3dd375093a566f9420c9c9001603320 (diff)
Merge "Implement get_service_clients interface"
-rw-r--r--designate_tempest_plugin/plugin.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/designate_tempest_plugin/plugin.py b/designate_tempest_plugin/plugin.py
index 0a093ef..47479ba 100644
--- a/designate_tempest_plugin/plugin.py
+++ b/designate_tempest_plugin/plugin.py
@@ -74,3 +74,25 @@ class DesignateTempestPlugin(plugins.TempestPlugin):
74 (project_config.dns_feature_group.name, 74 (project_config.dns_feature_group.name,
75 project_config.DnsFeatureGroup), 75 project_config.DnsFeatureGroup),
76 ] 76 ]
77
78 def get_service_clients(self):
79 dns_config = config.service_client_config('dns')
80 admin_params = {
81 'name': 'dns_admin',
82 'service_version': 'dns.admin',
83 'module_path': 'designate_tempest_plugin.services.dns.admin',
84 'client_names': ['QuotasClient']
85 }
86 v2_params = {
87 'name': 'dns_v2',
88 'service_version': 'dns.v2',
89 'module_path': 'designate_tempest_plugin.services.dns.v2',
90 'client_names': ['BlacklistsClient', 'PoolClient', 'QuotasClient',
91 'RecordsetClient', 'TldClient',
92 'TransferAcceptClient', 'TransferRequestClient',
93 'TsigkeyClient', 'ZoneExportsClient',
94 'ZoneImportsClient', 'ZonesClient']
95 }
96 admin_params.update(dns_config)
97 v2_params.update(dns_config)
98 return [admin_params, v2_params]