![](/images/new-backgrounds/1190192/19019255x1.webp)
Using | How Domains and Shelves are Represented |
|
|
In the following, the Domain Management Resource and the Shelf Management resource will be described in detail. A description of typical usage examples/scenarios will be given after that.
4.3.3.1Domain Management Resource
The Domain Management Resource acts as container for the Domain Management Control and is defined as follows.
Table 4-1 Definition of Domain Management Resource
SaHpiRptEntryT | Value |
|
|
EntryId | Assigned by HPI |
|
|
ResourceId | Assigned by HPI |
|
|
ResourceInfo | 0 for all values |
|
|
ResourceEntity | {RACK,0} this can be changed with the multishelf library |
| configuration file |
|
|
ResourceCapabilities | SAHPI_CAPABILITY_RESOURCE SAHPI_CAPABILITY_RDR |
| SAHPI_CAPABILITY_CONTROL |
|
|
ResourceSeverity | SAHPI_MAJOR |
|
|
DomainId | 0 |
|
|
IdString | Domain management |
|
|
This Domain Management control is only writable, not readable, and allows the application to dynamically add and remove domains.
Adding/removing a domain using this HPI control has the same effect as adding/removing a shelf by adding/removing an entry in the multishelf library configuration file. Therefore, whenever you use this HPI control to add/remove a domain, the software automatically updates the configuration file as well.
The RDR and the HPI control are defined as follows.
Table 4-2 Domain Management Control RDR
SaHpiRdrT | Value |
|
|
RecordId | Assigned by HPI |
|
|
RdrType | SAHPI_CTRL_RDR |
|
|
Entity | The same entity like Domain Management Resource |
|
|
RdrTypeUnion | Define in Table |
|
|
IdString | MOTHPI_CTRL_NAME_DOMAIN_MANAGEMENT |
|
|
28 | System Management Interface Based on |