Raritan PX2/PX3 JSON-RPC API
AssetStripLogger.idl
1 #ifndef __ASSETMGRMODEL_ASSETSTRIP_LOGGER_IDL__
2 #define __ASSETMGRMODEL_ASSETSTRIP_LOGGER_IDL__
3 
4 #include <AssetStrip.idl>
5 
9 module assetmgrmodel {
10 
13 
17  constant int NO_ERROR = 0;
18  constant int ERR_INVALID_PARAM = 1;
19 
23  structure Info {
24  int capacity;
28  };
29 
33  enumeration RecordType {
37  ASSET_STRIP_STATE_CHANGED
38  };
39 
43  structure Record {
44  time timestamp;
49  int slotNumber;
50  string tagId;
51  string parentBladeId;
53  };
54 
60  Info getInfo();
61 
76  int getRecords(out vector<Record> records, in int id, in int count);
77 
78  };
79 
80 }
81 
82 #endif /* __ASSETMGRMODEL_ASSETSTRIP_LOGGER_IDL__ */
An asset tag has been connected.
Definition: AssetStripLogger.idl:35
string tagId
The ID of the asset management tag, empty if unknown.
Definition: AssetStripLogger.idl:50
Asset Management Strip interface.
Definition: AssetStrip.idl:12
Log information structure.
Definition: AssetStripLogger.idl:23
RecordType
Log record type.
Definition: AssetStripLogger.idl:33
int rackUnitNumber
Rack unit number (0-based), -1 if unknown.
Definition: AssetStripLogger.idl:47
Asset Strip Logger interface.
Definition: AssetStripLogger.idl:12
int newestRecord
Pointer to the newest log entry; -1 if the log is empty.
Definition: AssetStripLogger.idl:26
AssetStrip_2_0_5::State state
Asset strip state.
Definition: AssetStripLogger.idl:52
time timestamp
Time of log entry creation.
Definition: AssetStripLogger.idl:44
int assetStripNumber
Asset strip number (0-based), -1 if unknown.
Definition: AssetStripLogger.idl:46
int capacity
Maximum number of entries in the record ring buffer.
Definition: AssetStripLogger.idl:24
int rackUnitPosition
Rack unit position, -1 if unknown.
Definition: AssetStripLogger.idl:48
The log record is empty.
Definition: AssetStripLogger.idl:34
Log record structure.
Definition: AssetStripLogger.idl:43
int slotNumber
Blade extension slot number, -1 if unknown, 0 is main strip, >0 is blade.
Definition: AssetStripLogger.idl:49
int totalEventCount
Total number of events logged.
Definition: AssetStripLogger.idl:27
Asset Management Model.
Definition: AssetStrip.idl:10
int oldestRecord
Pointer to the oldest log entry; -1 if the log is empty.
Definition: AssetStripLogger.idl:25
State
AssetStrip state
Definition: AssetStrip.idl:29
string parentBladeId
ID of the parent blade extension tag in case slotNumber>0, empty otherwise.
Definition: AssetStripLogger.idl:51
An asset tag has been disconnected.
Definition: AssetStripLogger.idl:36
RecordType type
Entry type.
Definition: AssetStripLogger.idl:45