Hi,

you can take a look at one of our OST suite test scenarios:

https://github.com/oVirt/ovirt-system-tests/blob/68d0b06588f1a23868324ea64b1ddb6c4db9cd82/basic-suite-master/test-scenarios/002_bootstrap.py#L141

There's some code that queries the hosts' statuses.

Regards, Marcin

On 5/13/19 10:40 AM, Kaustav Majumder wrote:
Hi,
 i am working on https://bugzilla.redhat.com/show_bug.cgi?id=1699512 in which i am required to check if a host with a given hostuuid is up before I can issues another commands. Is there any code which I can reuse to check the host status.

--

Thanks,

Kaustav Majumder


_______________________________________________
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/KTUBLOGZJZD2UHZSWFKEB7ODZB6HVHF6/