s per as the changes made in he HPI B.03.01 Specification(section 7.9.13 page 238),
the existing code in oa_soap_get_hotswap_state() at plugins/oa_soap/oa_soap_hotswap.c:
if (! (rpt->ResourceCapabilities & SAHPI_CAPABILITY_MANAGED_HOTSWAP)) {
err("Resource does not have MANAGED_HOTSWAP capability");
return SA_ERR_HPI_CAPABILITY;
}
Should be modified to
if (! (rpt->ResourceCapabilities & SAHPI_CAPABILITY_FRU)) {
err("Resource does not have SAHPI_CAPABILITY_FRU");
return SA_ERR_HPI_CAPABILITY;
}
summary: oa_soap_get_hotswap_state() should check SAHPI_CAPABILITY_FRU instead of SAHPI_CAPABILITY_MANAGED_HOTSWAP --> oa_soap_get_hotswap_state() should check SAHPI_CAPABILITY_FRU
s per as the changes made in he HPI B.03.01 Specification(section 7.9.13 page 238), the existing code in oa_soap_get_hotswap_state() at plugins/oa_soap/oa_soap_hotswap.c:
if (! (rpt->ResourceCapabilities & SAHPI_CAPABILITY_MANAGED_HOTSWAP)) { err("Resource does not have MANAGED_HOTSWAP capability"); return SA_ERR_HPI_CAPABILITY; }
Should be modified to
For more details please refer bug #1487.
Reported by: openhpi2