Home
last modified time | relevance | path

Searched refs:jsonResponse (Results 1 – 4 of 4) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dethernet.hpp1879 nlohmann::json& jsonResponse = asyncResp->res.jsonValue; in parseInterfaceData() local
1880 jsonResponse["Id"] = ifaceId; in parseInterfaceData()
1881 jsonResponse["@odata.id"] = in parseInterfaceData()
1884 jsonResponse["InterfaceEnabled"] = ethData.nicEnabled; in parseInterfaceData()
1888 jsonResponse["LinkStatus"] = in parseInterfaceData()
1891 jsonResponse["Status"]["State"] = resource::State::Enabled; in parseInterfaceData()
1895 jsonResponse["LinkStatus"] = ethernet_interface::LinkStatus::NoLink; in parseInterfaceData()
1896 jsonResponse["Status"]["State"] = resource::State::Disabled; in parseInterfaceData()
1899 jsonResponse["SpeedMbps"] = ethData.speed; in parseInterfaceData()
1900 jsonResponse["MTUSize"] = ethData.mtuSize; in parseInterfaceData()
[all …]
H A Dhypervisor_system.hpp467 inline void parseInterfaceData(nlohmann::json& jsonResponse, in parseInterfaceData() argument
472 jsonResponse["Id"] = ifaceId; in parseInterfaceData()
473 jsonResponse["@odata.id"] = boost::urls::format( in parseInterfaceData()
475 jsonResponse["InterfaceEnabled"] = true; in parseInterfaceData()
476 jsonResponse["HostName"] = ethData.hostName; in parseInterfaceData()
477 jsonResponse["DHCPv4"]["DHCPEnabled"] = in parseInterfaceData()
480 nlohmann::json& ipv4Array = jsonResponse["IPv4Addresses"]; in parseInterfaceData()
481 nlohmann::json& ipv4StaticArray = jsonResponse["IPv4StaticAddresses"]; in parseInterfaceData()
H A Daccount_service.hpp328 inline void parseLDAPConfigData(nlohmann::json& jsonResponse, in parseLDAPConfigData() argument
370 jsonResponse[ldapType].update(ldap); in parseLDAPConfigData()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dquery_param.hpp567 ExpandType eType, nlohmann::json& jsonResponse, in findNavigationReferencesRecursive() argument
578 jsonResponse.get_ptr<nlohmann::json::array_t*>(); in findNavigationReferencesRecursive()
585 jsonResponse.get_ptr<nlohmann::json::object_t*>(); in findNavigationReferencesRecursive()
697 ExpandType eType, int depth, int skipDepth, nlohmann::json& jsonResponse) in findNavigationReferences() argument
702 findNavigationReferencesRecursive(eType, jsonResponse, root, depth, in findNavigationReferences()