Adding Bandwidth Limit QoS rule client to Manager

- Bandwidth Limit Quality of Service rule was added
recently (test_qos_limit_bandwidth_rules_client.py).
- There were some places that the references to the
newly added QosLimitBandwidthRulesClient was missing.

So the following changes were done:
- Added QosLimitBandwidthRulesClient reference that was
missing in clients.py.
- Imported QosLimitBandwidthRulesClient from the newly added
tempest.lib.services.network.qos_limit_bandwidth_rules_client
to __init.py.
- Added QosLimitBandwidthRulesClient reference that was
missing from __init__.py.

Change-Id: Ib0e4b3864aa42455fa52ce098961e11a2ec8d4cb
This commit is contained in:
bonguardo 2021-10-25 05:38:20 -04:00
parent d458bf3297
commit 92ca258fad
2 changed files with 6 additions and 2 deletions

View File

@ -71,6 +71,7 @@ class Manager(clients.ServiceClients):
self.tags_client = self.network.TagsClient()
self.qos_client = self.network.QosClient()
self.qos_min_bw_client = self.network.QosMinimumBandwidthRulesClient()
self.qos_limit_bw_client = self.network.QosLimitBandwidthRulesClient()
self.segments_client = self.network.SegmentsClient()
self.trunks_client = self.network.TrunksClient()
self.log_resource_client = self.network.LogResourceClient()

View File

@ -25,6 +25,8 @@ from tempest.lib.services.network.metering_labels_client import \
from tempest.lib.services.network.networks_client import NetworksClient
from tempest.lib.services.network.ports_client import PortsClient
from tempest.lib.services.network.qos_client import QosClient
from tempest.lib.services.network.qos_limit_bandwidth_rules_client import \
QosLimitBandwidthRulesClient
from tempest.lib.services.network.qos_minimum_bandwidth_rules_client import \
QosMinimumBandwidthRulesClient
from tempest.lib.services.network.quotas_client import QuotasClient
@ -45,8 +47,9 @@ from tempest.lib.services.network.versions_client import NetworkVersionsClient
__all__ = ['AgentsClient', 'ExtensionsClient', 'FloatingIPsClient',
'MeteringLabelRulesClient', 'MeteringLabelsClient',
'NetworksClient', 'NetworkVersionsClient', 'PortsClient',
'QosClient', 'QosMinimumBandwidthRulesClient', 'QuotasClient',
'RoutersClient', 'SecurityGroupRulesClient', 'SecurityGroupsClient',
'QosClient', 'QosMinimumBandwidthRulesClient',
'QosLimitBandwidthRulesClient', 'QuotasClient', 'RoutersClient',
'SecurityGroupRulesClient', 'SecurityGroupsClient',
'SegmentsClient', 'ServiceProvidersClient', 'SubnetpoolsClient',
'SubnetsClient', 'TagsClient', 'TrunksClient', 'LogResourceClient',
'LoggableResourceClient']