| /openbmc/phosphor-virtual-sensor/src/ |
| H A D | virtualSensor.cpp | 130 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 D | virtualSensor.hpp | 209 void parseConfigInterface(const PropertyMap& propertyMap,
|
| /openbmc/phosphor-mrw-tools/ |
| H A D | gen_fru_properties.pl | 91 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 D | utility.hpp | 107 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 D | hypervisor_state_manager.cpp | 99 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 D | chassis_state_manager.cpp | 413 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 D | srvcfg_manager.cpp | 152 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 D | elog_watch.cpp | 63 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 D | occ_pass_through.cpp | 165 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 D | occ_command.cpp | 265 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 D | tach_sensor.hpp | 137 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 D | srvcfg_manager.hpp | 118 propertyMap); 121 propertyMap);
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | worker.cpp | 165 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 D | property.py | 209 propertyMap = { variable in Property 267 return Property.propertyMap[self.__type_tuple()[0]]["registryName"] 279 entry = Property.propertyMap[first]
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | sensordatahandler.cpp | 80 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 D | file_io_type_dump.cpp | 85 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 D | log_services.hpp | 125 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 D | manager.cpp | 359 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 D | item_updater.cpp | 62 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 D | manager.cpp | 63 auto propertyMap = interfaces.find(LOGGING_IFACE); in createAll() local 65 if (propertyMap != interfaces.end()) in createAll()
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | eventlog_utils.hpp | 641 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 D | gen-fan-zone-defs.py | 72 propertyMap = { 91 entry = propertyMap[first]
|