Home
last modified time | relevance | path

Searched refs:propertyMap (Results 1 – 21 of 21) sorted by relevance

/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp117 std::string getSeverityField(const PropertyMap& propertyMap) in getSeverityField() argument
124 if (auto itr = propertyMap.find("Severity"); itr != propertyMap.end()) in getSeverityField()
139 getNumberFromConfig<uint64_t>(propertyMap, "Severity", true); in getSeverityField()
153 void parseThresholds(Json& thresholds, const PropertyMap& propertyMap, in parseThresholds() argument
158 auto value = getNumberFromConfig<double>(propertyMap, "Value", true); in parseThresholds()
160 auto severity = getSeverityField(propertyMap); in parseThresholds()
162 if (auto itr = propertyMap.find("Direction"); itr != propertyMap.end()) in parseThresholds()
171 getNumberFromConfig<double>(propertyMap, "Hysteresis", false); in parseThresholds()
183 void VirtualSensor::parseConfigInterface(const PropertyMap& propertyMap, in parseConfigInterface() argument
188 if (auto itr = propertyMap.find("Sensors"); itr != propertyMap.end()) in parseConfigInterface()
[all …]
H A DvirtualSensor.hpp200 void parseConfigInterface(const PropertyMap& propertyMap,
/openbmc/service-config-manager/src/
H A Dsrvcfg_manager.cpp147 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateSocketProperties() argument
149 auto listenIt = propertyMap.find("Listen"); in updateSocketProperties()
150 if (listenIt != propertyMap.end()) in updateSocketProperties()
177 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateServiceProperties() argument
179 auto stateIt = propertyMap.find("UnitFileState"); in updateServiceProperties()
180 if (stateIt != propertyMap.end()) in updateServiceProperties()
200 auto subStateIt = propertyMap.find("SubState"); in updateServiceProperties()
201 if (subStateIt != propertyMap.end()) in updateServiceProperties()
237 propertyMap) { in queryAndUpdateProperties()
247 updateServiceProperties(propertyMap); in queryAndUpdateProperties()
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_fru_properties.pl91 while (my ($interface,$propertyMap) = each %{$yamlDict->{$type}})
95 while (my ($property,$value) = each %{$propertyMap})
111 while (my ($interface,$propertyMap) = each %{$yamlDict->{$type}})
115 while (my ($property,$value) = each %{$propertyMap})
/openbmc/phosphor-state-manager/
H A Dchassis_state_manager.cpp415 auto propertyMap = msgData.find("IsPresent"); in uPowerChangeEvent() local
416 if (propertyMap != msgData.end()) in uPowerChangeEvent()
419 std::get<bool>(propertyMap->second)); in uPowerChangeEvent()
424 propertyMap = msgData.find("State"); in uPowerChangeEvent()
425 if (propertyMap != msgData.end()) in uPowerChangeEvent()
428 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
433 propertyMap = msgData.find("BatteryLevel"); in uPowerChangeEvent()
434 if (propertyMap != msgData.end()) in uPowerChangeEvent()
437 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
454 auto propertyMap = msgData.find("Status"); in powerSysInputsChangeEvent() local
[all …]
H A Dhypervisor_state_manager.cpp99 auto propertyMap = msgData.find("BootProgress"); in bootProgressChangeEvent() local
100 if (propertyMap != msgData.end()) in bootProgressChangeEvent()
103 auto& bootProgress = std::get<std::string>(propertyMap->second); in bootProgressChangeEvent()
/openbmc/phosphor-fan-presence/
H A Dutility.hpp111 PropertyMap propertyMap; in getObjMap() local
113 propertyMap.emplace(prop, value); in getObjMap()
114 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
/openbmc/phosphor-debug-collector/
H A Delog_watch.cpp63 PropertyMap propertyMap; in addCallback() local
66 msg.read(objectPath, propertyMap); in addCallback()
92 auto iter = propertyMap.find("xyz.openbmc_project.Logging.Entry"); in addCallback()
93 if (iter == propertyMap.end()) in addCallback()
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp179 auto propertyMap = msgData.find("OccActive"); in activeStatusEvent() local
180 if (propertyMap != msgData.end()) in activeStatusEvent()
183 if (std::get<bool>(propertyMap->second)) in activeStatusEvent()
H A Docc_command.cpp265 auto propertyMap = msgData.find("OccActive"); in activeStatusEvent() local
266 if (propertyMap != msgData.end()) in activeStatusEvent()
269 if (std::get<bool>(propertyMap->second)) in activeStatusEvent()
/openbmc/phosphor-fan-presence/monitor/
H A Dtach_sensor.hpp138 auto propertyMap = data.find(propertyName); in readPropertyFromMessage() local
139 if (propertyMap != data.end()) in readPropertyFromMessage()
141 value = std::get<T>(propertyMap->second); in readPropertyFromMessage()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dworker.cpp648 types::PropertyMap propertyMap; in populateInterfaces() local
656 propertyMap.emplace(property, in populateInterfaces()
668 propertyMap.emplace(property, value); in populateInterfaces()
670 auto l_locCodeProperty = propertyMap; in populateInterfaces()
678 propertyMap.emplace( in populateInterfaces()
686 propertyMap.emplace( in populateInterfaces()
699 propertyMap.emplace(property, in populateInterfaces()
720 propertyMap.emplace(property, encoded); in populateInterfaces()
737 propertyMap.emplace(property, encodedValue); in populateInterfaces()
748 propertyMap.emplace(property, encodedValue); in populateInterfaces()
[all …]
/openbmc/service-config-manager/inc/
H A Dsrvcfg_manager.hpp116 propertyMap);
119 propertyMap);
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_dump.cpp84 for (auto& propertyMap : interface.second) in findDumpObjPath() local
86 if (propertyMap.first == "SourceDumpId") in findDumpObjPath()
88 auto dumpIdPtr = std::get_if<uint32_t>(&propertyMap.second); in findDumpObjPath()
/openbmc/sdbusplus/tools/sdbusplus/
H A Dproperty.py209 propertyMap = { variable in Property
267 return Property.propertyMap[self.typeName]["registryName"]
279 entry = Property.propertyMap[first]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Dvpd_specific_utility.hpp191 types::PropertyMap&& propertyMap) in insertOrMerge() argument
198 std::for_each(propertyMap.begin(), propertyMap.end(), in insertOrMerge()
213 map.emplace(interface, propertyMap); in insertOrMerge()
/openbmc/bmcweb/redfish-core/lib/
H A Dlog_services.hpp234 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
236 if (propertyMap.first == "Status") in parseDumpEntryFromDbusObject()
239 std::get_if<std::string>(&propertyMap.second); in parseDumpEntryFromDbusObject()
251 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
253 if (propertyMap.first == "Size") in parseDumpEntryFromDbusObject()
256 std::get_if<uint64_t>(&propertyMap.second); in parseDumpEntryFromDbusObject()
269 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
271 if (propertyMap.first == "Elapsed") in parseDumpEntryFromDbusObject()
274 std::get_if<uint64_t>(&propertyMap.second); in parseDumpEntryFromDbusObject()
288 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
[all …]
/openbmc/phosphor-inventory-manager/
H A Dmanager.cpp359 Interface propertyMap{}; in restore() local
363 object.emplace(std::move(ifaceName), std::move(propertyMap)); in restore()
368 object.emplace(std::move(ifaceName), std::move(propertyMap)); in restore()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp62 for (const auto& [interfaceName, propertyMap] : interfaces) in onVersionInterfacesAdded()
66 for (const auto& [propertyName, propertyValue] : propertyMap) in onVersionInterfacesAdded()
87 const auto& it = propertyMap.find("Path"); in onVersionInterfacesAdded()
88 if (it != propertyMap.end()) in onVersionInterfacesAdded()
/openbmc/ibm-logging/
H A Dmanager.cpp63 auto propertyMap = interfaces.find(LOGGING_IFACE); in createAll() local
65 if (propertyMap != interfaces.end()) in createAll()
/openbmc/phosphor-fan-presence/control/
H A Dgen-fan-zone-defs.py72 propertyMap = {
91 entry = propertyMap[first]