Add policy::Table class to Manager
As the data the class uses is system specific and has to be
defined by an external team, have the code default to not
using this class and allow it to be enabled with a configure
flag.
Change-Id: I28482981f3b23af1cf0545565bfb93d63ad47730
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/manager.cpp b/manager.cpp
index 773ef08..978d8b6 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -35,6 +35,9 @@
sdbusplus::bus::match::rules::path_namespace(LOGGING_PATH),
std::bind(std::mem_fn(&Manager::interfaceRemoved),
this, std::placeholders::_1))
+#ifdef USE_POLICY_INTERFACE
+ , policies(POLICY_JSON_PATH)
+#endif
{
createAll();
}