Raritan / Server Technology Xerus™ PDU JSON-RPC API
RawConfiguration.idl
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3  * Copyright 2018 Raritan Inc. All rights reserved.
4  */
5 
6 #include <UserEvent.idl>
7 
8 /** Raw Configuration */
9 module rawcfg {
10 
11  /** Raw Configuration Interface */
12  interface RawConfiguration {
13 
14  /** Status of the last raw configuration update operation */
15  enumeration Status {
16  UNKNOWN, ///< No raw configuration was done yet
17  UPLOAD_FAILED, ///< Uploading a raw configuration failed
18  UPDATE_PENDING, ///< Update is pending
19  UPDATE_OK, ///< Updating raw configuration successful
20  UPDATE_FAILED ///< Updating raw configuration failed
21  };
22 
23  /**
24  * Retrieve the status of the last raw configuration update
25  * operation.
26  *
27  * @param status Result: Raw configuration update status
28  * @param timeStamp Result: Time of last update operation (UNIX timestamp, UTC)
29  */
30  void getStatus(out Status status, out time timeStamp);
31 
32  /** Event: Raw configuration downloaded */
33  valueobject RawConfigDownloadedEvent extends event.UserEvent {};
34  /** Event: Raw configuration updated */
35  valueobject RawConfigUpdatedEvent extends event.UserEvent {};
36  };
37 
38 }
Raw Configuration Interface.
Definition: RawConfiguration.idl:12
Status
Status of the last raw configuration update operation.
Definition: RawConfiguration.idl:15
@ UPLOAD_FAILED
Uploading a raw configuration failed.
Definition: RawConfiguration.idl:17
@ UPDATE_OK
Updating raw configuration successful.
Definition: RawConfiguration.idl:19
@ UNKNOWN
No raw configuration was done yet.
Definition: RawConfiguration.idl:16
@ UPDATE_PENDING
Update is pending.
Definition: RawConfiguration.idl:18
void getStatus(out Status status, out time timeStamp)
Retrieve the status of the last raw configuration update operation.
Raw Configuration.
Definition: RawConfiguration.idl:9