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.hpp1887 nlohmann::json& jsonResponse = asyncResp->res.jsonValue; in parseInterfaceData() local
1888 jsonResponse["Id"] = ifaceId; in parseInterfaceData()
1889 jsonResponse["@odata.id"] = in parseInterfaceData()
1892 jsonResponse["InterfaceEnabled"] = ethData.nicEnabled; in parseInterfaceData()
1896 jsonResponse["LinkStatus"] = in parseInterfaceData()
1899 jsonResponse["Status"]["State"] = resource::State::Enabled; in parseInterfaceData()
1903 jsonResponse["LinkStatus"] = ethernet_interface::LinkStatus::NoLink; in parseInterfaceData()
1904 jsonResponse["Status"]["State"] = resource::State::Disabled; in parseInterfaceData()
1907 jsonResponse["SpeedMbps"] = ethData.speed; in parseInterfaceData()
1908 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.hpp324 inline void parseLDAPConfigData(nlohmann::json& jsonResponse, in parseLDAPConfigData() argument
372 jsonResponse[ldapType].update(ldap); in parseLDAPConfigData()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dquery_param.hpp570 ExpandType eType, nlohmann::json& jsonResponse, in findNavigationReferencesRecursive() argument
581 jsonResponse.get_ptr<nlohmann::json::array_t*>(); in findNavigationReferencesRecursive()
588 jsonResponse.get_ptr<nlohmann::json::object_t*>(); in findNavigationReferencesRecursive()
700 ExpandType eType, int depth, int skipDepth, nlohmann::json& jsonResponse) in findNavigationReferences() argument
705 findNavigationReferencesRecursive(eType, jsonResponse, root, depth, in findNavigationReferences()