Implement redfish LogService
This commit implements an optional LogService endpoint for debugging
CPUs over Redish. It exposes both the ability to create a new log with
the LogImmediate action, as well as to pull a stored log using the
LogCollection schema. This feature is disabled by default, and should
be enabled in the meta-x86 layer.
Change-Id: Ied1d5e263a0857e09cd9a24fddec9c11a4066cd2
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97b3aad..dcd174d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,16 @@
option (BMCWEB_ENABLE_STATIC_HOSTING "Enable hosting of static files.
For example, redfish schema and webui files" ON)
-# Insecure options. Every option that starts with a BMCWEB_INSECURE flag should
+option (
+ BMCWEB_ENABLE_REDFISH_RAW_PECI "Enable PECI transactions through redfish"
+ OFF
+)
+option (
+ BMCWEB_ENABLE_REDFISH_CPU_LOG
+ "Enable CPU log service transactions through redfish" OFF
+)
+
+# Insecure options.Every option that starts with a BMCWEB_INSECURE flag should
# not be enabled by default for any platform, unless the author fully
# comprehends the implications of doing so. In general, enabling these options
# will cause security problems of varying degrees
@@ -194,7 +203,6 @@
set_source_files_properties (
${CMAKE_BINARY_DIR}/include/bmcweb/blns.hpp PROPERTIES GENERATED TRUE
)
-
enable_testing ()
add_executable (webtest ${SRC_FILES} ${UT_FILES})