I have managed to set a host SPM priority using 

SpmBuilder spmBuilder = new SpmBuilder().priority(7);
sysService.hostsService().hostService(host.id()).update().host(host().spm(spmBuilder)).send();

However I cannot use similar code to set a Host to SPM. I currently have 2 
active hosts in the same cluster in my system. Through the UI I can move SPM 
back and forth between them, but it is not working in the SDK. Any help 
appreciated.
_______________________________________________
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/773WV7DS7NT6XX23X6SCDESZ7IENL5KV/

Reply via email to