Hi,
This is currently in progress:
https://bugzilla.redhat.com/show_bug.cgi?id=1450351

Regards,
Liran.

On Thu, Sep 26, 2019 at 2:16 PM <scott.fitzgerald@oracle.com> wrote:
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 -- 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/D5BLGXL54JI3YHU5LFSFB4XY7ZUR7KAV/