...
The operator should be able to list capacities for specialized resources. To enable this, refactor listCapacities API to allow listing for a specific tag. When no tag is passed then return capacities for tags specified in resource.limit.*.tags global settings along with the overall capacities.
The following APIs should return a new response parameter - taggedresources
to return a list of the count of resources for the tags specified in the resource.limit.*.tags global settings and resource type - user_vm, cpu, memory, volumes, primary_storage
listAccounts
listDomains
The resource counts for domains and accounts can be recalculated using the updateResourceLimit
API. API should allow update for a sub-limit for the tags specified in the resource.limit.*.tags global settings for the respective resource types - user_vm, cpu, memory, volumes, primary_storage
...
A new response parameter - tag
should be added for the API.
The updateResourceLimit
API should allow specifying a sub-limit for the tags specified in the resource.limit.*.tags global settings for the respective resource types - user_vm, cpu, memory, volumes, primary_storage
...
The specified limit in such a case should be lower than the overall limit for the resource type.
The listingResourceLimits
API should allow listing sub-limits for a given tag which is specified in the resource.limit.*.tags global settings for the respective resource types - user_vm, cpu, memory, volumes, primary_storage
...
A new response parameter - tag
should be added for the API.
Template tag is similar to host tag specified for a compute offering. It should be
To facilitate this listServiceOfferings API should refactored to allowing list offerings for a given template.
...
When this parameter is passed API should return only those service offerings that would be suitable for instance deployment using the given template.
To facilitate this listDiskOfferings API should refactored to return a flag with each of the disk offerings in the response list
...
UI should handle the filtering. As the suitability is not just a factor of DB stored values and could depend on the hypervisor, filtering from the server side will break pagination for the API.
During deployments, CloudStack should adhere to the overall limits for resource types. It should also adhere to tagged limits for accounts and domains. Resource reservation mechanism should be refactored to prevent any over-utilization.
...
Column | Type | Comment |
---|---|---|
tag | varchar(64) DEFAULT NULL | tag for the resource count |
Original index | New Index | Comment |
---|---|---|
i_resource_count__type_accountId | i_resource_count__type_tag_accountId | UNIQUE INDEX based on (`type`,`tag`,`account_id`) |
i_resource_count__type_domaintId | i_resource_count__type_tag_domaintId | UNIQUE INDEX based on (`type`,`tag`,`domain_id`) |
Column | Type | Comment |
---|---|---|
tag | varchar(64) DEFAULT NULL | tag for the resource reservation |
...
CSS Stylesheet |
---|
.home-banner { background: #0052cc; color: #c2d6d6; font-size: 20px; padding: 20px; } .home-banner h2 { color: #f2f2f2; } |