summaryrefslogtreecommitdiff
path: root/redfish-core/lib/chassis.hpp
diff options
context:
space:
mode:
authorLewanczyk, Dawid <dawid.lewanczyk@intel.com>2018-05-30 17:59:42 +0300
committerEd Tanous <ed.tanous@intel.com>2018-06-29 22:51:09 +0300
commitc5b2abe0d218d0decd7f1617f870ec67c6b7dd5f (patch)
tree9e440047c932c1affbf350633a0d9c199aa676ee /redfish-core/lib/chassis.hpp
parent6c4eb9de85ae4d59af7b15754e96a1652915ad15 (diff)
downloadbmcweb-c5b2abe0d218d0decd7f1617f870ec67c6b7dd5f.tar.xz
Introduce ComputerSystem schema
Initial commit which adds: - ComputerSchemaCollection GET method - ComputerSchema GET, PATCH methods Tested on x86 and aspeed - RSV pass for ComputerSchema - bmcweb interface no regression - smbios interface tested with demo app Change-Id: Ib64084c5888bc511a24f954a6bc062ca920addbe Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com>
Diffstat (limited to 'redfish-core/lib/chassis.hpp')
-rw-r--r--redfish-core/lib/chassis.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/chassis.hpp b/redfish-core/lib/chassis.hpp
index 6047f3e65d..95f46341c3 100644
--- a/redfish-core/lib/chassis.hpp
+++ b/redfish-core/lib/chassis.hpp
@@ -27,7 +27,7 @@ namespace redfish {
// Note, this is not a very useful variant, but because it isn't used to get
// values, it should be as simple as possible
// TODO(ed) invent a nullvariant type
-using VariantType = sdbusplus::message::variant<std::string>;
+using VariantType = sdbusplus::message::variant<bool, std::string>;
using ManagedObjectsType = std::vector<std::pair<
sdbusplus::message::object_path,
std::vector<std::pair<std::string,