From a33a7e0e20c11da5471290838e1477ad4d275bbe Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Wed, 19 Feb 2020 16:31:20 -0600 Subject: Network protocol: Remove odata.context Redfish made odata.context optional (1.6.0 of DSP0266) and has removed odata.context from example payloads in the specification (1.7.0 of DSP0266), removed it from the mockups, and Redfish recommended not using. Change-Id: I1c4db167ba90f46e2b0ab1c1973d3323e233322a Signed-off-by: Gunnar Mills --- redfish-core/lib/network_protocol.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'redfish-core/lib/network_protocol.hpp') diff --git a/redfish-core/lib/network_protocol.hpp b/redfish-core/lib/network_protocol.hpp index 2850683631..340fd67984 100644 --- a/redfish-core/lib/network_protocol.hpp +++ b/redfish-core/lib/network_protocol.hpp @@ -193,9 +193,6 @@ class NetworkProtocol : public Node "#ManagerNetworkProtocol.v1_4_0.ManagerNetworkProtocol"; asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Managers/bmc/NetworkProtocol"; - asyncResp->res.jsonValue["@odata.context"] = - "/redfish/v1/" - "$metadata#ManagerNetworkProtocol.ManagerNetworkProtocol"; asyncResp->res.jsonValue["Id"] = "NetworkProtocol"; asyncResp->res.jsonValue["Name"] = "Manager Network Protocol"; asyncResp->res.jsonValue["Description"] = "Manager Network Service"; -- cgit v1.2.3