Implement get_service_clients interface
Implement the get_service_client interface for the designate
Tempest plugin.
Change-Id: I7ab26b7f9958feb1f276c68bed0dfdef5ecad83c
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 @@
(project_config.dns_feature_group.name,
project_config.DnsFeatureGroup),
]
+
+ def get_service_clients(self):
+ dns_config = config.service_client_config('dns')
+ admin_params = {
+ 'name': 'dns_admin',
+ 'service_version': 'dns.admin',
+ 'module_path': 'designate_tempest_plugin.services.dns.admin',
+ 'client_names': ['QuotasClient']
+ }
+ v2_params = {
+ 'name': 'dns_v2',
+ 'service_version': 'dns.v2',
+ 'module_path': 'designate_tempest_plugin.services.dns.v2',
+ 'client_names': ['BlacklistsClient', 'PoolClient', 'QuotasClient',
+ 'RecordsetClient', 'TldClient',
+ 'TransferAcceptClient', 'TransferRequestClient',
+ 'TsigkeyClient', 'ZoneExportsClient',
+ 'ZoneImportsClient', 'ZonesClient']
+ }
+ admin_params.update(dns_config)
+ v2_params.update(dns_config)
+ return [admin_params, v2_params]