Hi,
I might be missing something here, but I'm looking for the right API way to 
start a defined VM on a different host.
The scenario is this:
1. VM is running under Cluster Affinity Host. and there is a need to cold 
migrate it to another host on that Affinity.
2. for that I will stop the VM.
3. And now I would like to start the VM on another host, I tried few ways like:
vm_service.start(
    vm=types.Vm(
            host=types.Host(
                                name='<host name>'
                        ),
        )
)

But VM keep starting on the current host.
Can you please show me the right way to do it.

Thanks,
Lavi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EJH2X5X5FDIR7Q7NTHOPYTNMOE3M6JDD/

Reply via email to