Hi all, 

I have a test case as follows:

Enable "require reason for vm maintenance" on Cluster
Shutdown vm
Ensure reason is saved

A similar case for hosts is achieved by the following

hostsService
                .hostService(host.id())
                .deactivate()
                .reason(reason)
                .send();

But the shutdown option for vms does not have a reason option. How can I set 
the reason for shutdown of a VM 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/D5BLGXL54JI3YHU5LFSFB4XY7ZUR7KAV/

Reply via email to