Files
Michael Johnson 29d8e61ca2 Update service client access in tempest tests
All the load balancer service clients are registered via the plugin interface[1],
that way Tempest register and create the lazy initialization of registered clients
so that they can be access from there in consistent way.

But octavia-tempest-client create a separate instance of those and access instead of
accessing the registered service client in Tempest. This commit makes all the service clients
access from Tempest registry and remove the separate objects.

[1] https://github.com/openstack/octavia-tempest-plugin/blob/cac3eefc44afca458692e9dadb539c0cb17dc9e4/octavia_tempest_plugin/plugin.py#L54

Change-Id: Ie24909b49baf2c6a886e2ff711e641e36ffe6b50
2021-06-30 23:15:30 +00:00

47 lines
1.9 KiB
Python

# Copyright 2018 Rackspace US Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from .amphora_client import AmphoraClient
from .availability_zone_capabilities_client import (
AvailabilityZoneCapabilitiesClient)
from .availability_zone_client import AvailabilityZoneClient
from .availability_zone_profile_client import AvailabilityZoneProfileClient
from .flavor_capabilities_client import FlavorCapabilitiesClient
from .flavor_client import FlavorClient
from .flavor_profile_client import FlavorProfileClient
from .healthmonitor_client import HealthMonitorClient
from .l7policy_client import L7PolicyClient
from .l7rule_client import L7RuleClient
from .listener_client import ListenerClient
from .loadbalancer_client import LoadbalancerClient
from .member_client import MemberClient
from .pool_client import PoolClient
from .provider_client import ProviderClient
__all__ = ['LoadbalancerClient',
'ListenerClient',
'PoolClient',
'MemberClient',
'HealthMonitorClient',
'L7PolicyClient',
'L7RuleClient',
'FlavorClient',
'FlavorProfileClient',
'FlavorCapabilitiesClient',
'AmphoraClient',
'ProviderClient',
'AvailabilityZoneClient',
'AvailabilityZoneProfileClient',
'AvailabilityZoneCapabilitiesClient']