Skip to content

rrdd: support multiple vm_uuid/sr_uuid query parameters#6938

Merged
psafont merged 1 commit intoxapi-project:masterfrom
xcp-ng:gtn-rrd-multiple-uuids
Mar 6, 2026
Merged

rrdd: support multiple vm_uuid/sr_uuid query parameters#6938
psafont merged 1 commit intoxapi-project:masterfrom
xcp-ng:gtn-rrd-multiple-uuids

Conversation

@gthvn1
Copy link
Contributor

@gthvn1 gthvn1 commented Mar 6, 2026

Allow the rrd_updates handler to accept multiple vm_uuid and sr_uuid parameters in the HTTP query. Previously only a single value was supported via List.assoc.

This also simplifies the query parsing code and makes the filtering logic reusable for both VM and SR RRDs.

@gthvn1 gthvn1 force-pushed the gtn-rrd-multiple-uuids branch from 0d621ac to f52e16b Compare March 6, 2026 13:00
Allow the rrd_updates handler to accept multiple vm_uuid and sr_uuid
query parameters in the HTTP query. Previously only a single value
was supported via List.assoc.

You can now pass URL parameters like "?vm_uuid=XXX&vm_uuid=YYY".

This also simplifies the query parsing code and makes the filtering
logic reusable for both VM and SR RRDs.

Signed-off-by: Guillaume <guillaume.thouvenin@vates.tech>
@gthvn1 gthvn1 force-pushed the gtn-rrd-multiple-uuids branch from f52e16b to 1acecd6 Compare March 6, 2026 15:31
@psafont psafont added this pull request to the merge queue Mar 6, 2026
Merged via the queue into xapi-project:master with commit 510bf0a Mar 6, 2026
16 checks passed
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.

3 participants