Sorry for the OT but I don't know where to ask.
I have to move a bounch of VMs from XenServer to Proxmox, to do so automatically with a script made by me, I need to know the exact disks lists and sizes attached to the XS server, via http call.
Reading the OVA.xml file (i can export the VM metadata easily) from bash is hard and not easily scriptable.
As the new host running my custom script is proxmox, do you know if there are some perl modules able to read and parse the ova.xml files ? What I need is the disk name (Ref:71, Ref:94 and so on) and the allocated size of each one.
I have to move a bounch of VMs from XenServer to Proxmox, to do so automatically with a script made by me, I need to know the exact disks lists and sizes attached to the XS server, via http call.
Reading the OVA.xml file (i can export the VM metadata easily) from bash is hard and not easily scriptable.
As the new host running my custom script is proxmox, do you know if there are some perl modules able to read and parse the ova.xml files ? What I need is the disk name (Ref:71, Ref:94 and so on) and the allocated size of each one.