Home
last modified time | relevance | path

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

/openbmc/phosphor-virtual-sensor/src/
H A DvirtualSensor.cpp130 std::string getSeverityField(const PropertyMap& propertyMap) in getSeverityField() argument
137 if (auto itr = propertyMap.find("Severity"); itr != propertyMap.end()) in getSeverityField()
152 getNumberFromConfig<uint64_t>(propertyMap, "Severity", true); in getSeverityField()
166 void parseThresholds(Json& thresholds, const PropertyMap& propertyMap, in parseThresholds() argument
171 auto value = getNumberFromConfig<double>(propertyMap, "Value", true); in parseThresholds()
173 auto severity = getSeverityField(propertyMap); in parseThresholds()
175 if (auto itr = propertyMap.find("Direction"); itr != propertyMap.end()) in parseThresholds()
184 getNumberFromConfig<double>(propertyMap, "Hysteresis", false); in parseThresholds()
196 void VirtualSensor::parseConfigInterface(const PropertyMap& propertyMap, in parseConfigInterface() argument
201 if (auto itr = propertyMap.find("Sensors"); itr != propertyMap.end()) in parseConfigInterface()
[all …]
H A DvirtualSensor.hpp209 void parseConfigInterface(const PropertyMap& propertyMap,
/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-fan-presence/
H A Dutility.hpp107 PropertyMap propertyMap; in getObjMap() local
109 propertyMap.emplace(prop, value); in getObjMap()
110 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
/openbmc/phosphor-state-manager/
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()
H A Dchassis_state_manager.cpp413 auto propertyMap = msgData.find("IsPresent"); in uPowerChangeEvent() local
414 if (propertyMap != msgData.end()) in uPowerChangeEvent()
417 std::get<bool>(propertyMap->second)); in uPowerChangeEvent()
422 propertyMap = msgData.find("State"); in uPowerChangeEvent()
423 if (propertyMap != msgData.end()) in uPowerChangeEvent()
426 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
431 propertyMap = msgData.find("BatteryLevel"); in uPowerChangeEvent()
432 if (propertyMap != msgData.end()) in uPowerChangeEvent()
435 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
452 auto propertyMap = msgData.find("Status"); in powerSysInputsChangeEvent() local
[all …]
/openbmc/service-config-manager/src/
H A Dsrvcfg_manager.cpp152 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateSocketProperties() argument
154 auto listenIt = propertyMap.find("Listen"); in updateSocketProperties()
155 if (listenIt != propertyMap.end()) in updateSocketProperties()
182 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateServiceProperties() argument
184 auto stateIt = propertyMap.find("UnitFileState"); in updateServiceProperties()
185 if (stateIt != propertyMap.end()) in updateServiceProperties()
205 auto subStateIt = propertyMap.find("SubState"); in updateServiceProperties()
206 if (subStateIt != propertyMap.end()) in updateServiceProperties()
243 propertyMap) { in queryAndUpdateProperties()
253 updateServiceProperties(propertyMap); in queryAndUpdateProperties()
[all …]
/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.cpp165 auto propertyMap = msgData.find("OccActive"); in activeStatusEvent() local
166 if (propertyMap != msgData.end()) in activeStatusEvent()
169 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.hpp137 auto propertyMap = data.find(propertyName); in readPropertyFromMessage() local
138 if (propertyMap != data.end()) in readPropertyFromMessage()
140 value = std::get<T>(propertyMap->second); in readPropertyFromMessage()
/openbmc/service-config-manager/inc/
H A Dsrvcfg_manager.hpp118 propertyMap);
121 propertyMap);
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dworker.cpp165 types::PropertyMap propertyMap; in populateInterfaces() local
174 propertyMap.emplace(property, in populateInterfaces()
196 propertyMap.emplace(property, value); in populateInterfaces()
198 auto l_locCodeProperty = propertyMap; in populateInterfaces()
213 propertyMap.emplace( in populateInterfaces()
221 propertyMap.emplace( in populateInterfaces()
234 propertyMap.emplace(property, in populateInterfaces()
266 propertyMap.emplace(property, encoded); in populateInterfaces()
292 propertyMap.emplace(property, encodedValue); in populateInterfaces()
311 propertyMap.emplace(property, encodedValue); in populateInterfaces()
[all …]
/openbmc/sdbusplus/tools/sdbusplus/
H A Dproperty.py209 propertyMap = { variable in Property
267 return Property.propertyMap[self.__type_tuple()[0]]["registryName"]
279 entry = Property.propertyMap[first]
/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.cpp80 for (const auto& [intf, propertyMap] : interfaceList) in mapDbusToAssertion()
82 for (const auto& [property, values] : propertyMap) in mapDbusToAssertion()
124 for (const auto& [intf, propertyMap] : interfaceList) in mapDbusToEventdata2()
126 for (const auto& [property, values] : propertyMap) in mapDbusToEventdata2()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_dump.cpp85 for (auto& propertyMap : interface.second) in findDumpObjPath() local
87 if (propertyMap.first == "SourceDumpId") in findDumpObjPath()
89 auto dumpIdPtr = std::get_if<uint32_t>(&propertyMap.second); in findDumpObjPath()
/openbmc/bmcweb/redfish-core/lib/
H A Dlog_services.hpp125 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
127 if (propertyMap.first == "Status") in parseDumpEntryFromDbusObject()
130 std::get_if<std::string>(&propertyMap.second); in parseDumpEntryFromDbusObject()
142 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
144 if (propertyMap.first == "Size") in parseDumpEntryFromDbusObject()
147 std::get_if<uint64_t>(&propertyMap.second); in parseDumpEntryFromDbusObject()
160 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
162 if (propertyMap.first == "Elapsed") in parseDumpEntryFromDbusObject()
165 std::get_if<uint64_t>(&propertyMap.second); in parseDumpEntryFromDbusObject()
179 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/bmcweb/redfish-core/include/utils/
H A Deventlog_utils.hpp641 for (const auto& propertyMap : interfaceMap.second) in afterLogEntriesGetManagedObjects() local
643 propsFlattened.emplace_back(propertyMap.first, in afterLogEntriesGetManagedObjects()
644 propertyMap.second); in afterLogEntriesGetManagedObjects()
/openbmc/phosphor-fan-presence/control/
H A Dgen-fan-zone-defs.py72 propertyMap = {
91 entry = propertyMap[first]