Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
FirmwareUpdateStatus.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2010 Raritan Inc. All rights reserved.
4 */
5
6/**
7 * %Firmware Management
8 */
9module firmware {
10
11 /**
12 * %Firmware update status
13 */
14 structure UpdateStatus {
15 string state; ///< Current state of firmware update: NONE, INIT, PREP, SIMULATE, UPDATE, SUCCESS or FAIL
16 int elapsed; ///< Seconds since start of update, 0 if not available
17 int estimated; ///< Estimated total time for update, 0 if not available
18 string error_message; ///< Error message; empty if there was no error
19 };
20
21 /**
22 * %Firmware update status interface.
23 *
24 * Unlike all other sysrpc methods this function is implemented by a
25 * CGI script which is available even during a firmware update. The
26 * URL for this interface is /cgi-bin/fwupdate_progress.cgi.
27 */
29
30 /**
31 * Returns the device's firmware update status.
32 *
33 * @return Update status structure
34 */
36
37 };
38
39}
Firmware update status interface.
UpdateStatus getStatus()
Returns the device's firmware update status.
Firmware Management
Definition: Firmware.idl:12
Firmware update status
int elapsed
Seconds since start of update, 0 if not available.
string error_message
Error message; empty if there was no error.
string state
Current state of firmware update: NONE, INIT, PREP, SIMULATE, UPDATE, SUCCESS or FAIL.
int estimated
Estimated total time for update, 0 if not available.