Merge "Delete the LB object quotas set command in openstackclient"
This commit is contained in:
commit
9b8a76fd61
@ -80,10 +80,7 @@ Set quotas for project
|
||||
[--ports <num-ports>]
|
||||
[--routers <num-routers>]
|
||||
[--rbac-policies <num-rbac-policies>]
|
||||
[--vips <num-vips>]
|
||||
[--subnetpools <num-subnetpools>]
|
||||
[--members <num-members>]
|
||||
[--health-monitors <num-health-monitors>]
|
||||
|
||||
<project>
|
||||
|
||||
|
@ -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',
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user