Introduce Thermal schema
Changes:
-redfish.hpp add thermal node installation
-thermal.hpp add thermal schema for chassis
-sensor.hpp add support for retrieving:
temperature, and fan
Verification:
-web server: no regression
-RSV: pass
-build on x86 and ASPEED
This patchset builds on Dawids original.
Change-Id: Ia8e40edff3c722fa02a161248bcdf602e36e3e62
Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com>
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index b84c94c..16180ae 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -41,6 +41,8 @@
}
int main(int argc, char** argv) {
+ crow::logger::setLogLevel(crow::LogLevel::DEBUG);
+
auto io = std::make_shared<boost::asio::io_service>();
crow::PersistentData::session_store =
std::make_shared<crow::PersistentData::SessionStore>();
@@ -66,7 +68,7 @@
crow::intel_oem::request_routes(app);
crow::openbmc_mapper::request_routes(app);
- crow::logger::setLogLevel(crow::LogLevel::INFO);
+
CROW_LOG_INFO << "bmcweb (" << __DATE__ << ": " << __TIME__ << ')';
setup_socket(app);