1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-05 10:08:58 +00:00

xenserver_guest_info: add VDI uuid and vdi_type to disk info (#12119)

* xenserver_guest_info: add VDI uuid and vdi_type to disk info

  Add uuid and vdi_type (VHD/QCOW2) fields to the disk information
  returned by xenserver_guest_info module.

  Fixes #11998

* changelog: add PR URL to changelog fragment

* xenserver_guest_info: add uuid and vdi_type to RETURN example output
This commit is contained in:
Shreyash 2026-05-30 23:13:30 +05:30 committed by GitHub
parent d749cf7c85
commit 9208cbfd43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 24 additions and 7 deletions

View file

@ -11,7 +11,9 @@
"size": 42949672960,
"sr": "Ansible Test Storage 1",
"sr_uuid": "767b30e4-f8db-a83d-8ba7-f5e6e732e06f",
"vbd_userdevice": "0"
"uuid": "b807f67b-3f37-4a6e-ad6c-033f812ab093",
"vbd_userdevice": "0",
"vdi_type": "vhd"
}
],
"domid": "143",

View file

@ -11,7 +11,9 @@
"size": 10737418240,
"sr": "Ansible Test Storage 1",
"sr_uuid": "767b30e4-f8db-a83d-8ba7-f5e6e732e06f",
"vbd_userdevice": "0"
"uuid": "fa1202b8-326f-4235-802e-fafbed66b26b",
"vbd_userdevice": "0",
"vdi_type": "vhd"
},
{
"name": "ansible-test-vm-2-mysql",
@ -20,7 +22,9 @@
"size": 1073741824,
"sr": "Ansible Test Storage 1",
"sr_uuid": "767b30e4-f8db-a83d-8ba7-f5e6e732e06f",
"vbd_userdevice": "1"
"uuid": "ab3a4d72-f498-4687-86ce-ca937046db76",
"vbd_userdevice": "1",
"vdi_type": "vhd"
}
],
"domid": "140",

View file

@ -11,7 +11,9 @@
"size": 8589934592,
"sr": "Ansible Test Storage 1",
"sr_uuid": "767b30e4-f8db-a83d-8ba7-f5e6e732e06f",
"vbd_userdevice": "0"
"uuid": "bdd0baeb-5447-4963-9e71-a5ff6e85fa59",
"vbd_userdevice": "0",
"vdi_type": "qcow2"
}
],
"domid": "-1",

View file

@ -138,7 +138,8 @@
"read_only": false,
"sharable": false,
"sm_config": {
"vdi_type": "vhd"
"image-format": "qcow2",
"vdi_type": "qcow2"
},
"snapshot_of": "OpaqueRef:NULL",
"snapshot_time": "19700101T00:00:00Z",