Using HPI-B How Domains and Shelves are Represented
Table 4-5 Shelf Management Resource (continued)
SaHPIRptEntryT | Value |
|
|
ResourceCapabilities | SAHPI_CAPABILITY_RESOURCE |
| SAHPI_CAPABILITY_RDR |
| SAHPI_CAPABILITY_CONTROL |
| SAHPI_CAPABILITY_SENSOR |
| When the shelf is reachable: |
| SAHPI_CAPABILITY_DOMAIN |
|
|
ResourceSeverity | SAHPI_MAJOR |
|
|
DomainId | Domain Id when the shelf is reachable |
|
|
IdString | Domain name |
|
|
The shelf management resource contains the following two RDRs:
zDomain management control
zConnection status sensor
Contains information about the current status of the connection to a shelf
The definitions of both HPI controls are given in the following.
4.3.3.2.1Domain Management Control
This HPI control is only readable. It has the same structure and definition as the HPI controls defined in Table "Domain Management Control" on page 29, Table "Domain Management Control State" on page 29 and Table "Domain Management Control RDR" on page 28.
4.3.3.2.2Connection State Sensor
This HPI sensor represents the status of the connection to a shelf. When the connection is interrupted, an HPI event of type SAHPI_ES_OFF_LINE is generated. When the connection is reestablished, an HPI event of type SAHPI_ES_ON_LINE is generated. An application can access a shelf only when the state of this sensor is SAHPI_ES_ON_LINE. The definition of this sensor is given in the following tables.
Table 4-6 Connection State RDR
SaHpiRdrT | Value |
|
|
RecordId | Assigned by HPI |
|
|
RdrType | SAHPI_SENSOR_RDR |
|
|
Entity | The same entity as domain management resource |
|
|
RdrTypeUnion | MOTHPI_SENSOR_NAME_DOMAIN_CONNEC |
| TION |
|
|
30 | System Management Interface Based on |