diff options
| author | Zuul <zuul@review.openstack.org> | 2019-03-13 08:48:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2019-03-13 08:48:34 +0000 |
| commit | 9b8a76fd617abbe04a5f44a0fc91a028298c74e7 (patch) | |
| tree | 0f149dd22c96a9f1353b812764d059658b1500c3 /openstackclient | |
| parent | c36e75d9868ed4a7a9eb80c080d2b9c9232f76bd (diff) | |
| parent | b18e79c09bcaea86b3f8470c909664e5fe940682 (diff) | |
| download | python-openstackclient-9b8a76fd617abbe04a5f44a0fc91a028298c74e7.tar.gz | |
Merge "Delete the LB object quotas set command in openstackclient"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/common/quota.py | 3 | ||||
| -rw-r--r-- | openstackclient/tests/unit/common/test_quota.py | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py index dae1b18e..fb4e8603 100644 --- a/openstackclient/common/quota.py +++ b/openstackclient/common/quota.py @@ -75,10 +75,7 @@ NETWORK_QUOTAS = { 'port': 'ports', 'router': 'routers', 'rbac_policy': 'rbac-policies', - 'vip': 'vips', 'subnetpool': 'subnetpools', - 'healthmonitor': 'health-monitors', - 'l7policy': 'l7policies', } NETWORK_KEYS = ['floating_ips', 'networks', 'rbac_policies', 'routers', diff --git a/openstackclient/tests/unit/common/test_quota.py b/openstackclient/tests/unit/common/test_quota.py index 4f9e321b..297452a2 100644 --- a/openstackclient/tests/unit/common/test_quota.py +++ b/openstackclient/tests/unit/common/test_quota.py @@ -723,9 +723,6 @@ class TestQuotaSet(TestQuota): '--routers', str(network_fakes.QUOTA['router']), '--rbac-policies', str(network_fakes.QUOTA['rbac_policy']), '--ports', str(network_fakes.QUOTA['port']), - '--vips', str(network_fakes.QUOTA['vip']), - '--health-monitors', str(network_fakes.QUOTA['healthmonitor']), - '--l7policies', str(network_fakes.QUOTA['l7policy']), self.projects[0].name, ] verifylist = [ @@ -739,9 +736,6 @@ class TestQuotaSet(TestQuota): ('router', network_fakes.QUOTA['router']), ('rbac_policy', network_fakes.QUOTA['rbac_policy']), ('port', network_fakes.QUOTA['port']), - ('vip', network_fakes.QUOTA['vip']), - ('healthmonitor', network_fakes.QUOTA['healthmonitor']), - ('l7policy', network_fakes.QUOTA['l7policy']), ('project', self.projects[0].name), ] parsed_args = self.check_parser(self.cmd, arglist, verifylist) @@ -758,9 +752,6 @@ class TestQuotaSet(TestQuota): 'router': network_fakes.QUOTA['router'], 'rbac_policy': network_fakes.QUOTA['rbac_policy'], 'port': network_fakes.QUOTA['port'], - 'vip': network_fakes.QUOTA['vip'], - 'healthmonitor': network_fakes.QUOTA['healthmonitor'], - 'l7policy': network_fakes.QUOTA['l7policy'], } self.network_mock.update_quota.assert_called_once_with( self.projects[0].id, |
