Specifications

4
Changing Shelf Settings Using HPI
77
HPI parameter control
Theshelfresources,alongwithallintelligentFRUresourcesandslotresources,supportthe
parametercontrolfeature.TheseresourceshavetheSAHPI_CAPABILITY_CONFIGURATIONbit
setintheResourceCapabilitymaskoftheirresourcepresencetable(RPT)entry.
TherearethreebasicsaHpiParmControl()actions:
Note:IfthesavedconfigurationfileisfoundduringsystemstartuporduringFRUinsertion
(whentheresourcefortheFRUisbeingcreated),theactiveHPIserverwillloaditand
initializetheresourcetothecustomstate.
SeetheconfigurationsectionoftheSAFHPISpecificationfordetailsonsaHpiParmControl().
Data saved as configuration parameters
Thefollowingdataisstoredasconfigurationparametersforallresourcessupportingthe
parametercontrolcapability:
0SAHPI_DEFAULT_PARM Loadsthedefa ultsettingsforaresourceandrestoresitto
factorystate.UsethisoptiontoresettheFRUassociatedwith
theresourcetothefactorydefaultstate.
1SAHPI_SA VE_PARM Savesthecurrentconfigurationstateoftheresourceand
updatestheconfigurationfile.UsethisoptioniftheFRU
associatedwiththeresourceneedstoretainthecurrent
statefollowingapowercycle,reactivationorreinsertionin
thesameslot.
2SAHPI_RESTORE_PARM Loadstheconfigurationfilesavedbyanearlier
SAHPI_SAVE_PARMoperationandrestorestheFRU
associatedwiththeresourcetothecustomstate.
Table 7. Data stored as configuration parameters
All Resources Each Sensor Each Control
Resource ID
Resource manufacturer ID
Resource product ID
Resource tag
Resource severity
Resource auto-extract timer
(if configurable)
Sensor number
Thresholds and hysteresis
(if supported)
Enable state (if configurable)
Event enable state (if configurable)
Event assert and deassert masks (if
configurable)
Control number
Control mode
Control type
Control state
(if control is not ReadOnly)