Skip to content

Conversation

@fitbeard
Copy link
Contributor

This heavily depends on placement database which we implemented earlier. Allocations and usage are collected from placement database because all data is already there. This also will cover both drivers for quotas:

This should be also valid for: https://docs.openstack.org/nova/2025.2/admin/quotas.html#quota-usage-from-placement

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
@fitbeard fitbeard requested a review from mnaser December 18, 2025 13:20

func mapServerStatus(status string) int {
for idx, s := range knownServerStatuses {
if status == s {
Copy link

@na50r na50r Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use: strings.ToUpper(status)
In case where the status has different casing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants