Lines Matching full:vpd
19 vpd::jsonUtility::getParsedJson(INVENTORY_JSON_SYM_LINK, l_errCode); in PrimeInventory()
26 " ], error : " + vpd::commonUtility::getErrCodeMsg(l_errCode)); in PrimeInventory()
37 m_logger = vpd::Logger::getLoggerInstance(); in PrimeInventory()
41 vpd::EventLogger::createSyncPel( in PrimeInventory()
42 vpd::types::ErrorType::JsonFailure, in PrimeInventory()
43 vpd::types::SeverityType::Critical, __FILE__, __FUNCTION__, 0, in PrimeInventory()
56 const auto l_objectPaths = vpd::dbusUtility::GetSubTreePaths( in isPrimingRequired()
57 vpd::constants::systemInvPath, 0, in isPrimingRequired()
58 std::vector<std::string>{vpd::constants::vpdCollectionInterface}); in isPrimingRequired()
104 vpd::types::ObjectMap l_objectInterfaceMap; in primeSystemBlueprint()
129 if (!vpd::dbusUtility::callPIM(move(l_objectInterfaceMap))) in primeSystemBlueprint()
148 vpd::types::ObjectMap& o_objectInterfaceMap, in primeInventory()
157 vpd::types::InterfaceMap l_interfaces; in primeInventory()
178 vpd::vpdSpecificUtility::resetDataUnderPIM( in primeInventory()
187 "], error : " + vpd::commonUtility::getErrCodeMsg(l_errCode)); in primeInventory()
198 vpd::types::PropertyMap l_propertyValueMap; in primeInventory()
218 vpd::vpdSpecificUtility::insertOrMerge( in primeInventory()
225 vpd::commonUtility::getErrCodeMsg(l_errCode)); in primeInventory()
238 // Emplace the default state of FRU VPD collection in primeInventory()
239 vpd::types::PropertyMap l_fruCollectionProperty = { in primeInventory()
240 {"Status", vpd::constants::vpdCollectionNotStarted}}; in primeInventory()
242 vpd::vpdSpecificUtility::insertOrMerge( in primeInventory()
243 l_interfaces, vpd::constants::vpdCollectionInterface, in primeInventory()
249 vpd::commonUtility::getErrCodeMsg(l_errCode)); in primeInventory()
260 vpd::types::InterfaceMap& io_interfaceMap, in populateInterfaces()
261 const vpd::types::VPDMapVariant& i_parsedVpdMap) const noexcept in populateInterfaces()
271 vpd::types::PropertyMap l_propertyMap; in populateInterfaces()
289 vpd::vpdSpecificUtility::getExpandedLocationCode( in populateInterfaces()
299 vpd::commonUtility::getErrCodeMsg(l_errCode)); in populateInterfaces()
305 vpd::vpdSpecificUtility::insertOrMerge( in populateInterfaces()
307 std::string(vpd::constants::xyzLocationCodeInf), in populateInterfaces()
314 vpd::commonUtility::getErrCodeMsg(l_errCode)); in populateInterfaces()
329 .get<vpd::types::BinaryVector>()); in populateInterfaces()
353 std::get_if<vpd::types::IPZVpdMap>(&i_parsedVpdMap)) in populateInterfaces()
359 auto l_encoded = vpd::vpdSpecificUtility::encodeKeyword( in populateInterfaces()
368 vpd::commonUtility::getErrCodeMsg(l_errCode)); in populateInterfaces()
375 std::get_if<vpd::types::KeywordVpdMap>( in populateInterfaces()
381 std::get_if<vpd::types::BinaryVector>( in populateInterfaces()
385 vpd::vpdSpecificUtility::encodeKeyword( in populateInterfaces()
395 vpd::commonUtility::getErrCodeMsg( in populateInterfaces()
405 vpd::vpdSpecificUtility::encodeKeyword( in populateInterfaces()
415 vpd::commonUtility::getErrCodeMsg( in populateInterfaces()
436 vpd::vpdSpecificUtility::insertOrMerge(io_interfaceMap, l_interface, in populateInterfaces()
442 vpd::commonUtility::getErrCodeMsg(l_errCode)); in populateInterfaces()
449 vpd::types::InterfaceMap& io_interfaces) const noexcept in processFunctionalProperty()
451 if (!vpd::dbusUtility::isChassisPowerOn()) in processFunctionalProperty()
454 vpd::constants::operationalStatusInf}; in processFunctionalProperty()
456 auto l_mapperObjectMap = vpd::dbusUtility::getObjectMap( in processFunctionalProperty()
465 if (l_serviceName == vpd::constants::pimServiceName) in processFunctionalProperty()
477 vpd::types::PropertyMap l_functionalProp; in processFunctionalProperty()
479 vpd::vpdSpecificUtility::insertOrMerge( in processFunctionalProperty()
480 io_interfaces, vpd::constants::operationalStatusInf, in processFunctionalProperty()
486 vpd::commonUtility::getErrCodeMsg(l_errCode)); in processFunctionalProperty()
497 vpd::types::InterfaceMap& io_interfaces) const noexcept in processEnabledProperty()
499 if (!vpd::dbusUtility::isChassisPowerOn()) in processEnabledProperty()
501 std::vector<std::string> l_enableInf{vpd::constants::enableInf}; in processEnabledProperty()
504 vpd::dbusUtility::getObjectMap(i_inventoryObjPath, l_enableInf); in processEnabledProperty()
512 if (l_serviceName == vpd::constants::pimServiceName) in processEnabledProperty()
524 vpd::types::PropertyMap l_enabledProp; in processEnabledProperty()
526 vpd::vpdSpecificUtility::insertOrMerge( in processEnabledProperty()
527 io_interfaces, vpd::constants::enableInf, move(l_enabledProp), in processEnabledProperty()
533 vpd::commonUtility::getErrCodeMsg(l_errCode)); in processEnabledProperty()