Setting Migration Mode via SDK

Hi In the VM Host settings, I need to set Migration mode ( Migration Options ) to "Do not allow migration" from the SDK but I do not see any functionality that would allow me to preform this task. Is there any method available that would let me achieve this from my Java code? Any help would be much appreciated. Best Regards Don

Hi, I think that what you are looking for is : Vm-> VmPlacementPolicy -> VmAffinity - > PINNED Regards, Fred On Fri, Aug 9, 2019 at 3:18 PM <donagh.moran@oracle.com> wrote:
Hi In the VM Host settings, I need to set Migration mode ( Migration Options ) to "Do not allow migration" from the SDK but I do not see any functionality that would allow me to preform this task. Is there any method available that would let me achieve this from my Java code? Any help would be much appreciated.
Best Regards Don _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/TQNE5NCFWZZJUG...

Hi Fred Yes this is exactly what I was looking for. Thanks for the help much appreciated. Best Regards Donagh
participants (2)
-
donagh.moran@oracle.com
-
Fred Rolland