Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xe pif-list default params (#5263) #5264

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

ydirson
Copy link
Contributor

@ydirson ydirson commented Nov 27, 2023

Adds host-id to pif-list params printed by default, and fix the "MAC" case discrepancy noticed by @robhoes

@edwintorok
Copy link
Contributor

Run dune build @fmt --auto-promote (or see the output from the CI)

@@ -935,7 +935,8 @@ let gen_cmds rpc session_id =
; Client.PIF.(
mk get_all_records_where get_by_uuid pif_record "pif" []
[
"uuid"; "device"; "VLAN"; "mac"; "network-uuid"; "currently-attached"
"uuid"; "device"; "VLAN"; "MAC"; "network-uuid"; "currently-attached";
"host-id"
Copy link
Member

Choose a reason for hiding this comment

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

It's host-uuid... and please make sure you test it ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For some reason, xe pif-list still does not output either MAC or host-id here, after integrating this patch into the RPM build chain to be sure not to miss anything.

Copy link
Member

Choose a reason for hiding this comment

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

It works for me.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
The wrong case causes the MAC param not to be part of the default
display.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
@psafont psafont merged commit 7d83c8c into xapi-project:master Nov 29, 2023
6 checks passed
@ydirson ydirson deleted the xe-pif-list-params branch January 17, 2024 10:06
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.

None yet

4 participants