diff options
| author | Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> | 2018-11-22 10:59:11 +0100 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2019-01-07 19:44:11 +0000 |
| commit | bb3d994666e5dba2d2be08c89736d3f46612dde0 (patch) | |
| tree | 22b633d700f391fb62ee68c1732dc865d804b429 | |
| parent | 530520eae687a10f2fb03d2ce23ca4188b0e2440 (diff) | |
| download | bmcweb-bb3d994666e5dba2d2be08c89736d3f46612dde0.tar.gz bmcweb-bb3d994666e5dba2d2be08c89736d3f46612dde0.zip | |
bmcweb: Update schema versions to latest
Update Schema versions for:
* ComputerSystem
* Processor
* Memory
Tests:
* Service Validator did not have any regression
Change-Id: I3fb900b464013588ac0b08c0157404c8ababddb2
Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com>
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
| -rw-r--r-- | redfish-core/lib/cpudimm.hpp | 4 | ||||
| -rw-r--r-- | redfish-core/lib/systems.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/cpudimm.hpp b/redfish-core/lib/cpudimm.hpp index ada4332..4062411 100644 --- a/redfish-core/lib/cpudimm.hpp +++ b/redfish-core/lib/cpudimm.hpp @@ -394,7 +394,7 @@ class Processor : public Node } const std::string &name = params[0]; const std::string &cpuId = params[1]; - res.jsonValue["@odata.type"] = "#Processor.v1_1_0.Processor"; + res.jsonValue["@odata.type"] = "#Processor.v1_3_1.Processor"; res.jsonValue["@odata.context"] = "/redfish/v1/$metadata#Processor.Processor"; res.jsonValue["@odata.id"] = @@ -491,7 +491,7 @@ class Memory : public Node const std::string &name = params[0]; const std::string &dimmId = params[1]; - res.jsonValue["@odata.type"] = "#Memory.v1_2_0.Memory"; + res.jsonValue["@odata.type"] = "#Memory.v1_6_0.Memory"; res.jsonValue["@odata.context"] = "/redfish/v1/$metadata#Memory.Memory"; res.jsonValue["@odata.id"] = "/redfish/v1/Systems/" + name + "/Memory/" + dimmId; diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index 354570c..ebe455e 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -683,7 +683,7 @@ class Systems : public Node const std::string &name = params[0]; - res.jsonValue["@odata.type"] = "#ComputerSystem.v1_3_0.ComputerSystem"; + res.jsonValue["@odata.type"] = "#ComputerSystem.v1_5_1.ComputerSystem"; res.jsonValue["@odata.context"] = "/redfish/v1/$metadata#ComputerSystem.ComputerSystem"; res.jsonValue["SystemType"] = "Physical"; |

