6#ifndef __ASSETMGRMODEL_ASSETSTRIP_IDL__
7#define __ASSETMGRMODEL_ASSETSTRIP_IDL__
9#include <AssetStripConfig.idl>
10#include <UserEvent.idl>
22 constant
int NO_ERROR = 0;
23 constant
int ERR_INVALID_PARAM = 1;
24 constant
int ERR_NO_SUCH_OBJECT = 2;
25 constant
int ERR_NOT_SUPPORTED = 3;
26 constant
int ERR_OPERATION_FAILED = 4;
31 constant
int MAIN_STRIP_COLUMN = 0;
56 CASCADE_FIRMWARE_UPDATE
Asset Strip Config interface.
Orientation
AssetStripConfig orientation
Asset Management Strip interface.
@ FIRMWARE_UPDATE
Firmware update in progress on main strip.
@ UNSUPPORTED
Connected asset strip is unsupported.
@ DISCONNECTED
No strip connected.
int getExtensionTags(in int rackUnitNumber, out vector< TagInfo > tags)
Get all asset tags on an extension.
int getTag(in int rackUnitNumber, in int slotNumber, out TagInfo tagInfo)
Get the asset tag for a rack unit.
StripInfo getStripInfo()
Get dynamic (number of tags) information.
void triggerPowercycle(in boolean hard)
Trigger a powercycle of either the whole asset strip port or the LED part power supply on the asset s...
vector< TagInfo > getMainTags()
Get all asset tags on the main strip.
DeviceInfo getDeviceInfo()
Get static (hardware and firmware) information.
int getRackUnitInfo(in int rackUnitNumber, out RackUnitInfo info)
Get info with all settings of a rack unit at once.
vector< TagInfo > getAllTags()
Get all asset tags of the strip.
FirmwareUpdateState
Enumeration: State of firmware update.
@ UPDATE_SUCCESSFUL
Update was completed successfully.
@ UPDATE_STARTED
Update is running.
FirmwareUpdateState getFirmwareUpdateState()
Retrieve state of firmware update on main strip.
int programTagIDs(in vector< TagInfo > tagInfos)
Program custom tag IDs.
State getState()
Get the current state of the AssetStrip.
TagType
Type of an asset tag connected to a rack unit.
@ EXTENSION
blade server extension, only possible on the main strip
@ SINGLE
single asset tag connected to main strip or an extension
vector< RackUnitInfo > getAllRackUnitInfos()
Get infos with settings for all rack units.
CascadeState
For composite asset strips CascadeState shows additional information about the state of the complete ...
@ CASCADE_ACTIVE
cascade is up and running
Settings for a single rack unit (LED state)
boolean overflow
Whether the strip is out of space for new blade extension tags.
Event: Strip composition has changed.
int oldComponentCount
Component count before change.
int newComponentCount
Component count after change.
Static (type, version) information for an AssetStrip.
int deviceId
Device type (indicated a certain hardware)
boolean orientationSensAvailable
Indicates whether the strip has an orientation sensor.
int bootVersion
Bootcode software version.
int appVersion
Application code software version.
boolean isCascadable
The asset strip type.
int protocolVersion
Protocol version the strip is supporting.
int hardwareId
Hardware ID, revision.
boolean rackUnitCountConfigurable
Rack unit count has to be configured, i.e. is not auto detected.
Event: Firmware update on main strip was started or has finished.
FirmwareUpdateState state
Update state.
Event: Detected strip orientation has changed.
AssetStripConfig::Orientation oldOrientation
Strip orientation before change.
AssetStripConfig::Orientation newOrientation
Strip orientation after change.
Event: A rack unit has changed.
RackUnitInfo rackUnit
New rack unit information.
int rackUnitNumber
Affected rack unit index.
Infos for a single rack unit.
int rackUnitPosition
resulting rack unit position (display number)
AssetStripConfig::RackUnitSettings settings
settings for a single rack unit
TagType type
type of the asset tag (single, extension, none or unknown)
int rackUnitNumber
The rack unit index for the settings, range 0..rackUnitCount-1.
int assetStripNumberOfRackUnits
number of rack units in strip that this rack unit belongs to
int assetStripCascadePosition
number of strip in cascade
int size
blade extension size (4,8,16), 1 for single tags or 0 if nothing connected
int rackUnitRelativePosition
relative position to strip
Event: Asset strip state has changed.
State newState
State after change.
DeviceInfo deviceInfo
Information about connected strip, only valid if newState is AVAILABLE.
State oldState
State before change.
Event: Asset strip dynamic information has changed.
StripInfo newInfo
Information after change.
StripInfo oldInfo
Information before change.
Dynamic (may change with a connected strip) information for an AssetStrip.
int maxBladeTagCount
Maximum number of tags supported on blade extensions.
int maxMainTagCount
Maximum number of tags supported on the main strip.
int bladeTagCount
Current number of tags on all blade extensions.
int mainTagCount
Current number of tags on the main asset strip.
CascadeState cascadeState
State of the cascade (only for composite strips)
int componentCount
Number of components.
int rackUnitCount
Rack unit count, i.e. number of tags connectable.
boolean bladeOverflow
Out of space for new blade extension tags, read-only.
Information describing a tag change.
TagInfo tag
Tag which was attached or detached.
string parentBladeTagId
Asset tag ID of the parent blade tag, empty if the tag is not an extension tag.
RackUnitInfo info
Rack unit the tag was/is connected to.
int slotPosition
Blade slot position of the tag, 0 if the tag is not an extension tag.
Event: A tag was added or removed.
vector< TagInfo > allTags
New list of detected tags after change.
vector< TagChangeInfo > tags
Affected tags.
Information for a single tag.
int slotNumber
Blade slot this tag is connected to, 0 is the main strip, >0 for blades.
boolean programmable
Is the asset tag ID programmable?
string rawId
The asset tag ID (6 byte hexadecimal string 'AABBCCDDEEFF')
string familyDesc
Tag family description, indicating different tag hardware.
int rackUnitNumber
The rack unit index this tag is connected to, range 0..rackUnitCount-1.
Event: A tag was removed.
Common base for all events.