<div dir="ltr">Aha! Cheers<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2017 at 12:20, Andrej Krejcir <span dir="ltr">&lt;<a href="mailto:akrejcir@redhat.com" target="_blank">akrejcir@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>global maintenance can be set using the &#39;maintenance&#39; method on the Hosted Engine VM.</div><div><br></div><div><a href="http://ovirt.github.io/ovirt-engine-api-model/4.0/#services/vm/methods/maintenance" target="_blank">http://ovirt.github.io/ovirt-e<wbr>ngine-api-model/4.0/#services/<wbr>vm/methods/maintenance</a><br></div><div><br></div><div>Regards,</div><div>Andrej</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 13 February 2017 at 21:17, Doug Ingham <span dir="ltr">&lt;<a href="mailto:dougti@gmail.com" target="_blank">dougti@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hey Guys,<br></div> I&#39;ve gone through both oVirt&#39;s &amp; Red Hat&#39;s API docs, but I can only find info on getting the global maintenance state &amp; setting local maintenance on specific hosts.<br></div><br>Is it not possible to set global maintenance via the API?<br><br></div>I&#39;m writing up a new script for our engine-backup routine, but having to set GM by acessing a specific node seems a bit inelegant...<br><div><div><br><a href="https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/rest-api-guide/" target="_blank">https://access.redhat.com/docu<wbr>mentation/en/red-hat-virtualiz<wbr>ation/4.0/single/rest-api-<wbr>guide/</a><br clear="all"><div><div><br></div><div>Cheers,<span class="m_-2594924977969314138HOEnZb"><font color="#888888"><br></font></span></div><span class="m_-2594924977969314138HOEnZb"><font color="#888888"><div>-- <br><div class="m_-2594924977969314138m_-1606023795841679101gmail_signature">Doug</div>
</div></font></span></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Doug</div>
</div>