Add error and metadata yaml for OCC metrics

This commit adds the error and metadata yaml for the OCC metrics
which would be logged when the host sends the ESEL info.

Change-Id: I0c1faba6d152f2bd4cbf504ece96eb36980f36ac
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/elog-errors.hpp b/elog-errors.hpp
new file mode 100644
index 0000000..6eb9e21
--- /dev/null
+++ b/elog-errors.hpp
@@ -0,0 +1,88 @@
+// This file was autogenerated.  Do not edit!
+// See elog-gen.py for more details
+#pragma once
+
+#include <string>
+#include <tuple>
+#include <type_traits>
+#include <sdbusplus/exception.hpp>
+#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/elog.hpp>
+
+namespace sdbusplus
+{
+namespace org
+{
+namespace open_power
+{
+namespace OCC
+{
+namespace Metrics
+{
+namespace Error
+{
+    struct Event;
+} // namespace Error
+} // namespace Metrics
+} // namespace OCC
+} // namespace open_power
+} // namespace org
+} // namespace sdbusplus
+
+
+namespace phosphor
+{
+
+namespace logging
+{
+
+namespace org
+{
+namespace open_power
+{
+namespace OCC
+{
+namespace Metrics
+{
+namespace _Event
+{
+
+struct ESEL
+{
+    static constexpr auto str = "ESEL=%s";
+    static constexpr auto str_short = "ESEL";
+    using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
+    explicit constexpr ESEL(const char* a) : _entry(entry(str, a)) {};
+    type _entry;
+};
+
+}  // namespace _Event
+
+struct Event
+{
+    static constexpr auto L = level::INFO;
+    using ESEL = _Event::ESEL;
+    using metadata_types = std::tuple<ESEL>;
+
+};
+
+} // namespace Metrics
+} // namespace OCC
+} // namespace open_power
+} // namespace org
+
+
+namespace details
+{
+
+template <>
+struct map_exception_type<sdbusplus::org::open_power::OCC::Metrics::Error::Event>
+{
+    using type = org::open_power::OCC::Metrics::Event;
+};
+
+}
+
+} // namespace logging
+
+} // namespace phosphor