Skip to content

Commit cf81902

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "quota: Move nova-network-related quota"
2 parents 716dff1 + f5f543b commit cf81902

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

openstackclient/common/quota.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,15 @@
3333

3434
COMPUTE_QUOTAS = {
3535
'cores': 'cores',
36-
'fixed_ips': 'fixed-ips',
3736
'injected_file_content_bytes': 'injected-file-size',
3837
'injected_file_path_bytes': 'injected-path-size',
3938
'injected_files': 'injected-files',
4039
'instances': 'instances',
4140
'key_pairs': 'key-pairs',
4241
'metadata_items': 'properties',
4342
'ram': 'ram',
44-
'server_groups': 'server-groups',
4543
'server_group_members': 'server-group-members',
44+
'server_groups': 'server-groups',
4645
}
4746

4847
VOLUME_QUOTAS = {
@@ -61,6 +60,7 @@
6160
]
6261

6362
NOVA_NETWORK_QUOTAS = {
63+
'fixed_ips': 'fixed-ips',
6464
'floating_ips': 'floating-ips',
6565
'security_group_rules': 'secgroup-rules',
6666
'security_groups': 'secgroups',
@@ -405,7 +405,6 @@ def take_action(self, parsed_args):
405405
columns = (
406406
'id',
407407
'cores',
408-
'fixed_ips',
409408
'injected_files',
410409
'injected_file_content_bytes',
411410
'injected_file_path_bytes',
@@ -419,7 +418,6 @@ def take_action(self, parsed_args):
419418
column_headers = (
420419
'Project ID',
421420
'Cores',
422-
'Fixed IPs',
423421
'Injected Files',
424422
'Injected File Content Bytes',
425423
'Injected File Path Bytes',

openstackclient/tests/unit/common/test_quota.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ class TestQuotaList(TestQuota):
7373
compute_column_header = (
7474
'Project ID',
7575
'Cores',
76-
'Fixed IPs',
7776
'Injected Files',
7877
'Injected File Content Bytes',
7978
'Injected File Path Bytes',
@@ -130,7 +129,6 @@ def setUp(self):
130129
self.compute_reference_data = (
131130
self.projects[0].id,
132131
self.compute_quotas[0].cores,
133-
self.compute_quotas[0].fixed_ips,
134132
self.compute_quotas[0].injected_files,
135133
self.compute_quotas[0].injected_file_content_bytes,
136134
self.compute_quotas[0].injected_file_path_bytes,

0 commit comments

Comments
 (0)