Skip to content

v0.4.0

Latest

Choose a tag to compare

@mnaser mnaser released this 04 Dec 14:49

Add Cinder, Octavia, and Manila quota reads, Manila logical-share inventory, and Neutron active quota reservation reads.

  • cinder/db: add QuotaGetAllByProject, QuotaUsageGetAllByProject, QuotaClassGetDefaults, and ParseQuotaResource for raw project limits, cached usage counters, persisted default class limits, and per-volume-type resource key parsing (#10).
  • octavia/db/repositories: add QuotaGetAll, QuotaUsageGetAll, and QuotaRepository (GetAll for stored limits and cached in_use_* counters; GetUsage for recounting all seven resource tables to detect drift) (#11).
  • manila/db: add ShareGetInventory (one row per logical share following Manila's Share.instance rules) and six raw quota/usage reads (QuotaGetAllByProject, QuotaGetAllByProjectAndUser, QuotaGetAllByProjectAndShareType, QuotaClassGetDefault, QuotaUsageGetAllByProject, QuotaUsageGetAllByProjectAndShareType) (#12).
  • neutron/db: add GetReservationsForResources (active per-delta reservation rows evaluated against UTC_TIMESTAMP()) and deterministic ordering on GetQuotas (#13).

Validated with unit/race tests, SQL generation checks, MariaDB integration tests, and exporter compatibility tests.

Changes: #10, #11, #12, #13