forked from AcademySoftwareFoundation/OpenCue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pycue] Add interactive functions to reboot hosts using the api (Acad…
…emySoftwareFoundation#1419) * Add interactive functions to reboot hosts using the api New api functions can be used to interactively reboot hosts on the farm and monitor their state. New functions: * `rebootFarmSafely`: uses the hostSearch module to find hosts and requests a reboot for each of them in groups defined by the arg `group_size`. If `start_time` is provided the function will only target hosts that have `boot_time` > `start_time` * `monitorRebootFarm` Similar to rebootFarmSafely, but instead of requesting a reboot, it continuosly monitors reboot groups and only finishes when all the hosts on the query have been rebooted. * Update pycue/opencue/wrappers/host.py Signed-off-by: Diego Tavares <dtavares@imageworks.com> --------- Signed-off-by: Diego Tavares <dtavares@imageworks.com>
- Loading branch information
1 parent
723f03a
commit da7104f
Showing
1 changed file
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters