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);
Asset Strip Logger interface.
RecordType
Log record type.
@ ASSET_TAG_CONNECTED
An asset tag has been connected.
@ EMPTY
The log record is empty.
@ ASSET_TAG_DISCONNECTED
An asset tag has been disconnected.
Info getInfo()
Retrieve the log information.
int getRecords(out vector< Record > records, in int id, in int count)
Retrieve records from the log ring buffer.
Asset Management Strip interface.
Log information structure.
int newestRecord
Pointer to the newest log entry; -1 if the log is empty.
int capacity
Maximum number of entries in the record ring buffer.
int oldestRecord
Pointer to the oldest log entry; -1 if the log is empty.
int totalEventCount
Total number of events logged.
int rackUnitPosition
Rack unit position, -1 if unknown.
RecordType type
Entry type.
string tagId
The ID of the asset management tag, empty if unknown.
AssetStrip::State state
Asset strip state.
int rackUnitNumber
Rack unit number (0-based), -1 if unknown.
string parentBladeId
ID of the parent blade extension tag in case slotNumber>0, empty otherwise.
time timestamp
Time of log entry creation (UNIX timestamp, UTC)
int assetStripNumber
Asset strip number (0-based), -1 if unknown.
int slotNumber
Blade extension slot number, -1 if unknown, 0 is main strip, >0 is blade.