Raritan PX2/PX3 JSON-RPC API
|
6 #ifndef __ASSETMGRMODEL_ASSETSTRIP_LOGGER_IDL__
7 #define __ASSETMGRMODEL_ASSETSTRIP_LOGGER_IDL__
9 #include <AssetStrip.idl>
22 constant
int NO_ERROR = 0;
23 constant
int ERR_INVALID_PARAM = 1;
42 ASSET_STRIP_STATE_CHANGED
81 int getRecords(out vector<Record> records, in
int id, in
int count);
@ EMPTY
The log record is empty.
Definition: AssetStripLogger.idl:39
@ ASSET_TAG_CONNECTED
An asset tag has been connected.
Definition: AssetStripLogger.idl:40
int rackUnitNumber
Rack unit number (0-based), -1 if unknown.
Definition: AssetStripLogger.idl:52
Log record structure.
Definition: AssetStripLogger.idl:48
string parentBladeId
ID of the parent blade extension tag in case slotNumber>0, empty otherwise.
Definition: AssetStripLogger.idl:56
Asset Strip Logger interface.
Definition: AssetStripLogger.idl:17
Log information structure.
Definition: AssetStripLogger.idl:28
RecordType type
Entry type.
Definition: AssetStripLogger.idl:50
string tagId
The ID of the asset management tag, empty if unknown.
Definition: AssetStripLogger.idl:55
int totalEventCount
Total number of events logged.
Definition: AssetStripLogger.idl:32
int newestRecord
Pointer to the newest log entry; -1 if the log is empty.
Definition: AssetStripLogger.idl:31
Asset Management Strip interface.
Definition: AssetStrip.idl:17
int getRecords(out vector< Record > records, in int id, in int count)
Retrieve records from the log ring buffer.
Asset Management Model.
Definition: AssetStrip.idl:15
int slotNumber
Blade extension slot number, -1 if unknown, 0 is main strip, >0 is blade.
Definition: AssetStripLogger.idl:54
AssetStrip_2_0_5::State state
Asset strip state.
Definition: AssetStripLogger.idl:57
int oldestRecord
Pointer to the oldest log entry; -1 if the log is empty.
Definition: AssetStripLogger.idl:30
time timestamp
Time of log entry creation (UNIX timestamp, UTC)
Definition: AssetStripLogger.idl:49
int assetStripNumber
Asset strip number (0-based), -1 if unknown.
Definition: AssetStripLogger.idl:51
RecordType
Log record type.
Definition: AssetStripLogger.idl:38
Info getInfo()
Retrieve the log information.
int capacity
Maximum number of entries in the record ring buffer.
Definition: AssetStripLogger.idl:29
@ ASSET_TAG_DISCONNECTED
An asset tag has been disconnected.
Definition: AssetStripLogger.idl:41
State
AssetStrip state
Definition: AssetStrip.idl:34
int rackUnitPosition
Rack unit position, -1 if unknown.
Definition: AssetStripLogger.idl:53