Reboot module allows system reboot.
Module name: “reboot”
Module version: 1.0
See Modules - Common API for general module description.
Functions:
APIs
Get supported API versions. See Modules - Common API for description.
reboot_now
Reboot managed system. Function will not return until
reboot has been performed.
It is useful for reboot after kernel
update:
Create batch that will update kernel, then reboot.
Execute it asynchronously, retrieving batch status periodically
(there will be a period when ricci will not be responding). When
batch reports successful completion, kernel has been upgraded, and
it is in use (system has been rebooted).
No input variables.
No output variables.
On failure:
- No special errors defined, only
generic ones might get returned.