Skip to content

Commit e10c612

Browse files
committed
nova-net: Remove remaining nova-network quotas
The 'security_group_rules' [1], 'floating_ips' [2], 'fixed_ips' [3] and 'security_groups' [4] quotas are all nova-network only and can be removed or, more specifically, set to unlimited and ignored until we eventually bump our minimum API microversion. [1] https://review.opendev.org/477700 [2] https://review.opendev.org/457862 [3] https://review.opendev.org/457861 [4] https://review.opendev.org/457860 Change-Id: I9a5362fdf29e3680c59f620c585f3d730e4f6adb Signed-off-by: Stephen Finucane <[email protected]>
1 parent 110a683 commit e10c612

29 files changed

+194
-351
lines changed

doc/api_samples/limits/limit-get-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"maxImageMeta": 128,
55
"maxPersonality": 5,
66
"maxPersonalitySize": 10240,
7-
"maxSecurityGroupRules": 20,
8-
"maxSecurityGroups": 10,
7+
"maxSecurityGroupRules": -1,
8+
"maxSecurityGroups": -1,
99
"maxServerMeta": 128,
1010
"maxTotalCores": 20,
11-
"maxTotalFloatingIps": 10,
11+
"maxTotalFloatingIps": -1,
1212
"maxTotalInstances": 10,
1313
"maxTotalKeypairs": 100,
1414
"maxTotalRAMSize": 51200,

doc/api_samples/os-quota-class-sets/quota-classes-show-get-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"quota_class_set": {
33
"cores": 20,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"id": "test_class",
77
"injected_file_content_bytes": 10240,
88
"injected_file_path_bytes": 255,
@@ -11,7 +11,7 @@
1111
"key_pairs": 100,
1212
"metadata_items": 128,
1313
"ram": 51200,
14-
"security_group_rules": 20,
15-
"security_groups": 10
14+
"security_group_rules": -1,
15+
"security_groups": -1
1616
}
1717
}

doc/api_samples/os-quota-class-sets/quota-classes-update-post-req.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"instances": 50,
44
"cores": 50,
55
"ram": 51200,
6-
"floating_ips": 10,
6+
"floating_ips": -1,
77
"fixed_ips": -1,
88
"metadata_items": 128,
99
"injected_files": 5,
1010
"injected_file_content_bytes": 10240,
1111
"injected_file_path_bytes": 255,
12-
"security_groups": 10,
13-
"security_group_rules": 20,
12+
"security_groups": -1,
13+
"security_group_rules": -1,
1414
"key_pairs": 100
1515
}
1616
}

doc/api_samples/os-quota-class-sets/quota-classes-update-post-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"quota_class_set": {
33
"cores": 50,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"injected_file_content_bytes": 10240,
77
"injected_file_path_bytes": 255,
88
"injected_files": 5,
99
"instances": 50,
1010
"key_pairs": 100,
1111
"metadata_items": 128,
1212
"ram": 51200,
13-
"security_group_rules": 20,
14-
"security_groups": 10
13+
"security_group_rules": -1,
14+
"security_groups": -1
1515
}
1616
}

doc/api_samples/os-quota-sets/quotas-show-defaults-get-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"quota_set": {
33
"cores": 20,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"id": "fake_tenant",
77
"injected_file_content_bytes": 10240,
88
"injected_file_path_bytes": 255,
@@ -11,8 +11,8 @@
1111
"key_pairs": 100,
1212
"metadata_items": 128,
1313
"ram": 51200,
14-
"security_group_rules": 20,
15-
"security_groups": 10,
14+
"security_group_rules": -1,
15+
"security_groups": -1,
1616
"server_groups": 10,
1717
"server_group_members": 10
1818
}

doc/api_samples/os-quota-sets/quotas-show-detail-get-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"floating_ips": {
1414
"in_use": 0,
15-
"limit": 10,
15+
"limit": -1,
1616
"reserved": 0
1717
},
1818
"id": "fake_tenant",
@@ -53,12 +53,12 @@
5353
},
5454
"security_group_rules": {
5555
"in_use": 0,
56-
"limit": 20,
56+
"limit": -1,
5757
"reserved": 0
5858
},
5959
"security_groups": {
6060
"in_use": 0,
61-
"limit": 10,
61+
"limit": -1,
6262
"reserved": 0
6363
},
6464
"server_group_members": {

doc/api_samples/os-quota-sets/quotas-show-get-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"quota_set": {
33
"cores": 20,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"id": "fake_tenant",
77
"injected_file_content_bytes": 10240,
88
"injected_file_path_bytes": 255,
@@ -11,8 +11,8 @@
1111
"key_pairs": 100,
1212
"metadata_items": 128,
1313
"ram": 51200,
14-
"security_group_rules": 20,
15-
"security_groups": 10,
14+
"security_group_rules": -1,
15+
"security_groups": -1,
1616
"server_groups": 10,
1717
"server_group_members": 10
1818
}

doc/api_samples/os-quota-sets/quotas-update-force-post-resp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"quota_set": {
33
"cores": 20,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"injected_file_content_bytes": 10240,
77
"injected_file_path_bytes": 255,
88
"injected_files": 5,
99
"instances": 45,
1010
"key_pairs": 100,
1111
"metadata_items": 128,
1212
"ram": 51200,
13-
"security_group_rules": 20,
14-
"security_groups": 10,
13+
"security_group_rules": -1,
14+
"security_groups": -1,
1515
"server_groups": 10,
1616
"server_group_members": 10
1717
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"quota_set": {
3-
"security_groups": 45
3+
"cores": 45
44
}
5-
}
5+
}

doc/api_samples/os-quota-sets/quotas-update-post-resp.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"quota_set": {
3-
"cores": 20,
3+
"cores": 45,
44
"fixed_ips": -1,
5-
"floating_ips": 10,
5+
"floating_ips": -1,
66
"injected_file_content_bytes": 10240,
77
"injected_file_path_bytes": 255,
88
"injected_files": 5,
99
"instances": 10,
1010
"key_pairs": 100,
1111
"metadata_items": 128,
1212
"ram": 51200,
13-
"security_group_rules": 20,
14-
"security_groups": 45,
13+
"security_group_rules": -1,
14+
"security_groups": -1,
1515
"server_groups": 10,
1616
"server_group_members": 10
1717
}

0 commit comments

Comments
 (0)