71f41e633f
Currently v2 and v2.1 have separate functional tests and their corresponding sample files. As v2 and v2.1 are supposed to be identical, there is overhead to maintain two set of functional tests and sample files. We can have one set of tests which can run for both v2 and v2.1. This commit merges used_limits functional tests. V2 implied RateLimitingMiddleware while V2.1 dropped that from https://review.openstack.org/#/c/115893/, so the response data is different between V2 and V2.1, there are more info in "rate" section in V2 than V2.1. We have to keep both of the template files. Partially implements blueprint test-collapse-v2-and-v21 Change-Id: I3192f550b57694ccb700eebcc0af55468a2f222f
94 lines
2.9 KiB
JSON
94 lines
2.9 KiB
JSON
{
|
|
"limits": {
|
|
"absolute": {
|
|
"maxImageMeta": 128,
|
|
"maxPersonality": 5,
|
|
"maxPersonalitySize": 10240,
|
|
"maxSecurityGroupRules": 20,
|
|
"maxSecurityGroups": 10,
|
|
"maxServerMeta": 128,
|
|
"maxTotalCores": 20,
|
|
"maxTotalFloatingIps": 10,
|
|
"maxTotalInstances": 10,
|
|
"maxTotalKeypairs": 100,
|
|
"maxTotalRAMSize": 51200,
|
|
"maxServerGroups": 10,
|
|
"maxServerGroupMembers": 10,
|
|
"totalCoresUsed": 0,
|
|
"totalInstancesUsed": 0,
|
|
"totalRAMUsed": 0,
|
|
"totalSecurityGroupsUsed": 0,
|
|
"totalFloatingIpsUsed": 0,
|
|
"totalServerGroupsUsed": 0
|
|
},
|
|
"rate": [
|
|
{
|
|
"limit": [
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 120,
|
|
"unit": "MINUTE",
|
|
"value": 120,
|
|
"verb": "POST"
|
|
},
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 120,
|
|
"unit": "MINUTE",
|
|
"value": 120,
|
|
"verb": "PUT"
|
|
},
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 120,
|
|
"unit": "MINUTE",
|
|
"value": 120,
|
|
"verb": "DELETE"
|
|
}
|
|
],
|
|
"regex": ".*",
|
|
"uri": "*"
|
|
},
|
|
{
|
|
"limit": [
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 120,
|
|
"unit": "MINUTE",
|
|
"value": 120,
|
|
"verb": "POST"
|
|
}
|
|
],
|
|
"regex": "^/servers",
|
|
"uri": "*/servers"
|
|
},
|
|
{
|
|
"limit": [
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 120,
|
|
"unit": "MINUTE",
|
|
"value": 120,
|
|
"verb": "GET"
|
|
}
|
|
],
|
|
"regex": ".*changes-since.*",
|
|
"uri": "*changes-since*"
|
|
},
|
|
{
|
|
"limit": [
|
|
{
|
|
"next-available": "2012-11-27T17:24:52Z",
|
|
"remaining": 12,
|
|
"unit": "MINUTE",
|
|
"value": 12,
|
|
"verb": "GET"
|
|
}
|
|
],
|
|
"regex": "^/os-fping",
|
|
"uri": "*/os-fping"
|
|
}
|
|
]
|
|
}
|
|
}
|