Requesting post-attach-disk VM xml in a virtualization node

Hello, I’m developing the disk hotplug for LXDoNe and I’m in a roadblock. The thing is, attach_disk modifies the VM template, but doesn’t update the deployment.X file which contains the xml. You can request the VM template in the frontend and dump it into a file, that is nice, but, what I really need is to do the same thing in a virtualization host. I haven’t found a way to do this.

Help please!

Hi Daniel,

The last argument to the script is the driver_action. It includes the full XML description of the VM updated with the new disk. Take a look at:

http://docs.opennebula.org/5.4/integration/infrastructure_integration/devel-vmm.html

to parse this

Is it the same format like the one provided by deploy? I had read the integration guide and it seemed to me that the xml was only related to the new disk. Can you confirm this?