Hi,

here is the Python SDK example doing what you need:


https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/change_host_cluster.py

Ondra

On 01/10/2019 16:25, [email protected] wrote:
Hi,

I have a cluster, Cluster1, and a host, Host1. I have set Host1 to maintenance, and want 
create a second cluster, Cluster2, and place Host1 into Cluster2 and set it to active. 
Through the UI this is done by selecting the "Select Hosts" option during 
Cluster creation. How can I achieve the same through the SDK?

TIA
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/ZA2CTVVFDU6X4N3LM5YGRQKW6XYE4UUX/

_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/SM2O7V7GZYD3QZO2GISNX6OTRYN4RVHX/

Reply via email to