Hi,
I am writing some provisioning scripts using the python API in which
I add a number of hosts to an ovirt engine.
To minimize the time the script takes, I would like to call
host_service.setup_network() and host_service.commit_net_config() for
each host with async=True and then get into a loop checking every few
seconds for the status of the hosts until all of them have finished (so
I can go on with another task such as configuring storage).
I was able to do something similar for the install phase checking if
host.status equals HostStatus.MAINTENANCE , but I cannot find in the
documentation how to check when a host is in status "reconfiguring
network". The web interface shows this, so surely there must be a way,
but I have not managed to find it in the API documentation.
Could somebody help?
Thanks in advance!
--
Eduardo Mayoral Jimeno
Systems engineer, platform department. Arsys Internet.
emayoral(a)arsys.es - +34 941 620 105 - ext 2153
Show replies by date