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;
64 CASCADE_FIRMWARE_UPDATE
Asset Strip Config interface.
Definition: AssetStripConfig.idl:17
Orientation
AssetStripConfig orientation
Definition: AssetStripConfig.idl:56
Asset Management Strip interface.
Definition: AssetStrip.idl:17
State
AssetStrip state
Definition: AssetStrip.idl:34
@ FIRMWARE_UPDATE
Firmware update in progress on main strip.
Definition: AssetStrip.idl:36
@ UNSUPPORTED
Connected asset strip is unsupported.
Definition: AssetStrip.idl:37
@ DISCONNECTED
No strip connected.
Definition: AssetStrip.idl:35
int getExtensionTags(in int rackUnitNumber, out vector< TagInfo > tags)
Get all asset tags on an extension.
StripType
Type of the connected asset strip.
Definition: AssetStrip.idl:44
@ SIMPLE
single, monolitic strip
Definition: AssetStrip.idl:45
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.
vector< RackUnitInfo > getAllRackUnitInfos()
Get infos with settings for all rack units.
vector< TagInfo > getAllTags()
Get all asset tags of the strip.
int getRackUnitInfo(in int rackUnitNumber, out RackUnitInfo info)
Get info with all settings of a rack unit at once.
FirmwareUpdateState
Enumeration: State of firmware update.
Definition: AssetStrip.idl:166
@ UPDATE_SUCCESSFUL
Update was completed successfully.
Definition: AssetStrip.idl:168
@ UPDATE_STARTED
Update is running.
Definition: AssetStrip.idl:167
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.
Definition: AssetStrip.idl:52
@ EXTENSION
blade server extension, only possible on the main strip
Definition: AssetStrip.idl:54
@ SINGLE
single asset tag connected to main strip or an extension
Definition: AssetStrip.idl:53
CascadeState
For composite asset strips CascadeState shows additional information about the state of the complete ...
Definition: AssetStrip.idl:62
@ CASCADE_ACTIVE
cascade is up and running
Definition: AssetStrip.idl:63
Asset Management Model.
Definition: AssetStrip.idl:15
Basic IDL definitions.
Definition: Event.idl:10
Settings for a single rack unit (LED state)
Definition: AssetStripConfig.idl:111
Event: Tag overflow.
Definition: AssetStrip.idl:178
boolean overflow
Whether the strip is out of space for new blade extension tags.
Definition: AssetStrip.idl:179
Event: Strip composition has changed.
Definition: AssetStrip.idl:190
int oldComponentCount
Component count before change.
Definition: AssetStrip.idl:191
int newComponentCount
Component count after change.
Definition: AssetStrip.idl:192
Static (type, version) information for an AssetStrip.
Definition: AssetStrip.idl:70
int deviceId
Device type (indicated a certain hardware)
Definition: AssetStrip.idl:71
boolean orientationSensAvailable
Indicates whether the strip has an orientation sensor.
Definition: AssetStrip.idl:76
int bootVersion
Bootcode software version.
Definition: AssetStrip.idl:74
int appVersion
Application code software version.
Definition: AssetStrip.idl:75
boolean isCascadable
The asset strip type.
Definition: AssetStrip.idl:77
int protocolVersion
Protocol version the strip is supporting.
Definition: AssetStrip.idl:73
int hardwareId
Hardware ID, revision.
Definition: AssetStrip.idl:72
boolean rackUnitCountConfigurable
Rack unit count has to be configured, i.e. is not auto detected.
Definition: AssetStrip.idl:78
Event: Firmware update on main strip was started or has finished.
Definition: AssetStrip.idl:173
FirmwareUpdateState state
Update state.
Definition: AssetStrip.idl:174
Event: Detected strip orientation has changed.
Definition: AssetStrip.idl:184
AssetStripConfig::Orientation oldOrientation
Strip orientation before change.
Definition: AssetStrip.idl:185
AssetStripConfig::Orientation newOrientation
Strip orientation after change.
Definition: AssetStrip.idl:186
Event: A rack unit has changed.
Definition: AssetStrip.idl:137
RackUnitInfo rackUnit
New rack unit information.
Definition: AssetStrip.idl:139
int rackUnitNumber
Affected rack unit position.
Definition: AssetStrip.idl:138
Infos for a single rack unit.
Definition: AssetStrip.idl:111
int rackUnitPosition
resulting rack unit position (display number)
Definition: AssetStrip.idl:113
AssetStripConfig::RackUnitSettings settings
settings for a single rack unit
Definition: AssetStrip.idl:116
TagType type
type of the asset tag (single, extension, none or unknown)
Definition: AssetStrip.idl:114
int rackUnitNumber
rack unit for the settings, range 0..rackUnitCount-1
Definition: AssetStrip.idl:112
int assetStripNumberOfRackUnits
number of rack units in strip that this rack unit belongs to
Definition: AssetStrip.idl:119
int assetStripCascadePosition
number of strip in cascade
Definition: AssetStrip.idl:117
int size
blade extension size (4,8,16), 1 for single tags or 0 if nothing connected
Definition: AssetStrip.idl:115
int rackUnitRelativePosition
relative position to strip
Definition: AssetStrip.idl:118
Event: Asset strip state has changed.
Definition: AssetStrip.idl:129
State newState
State after change.
Definition: AssetStrip.idl:131
DeviceInfo deviceInfo
Information about connected strip, only valid if newState is AVAILABLE.
Definition: AssetStrip.idl:132
State oldState
State before change.
Definition: AssetStrip.idl:130
Event: Asset strip dynamic information has changed.
Definition: AssetStrip.idl:123
StripInfo newInfo
Information after change.
Definition: AssetStrip.idl:125
StripInfo oldInfo
Information before change.
Definition: AssetStrip.idl:124
Dynamic (may change with a connected strip) information for an AssetStrip.
Definition: AssetStrip.idl:84
int maxBladeTagCount
Maximum number of tags supported on blade extensions.
Definition: AssetStrip.idl:86
int maxMainTagCount
Maximum number of tags supported on the main strip.
Definition: AssetStrip.idl:85
int bladeTagCount
Current number of tags on all blade extensions.
Definition: AssetStrip.idl:88
int mainTagCount
Current number of tags on the main asset strip.
Definition: AssetStrip.idl:87
CascadeState cascadeState
State of the cascade (only for composite strips)
Definition: AssetStrip.idl:92
int componentCount
Number of components.
Definition: AssetStrip.idl:91
int rackUnitCount
Rack unit count, i.e. number of tags connectable.
Definition: AssetStrip.idl:90
boolean bladeOverflow
Out of space for new blade extension tags, read-only.
Definition: AssetStrip.idl:89
Event: A tag was added.
Definition: AssetStrip.idl:161
Information describing a tag change.
Definition: AssetStrip.idl:145
TagInfo tag
Tag which was attached or detached.
Definition: AssetStrip.idl:146
string parentBladeTagId
Asset tag ID of the parent blade tag, empty if the tag is not an extension tag.
Definition: AssetStrip.idl:148
RackUnitInfo info
Rack unit the tag was/is connected to.
Definition: AssetStrip.idl:147
int slotPosition
Blade slot position of the tag, 0 if the tag is not an extension tag.
Definition: AssetStrip.idl:150
Event: A tag was added or removed.
Definition: AssetStrip.idl:155
vector< TagInfo > allTags
New list of detected tags after change.
Definition: AssetStrip.idl:157
vector< TagChangeInfo > tags
Affected tags.
Definition: AssetStrip.idl:156
Information for a single tag.
Definition: AssetStrip.idl:98
int slotNumber
Blade slot this tag is connected to, 0 is the main strip, >0 for blades.
Definition: AssetStrip.idl:100
boolean programmable
Is the asset tag ID programmable?
Definition: AssetStrip.idl:103
string rawId
The asset tag ID (6 byte hexadecimal string 'AABBCCDDEEFF')
Definition: AssetStrip.idl:102
string familyDesc
Tag family description, indicating different tag hardware.
Definition: AssetStrip.idl:101
int rackUnitNumber
The rack unit this tag is connected to, range 0..rackUnitCount-1.
Definition: AssetStrip.idl:99
Event: A tag was removed.
Definition: AssetStrip.idl:163
Common base for all events.
Definition: Event.idl:13