[ovirt-users] How to enable Global Maintenance via the REST-API?

Doug Ingham dougti at gmail.com
Wed Feb 15 15:27:12 UTC 2017


Aha! Cheers

On 15 February 2017 at 12:20, Andrej Krejcir <akrejcir at redhat.com> wrote:

> Hi,
>
> global maintenance can be set using the 'maintenance' method on the Hosted
> Engine VM.
>
> http://ovirt.github.io/ovirt-engine-api-model/4.0/#services/
> vm/methods/maintenance
>
> Regards,
> Andrej
>
> On 13 February 2017 at 21:17, Doug Ingham <dougti at gmail.com> wrote:
>
>> Hey Guys,
>>  I've gone through both oVirt's & Red Hat's API docs, but I can only find
>> info on getting the global maintenance state & setting local maintenance on
>> specific hosts.
>>
>> Is it not possible to set global maintenance via the API?
>>
>> I'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...
>>
>> https://access.redhat.com/documentation/en/red-hat-virtualiz
>> ation/4.0/single/rest-api-guide/
>>
>> Cheers,
>> --
>> Doug
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>


-- 
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170215/038eddfe/attachment-0001.html>


More information about the Users mailing list