diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-02-20 01:31:20 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-02-20 22:40:47 +0300 |
commit | a33a7e0e20c11da5471290838e1477ad4d275bbe (patch) | |
tree | 110a7f0887e7edf44aa49addb8fbb38b36dbaae5 | |
parent | aba8515b44b0813bd86a8af6ece87f7176f58e5d (diff) | |
download | bmcweb-a33a7e0e20c11da5471290838e1477ad4d275bbe.tar.xz |
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 <gmills@us.ibm.com>
-rw-r--r-- | redfish-core/lib/network_protocol.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
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"; |