[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-11-06 Thread Vrgotic, Marko
Dear Michal, We went with your first recommendation and built two python scripts. It works very nice and I am happy to share them with you: 1. after_vm_migrate_source/60_register_migration #!/usr/bin/python2 from __future__ import print_function import hooking import os import

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-04 Thread Vrgotic, Marko
Michal, Thank you - that certainly helps. I will give it a try, using your suggestion and see how far I get. On 03/10/2019, 13:54, "Michal Skrivanek" wrote: > On 3 Oct 2019, at 12:50, Vrgotic, Marko wrote: > > Hi Michal, > > Thank you. Would you be so kind to

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-03 Thread Vrgotic, Marko
Hi Michal, Thank you. Would you be so kind to provide me with additional clarification? > you can’t just add a random tag into libvirt xml in a random place, it will > be dropped by libvirt. I understand, thank you. About persistence of added tag, it was not used/written during 1xMigration,

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-03 Thread Michal Skrivanek
> On 3 Oct 2019, at 12:50, Vrgotic, Marko wrote: > > Hi Michal, > > Thank you. Would you be so kind to provide me with additional clarification? > >> you can’t just add a random tag into libvirt xml in a random place, it will >> be dropped by libvirt. > I understand, thank you. About

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-03 Thread Michal Skrivanek
> On 2 Oct 2019, at 13:29, Vrgotic, Marko wrote: > > Any ideas > > From: "Vrgotic, Marko" > Date: Friday, 27 September 2019 at 17:26 > To: "users@ovirt.org" > Subject: How to pass parameters between VDSM Hooks domxml in single run > > Dear oVIrt, > > A while ago we discussed on ways to

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-02 Thread Vrgotic, Marko
Any ideas From: "Vrgotic, Marko" Date: Friday, 27 September 2019 at 17:26 To: "users@ovirt.org" Subject: How to pass parameters between VDSM Hooks domxml in single run Dear oVIrt, A while ago we discussed on ways to change/update content of parameters of domxml in certain action. As I