callouts: implement metadata handler
Implement handler of the metadata CALLOUT_DEVICE_PATH. This handler will
convert a device path to an inventory path and call out the latter.
Change-Id: Icbf9c841884ec139f35ea2ac94648e355b421bb2
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/elog_meta.hpp b/elog_meta.hpp
index 09e3ede..632a049 100644
--- a/elog_meta.hpp
+++ b/elog_meta.hpp
@@ -100,6 +100,18 @@
}
}
+#if defined PROCESS_META
+
+template <>
+void build<xyz::openbmc_project::Common::
+ Callout::Device::CALLOUT_DEVICE_PATH>(
+ std::string&& match,
+ const std::vector<std::string>& data,
+ AssociationList& list);
+
+#endif // PROCESS_META
+
+
} // namespace associations
} // namespace metadata
} // namespace logging