Home
last modified time | relevance | path

Searched full:frus (Results 1 – 25 of 80) sorted by relevance

1234

/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Djson_utility.hpp64 (!i_sysCfgJsonObj.contains("frus"))) in getVPDOffset()
70 if (i_sysCfgJsonObj["frus"].contains(i_vpdFilePath)) in getVPDOffset()
72 return i_sysCfgJsonObj["frus"][i_vpdFilePath].at(0).value("offset", 0); in getVPDOffset()
76 i_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in getVPDOffset()
83 if (i_vpdFilePath == i_sysCfgJsonObj["frus"][l_fruPath].at(0).value( in getVPDOffset()
87 return i_sysCfgJsonObj["frus"][l_fruPath].at(0).value("offset", 0); in getVPDOffset()
169 if (!i_sysCfgJsonObj.contains("frus")) in getInventoryObjPathFromJson()
176 if (i_sysCfgJsonObj["frus"].contains(i_vpdPath)) in getInventoryObjPathFromJson()
178 return i_sysCfgJsonObj["frus"][i_vpdPath].at(0).value( in getInventoryObjPathFromJson()
183 i_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in getInventoryObjPathFromJson()
[all …]
H A Dvpd_specific_utility.hpp571 * Few FRUs need some special handling. To identify those FRUs CCIN are used.
927 * @brief API to sync keyword update to inherited FRUs.
930 * update to all inherited FRUs' respective interface, property on PIM.
952 if (!i_sysCfgJsonObj.contains("frus")) in updateKwdOnInheritedFrus()
958 if (!i_sysCfgJsonObj["frus"].contains(i_fruPath)) in updateKwdOnInheritedFrus()
983 // update inherited FRUs only in updateKwdOnInheritedFrus()
996 // iterate through all FRUs except the base FRU in updateKwdOnInheritedFrus()
998 i_sysCfgJsonObj["frus"][i_fruPath].begin() + constants::VALUE_1, in updateKwdOnInheritedFrus()
999 i_sysCfgJsonObj["frus"][i_fruPath].end(), l_populateInterfaceMap); in updateKwdOnInheritedFrus()
1121 * inherited FRUs.
[all …]
/openbmc/skeleton/pyinventorymgr/
H A Dinventory_items.py21 FRUS = {} variable
93 FRUS = inv
98 FRUS = System.FRU_INSTANCES variable
102 for f in list(FRUS.keys()):
106 obj = InventoryItem(bus, obj_path, FRUS[f])
111 if FRUS[f]["fru_type"] == "BMC":
/openbmc/docs/designs/
H A Dvpd-collection.md10 Field Replaceable Units (FRUs) today - one example is the BMC FRU. On OpenPower
13 VPD, which the BMC currently does not support. Certain FRUs also have keyword
16 The BMC requires to read VPD for all FRUs for several reasons:
19 included in the Platform Error Logs (PELs) for calling out FRUs for service.
31 of certain parameters of the FRU (atypical - for FRUs that do not have an
67 - The BMC must collect VPD for all FRUs that it has direct access to by the time
71 BMC applications need to be able to read VPD for FRUs to determine, for ex.,
83 to synthesize VPD for such FRUs. Details on VPD synthesis will be in its own
86 - The BMC should be able to recollect VPD for FRUs that can be hotplugged or
92 - The BMC must create/update FRU inventory objects for all FRUs that it collects
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_presence_yaml.pl4 #for FRUs. Its output is used by code that determines which FRUs
41 #Finds FRUs and their Presence detects where a tach reading
86 while (my ($method, $FRUs) = each(%{$presence}))
89 while (my ($name, $data) = each(%{$FRUs}))
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dmanager.hpp158 * @brief Get D-Bus object path of FRUs from expanded location code.
168 * @return List of FRUs D-Bus object paths for the given location code.
174 * @brief Get D-Bus object path of FRUs from unexpanded location code.
186 * @return List of FRUs D-Bus object paths for the given location code.
204 * This api will trigger parser to perform VPD recollection for FRUs that
226 * @brief API to collect all FRUs VPD.
228 * This api will call OEM handler API to perform VPD collection for all FRUs
233 * If host is in power on state, FRUs marked as 'powerOffOnly' in the
H A Dworker.hpp45 * @param[in] i_maxThreadCount - Maximum thread while collecting FRUs VPD.
63 * @brief API to process all FRUs presnt in config JSON file.
66 * trigger parser for all the FRUs and publish it on DBus.
175 * This api will trigger parser to perform VPD recollection for FRUs that
218 * @brief An API to process embedded and synthesized FRUs.
229 * For some FRUs VPD can be processed only if the FRU has some specific
231 * FRUs can't be processed.
369 * Also, if post action is required to be processed only for FRUs with
428 * Some FRUs, under some given scenarios should not be collected and
H A Dgpio_monitor.hpp60 * @brief An API to set event handler for FRUs GPIO presence.
141 // Array of event handlers for all the attachable FRUs.
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dmanager.cpp259 // update keyword in inherited FRUs in updateKeyword()
268 "Failed to update keyword on inherited FRUs for FRU [" + in updateKeyword()
286 "Failed to update Ci property of inherited FRUs, error : " + in updateKeyword()
461 if (!l_sysCfgJsonObj.contains("frus")) in getExpandedLocationCode()
463 logging::logMessage("Missing frus tag in system config JSON"); in getExpandedLocationCode()
467 l_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in getExpandedLocationCode()
505 if (!l_sysCfgJsonObj.contains("frus")) in getFrusByUnexpandedLocationCode()
507 logging::logMessage("Missing frus tag in system config JSON"); in getFrusByUnexpandedLocationCode()
511 l_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in getFrusByUnexpandedLocationCode()
704 ". Aborting all FRUs VPD collection."); in collectAllFruVpd()
[all …]
H A Dworker.cpp59 if (!m_parsedJson.contains("frus")) in Worker()
379 // embedded frus. If the subfru is not an embedded FRU, the subfru may in populateInterfaces()
380 // or may not be physically present. Those non embedded frus will always in populateInterfaces()
383 // Present to true for such sub frus. in populateInterfaces()
385 // for such sub frus. Also donot populate present property for embedded in populateInterfaces()
643 for (const auto& aFru : m_parsedJson["frus"][vpdFilePath]) in processFunctionalProperty()
672 // Process FRUS which are embedded in the parent FRU and whose VPD in processEnabledProperty()
719 m_parsedJson["frus"][i_vpdFilePath].at(0).value("inventoryPath", in populateDbus()
761 if (m_parsedJson["frus"][i_vpdFruPath] in populateDbus()
774 m_parsedJson["frus"][i_vpdFruPat in populateDbus()
[all...]
/openbmc/phosphor-host-ipmid/
H A Dread_fru_data.cpp16 extern const FruMap frus;
96 for (const auto& [fruId, instanceList] : frus) in processFruPropChange()
134 auto iter = frus.find(fruNum); in readDataFromInventory()
135 if (iter == frus.end()) in readDataFromInventory()
/openbmc/openbmc-test-automation/redfish/systems/
H A Dtest_systems_inventory.robot2 Documentation Inventory of hardware FRUs under redfish.
316 [Documentation] Verify a minimum number of FRUs.
321 # min_num_frus The minimum acceptable number of FRUs found.
326 ${status} ${num_valid_frus}= Run Key U Get Num Valid FRUs \ ${fru_type}
331 Fail Too few "${fru_type}" FRUs found, found only ${num_valid_frus}.
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/
H A Dibm_handler.hpp51 * @brief API to collect all FRUs VPD.
53 * This api will call worker API to perform VPD collection for all FRUs
59 * If host is in power on state, FRUs marked as 'powerOffOnly' in the
163 * Some FRUs VPD is specific to powerVS system. The API detects the
/openbmc/openbmc/meta-openpower/recipes-phosphor/vpd/openpower-fru-inventory-example/
H A Dinventory1 FRUS=BMC
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/
H A Dinventory1 FRUS=BMC,ETHERNET
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_cause.hpp101 PowerOffCause(count, "Missing Fan FRUs") in MissingFanFRUCause()
191 * @param[in] count - The minimum number of fan FRUs with
199 * @brief Returns true if 'count' or more fan FRUs have
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/VPD/
H A DManager.interface.yaml122 List of all the FRUs D-Bus object paths for the given location
140 List of all the FRUs D-Bus object path for the given location
170 An api to check for FRUs replaced and if required, perform
/openbmc/intel-ipmi-oem/
H A Dmeson.options15 description: 'Enable using EM decorators to map FRUs to entity IDs',
/openbmc/openbmc/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd/
H A Dop-vpd-parser.service11 ExecStart=/usr/bin/openpower-read-vpd --vpd $EEPROM --fru $FRUS --object $PATHS
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/
H A Dwait_vpd_parser.cpp77 * @brief API to trigger VPD collection for all FRUs.
79 * This API triggers VPD collection for all FRUs by calling Dbus API
H A Dprime_inventory.cpp30 if (!m_sysCfgJsonObj.contains("frus")) in PrimeInventory()
61 m_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in isPrimingRequired()
102 m_sysCfgJsonObj["frus"].get_ref<const nlohmann::json::object_t&>(); in primeSystemBlueprint()
114 // Prime the inventry for FRUs in primeSystemBlueprint()
115 for (const auto& l_Fru : m_sysCfgJsonObj["frus"][l_vpdFilePath]) in primeSystemBlueprint()
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.cpp226 std::vector<FruRecordDataFormat> frus; in parseFruRecordTable() local
261 frus.push_back(fru); in parseFruRecordTable()
264 return frus; in parseFruRecordTable()
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp224 ManagedObjectType frus; in replaceCacheFru() local
228 resp.read(frus); in replaceCacheFru()
250 for (const auto& fru : frus) in replaceCacheFru()
398 // TODO: Handle Multi-Record FRUs? in ipmiStorageWriteFRUData()
467 ManagedObjectType frus; in getFruSdrs() local
475 resp.read(frus); in getFruSdrs()
483 frus.begin(), frus.end(), in getFruSdrs()
509 if (fru == frus.end()) in getFruSdrs()
/openbmc/ipmi-fru-parser/scripts/
H A Dwritefru.cpp.mako5 extern const FruMap frus = {
/openbmc/phosphor-host-ipmid/scripts/
H A Dreadfru.cpp.mako5 extern const FruMap __attribute__((init_priority(101))) frus = {

1234