Home
last modified time | relevance | path

Searched refs:propertyPair (Results 1 – 5 of 5) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dethernet.hpp218 for (const auto& propertyPair : ifacePair.second) in extractEthernetInterfaceData() local
220 if (propertyPair.first == "MACAddress") in extractEthernetInterfaceData()
223 std::get_if<std::string>(&propertyPair.second); in extractEthernetInterfaceData()
233 for (const auto& propertyPair : ifacePair.second) in extractEthernetInterfaceData() local
235 if (propertyPair.first == "Id") in extractEthernetInterfaceData()
238 std::get_if<uint32_t>(&propertyPair.second); in extractEthernetInterfaceData()
249 for (const auto& propertyPair : ifacePair.second) in extractEthernetInterfaceData() local
251 if (propertyPair.first == "AutoNeg") in extractEthernetInterfaceData()
254 std::get_if<bool>(&propertyPair.second); in extractEthernetInterfaceData()
260 else if (propertyPair in extractEthernetInterfaceData()
395 for (const auto& propertyPair : ifacePair.second) extractEthernetInterfaceData() local
445 for (const auto& propertyPair : ifacePair.second) extractEthernetInterfaceData() local
491 for (const auto& propertyPair : ifacePair.second) extractEthernetInterfaceData() local
[all...]
H A Dmanagers.hpp545 for (const auto& propertyPair : intfPair.second) in asyncPopulatePid() local
547 if (propertyPair.first == "Type" || in asyncPopulatePid()
548 propertyPair.first == "Class" || in asyncPopulatePid()
549 propertyPair.first == "Name") in asyncPopulatePid()
558 std::get_if<double>(&propertyPair.second); in asyncPopulatePid()
562 propertyPair.first); in asyncPopulatePid()
566 (*config)[propertyPair.first] = *ptr; in asyncPopulatePid()
571 if (propertyPair.first == "Reading" || in asyncPopulatePid()
572 propertyPair.first == "Output") in asyncPopulatePid()
576 &propertyPair.second); in asyncPopulatePid()
[all …]
H A Dnetwork_protocol.hpp58 for (const auto& propertyPair : ifacePair.second) in extractNTPServersAndDomainNamesData() local
60 if (propertyPair.first == "StaticNTPServers") in extractNTPServersAndDomainNamesData()
64 &propertyPair.second); in extractNTPServersAndDomainNamesData()
71 else if (propertyPair.first == "NTPServers") in extractNTPServersAndDomainNamesData()
75 &propertyPair.second); in extractNTPServersAndDomainNamesData()
81 else if (propertyPair.first == "DomainName") in extractNTPServersAndDomainNamesData()
85 &propertyPair.second); in extractNTPServersAndDomainNamesData()
H A Dhypervisor_system.hpp186 for (const auto& propertyPair : ifacePair.second) in extractHypervisorInterfaceData() local
188 if (propertyPair.first == "DHCPEnabled") in extractHypervisorInterfaceData()
191 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData()
279 for (const auto& propertyPair : ifacePair.second) in extractHypervisorInterfaceData() local
281 if (propertyPair.first == "HostName") in extractHypervisorInterfaceData()
284 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData()
290 else if (propertyPair.first == "DefaultGateway") in extractHypervisorInterfaceData()
293 std::get_if<std::string>(&propertyPair.second); in extractHypervisorInterfaceData()
/openbmc/bmcweb/include/
H A Dhostname_monitor.hpp59 for (const auto& propertyPair : changedProperties) in onPropertyUpdate() local
61 if (propertyPair.first == "HostName") in onPropertyUpdate()
63 hostname = std::get_if<std::string>(&propertyPair.second); in onPropertyUpdate()