Use tempest's ServiceClients rather than Manager

tempest.Manager has been deprecated for more than 4 years already.
Tempest plugins are expected to consume
tempest.lib.services.clients.ServiceClients directly.

Change-Id: I72b6984e9da724339702cddfa62e140593196508
This commit is contained in:
Martin Kopec 2020-12-18 13:21:08 +00:00
parent ef43ff4459
commit cfa7f96e54
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@
from oslo_serialization import jsonutils as json
from tempest import config
from tempest.lib.common import rest_client
from tempest.lib.services import clients
from tempest.lib.services.image.v2 import images_client as image_cli
from tempest.lib.services.network import floating_ips_client as fip_cli
from tempest.lib.services.network import networks_client as network_cli
from tempest import manager
CONF = config.CONF
@ -353,7 +353,7 @@ class BaremetalNodeClient(rest_client.RestClient):
self.update_bm_node(node_id, updates)
class Manager(manager.Manager):
class Manager(clients.ServiceClients):
load_clients = [
'baremetal_compute_client',