quota: Move nova-network-related quota
This was incorrectly grouped as a general compute quota, when in fact it's a nova-network quota. Move it. Change-Id: If93c95bc181ab766137b61943a09821810345300 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
75b9214f6c
commit
f5f543b8de
openstackclient
@ -33,7 +33,6 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
COMPUTE_QUOTAS = {
|
||||
'cores': 'cores',
|
||||
'fixed_ips': 'fixed-ips',
|
||||
'injected_file_content_bytes': 'injected-file-size',
|
||||
'injected_file_path_bytes': 'injected-path-size',
|
||||
'injected_files': 'injected-files',
|
||||
@ -41,8 +40,8 @@ COMPUTE_QUOTAS = {
|
||||
'key_pairs': 'key-pairs',
|
||||
'metadata_items': 'properties',
|
||||
'ram': 'ram',
|
||||
'server_groups': 'server-groups',
|
||||
'server_group_members': 'server-group-members',
|
||||
'server_groups': 'server-groups',
|
||||
}
|
||||
|
||||
VOLUME_QUOTAS = {
|
||||
@ -61,6 +60,7 @@ IMPACT_VOLUME_TYPE_QUOTAS = [
|
||||
]
|
||||
|
||||
NOVA_NETWORK_QUOTAS = {
|
||||
'fixed_ips': 'fixed-ips',
|
||||
'floating_ips': 'floating-ips',
|
||||
'security_group_rules': 'secgroup-rules',
|
||||
'security_groups': 'secgroups',
|
||||
@ -405,7 +405,6 @@ class ListQuota(command.Lister):
|
||||
columns = (
|
||||
'id',
|
||||
'cores',
|
||||
'fixed_ips',
|
||||
'injected_files',
|
||||
'injected_file_content_bytes',
|
||||
'injected_file_path_bytes',
|
||||
@ -419,7 +418,6 @@ class ListQuota(command.Lister):
|
||||
column_headers = (
|
||||
'Project ID',
|
||||
'Cores',
|
||||
'Fixed IPs',
|
||||
'Injected Files',
|
||||
'Injected File Content Bytes',
|
||||
'Injected File Path Bytes',
|
||||
|
@ -73,7 +73,6 @@ class TestQuotaList(TestQuota):
|
||||
compute_column_header = (
|
||||
'Project ID',
|
||||
'Cores',
|
||||
'Fixed IPs',
|
||||
'Injected Files',
|
||||
'Injected File Content Bytes',
|
||||
'Injected File Path Bytes',
|
||||
@ -130,7 +129,6 @@ class TestQuotaList(TestQuota):
|
||||
self.compute_reference_data = (
|
||||
self.projects[0].id,
|
||||
self.compute_quotas[0].cores,
|
||||
self.compute_quotas[0].fixed_ips,
|
||||
self.compute_quotas[0].injected_files,
|
||||
self.compute_quotas[0].injected_file_content_bytes,
|
||||
self.compute_quotas[0].injected_file_path_bytes,
|
||||
|
Loading…
x
Reference in New Issue
Block a user