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
diff --git a/tempest/clients.py b/tempest/clients.py
index 51bd204..6a25997 100644
--- a/tempest/clients.py
+++ b/tempest/clients.py
@@ -71,6 +71,7 @@
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()
diff --git a/tempest/lib/services/network/__init__.py b/tempest/lib/services/network/__init__.py
index d553373..a0e6313 100644
--- a/tempest/lib/services/network/__init__.py
+++ b/tempest/lib/services/network/__init__.py
@@ -25,6 +25,8 @@
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 @@
__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']