Template file for error code to meta data lookup

The generated file from this mako file will be used
by the logging server to figure out which meta data
is associated with input error codes.

Future commits will work this into our build process
to generate the file.

Change-Id: Iadfdf1cbb51e4eae132facc25d4de43262359476
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/elog-lookup-template.mako.cpp b/elog-lookup-template.mako.cpp
new file mode 100644
index 0000000..a96760e
--- /dev/null
+++ b/elog-lookup-template.mako.cpp
@@ -0,0 +1,25 @@
+## Note that this file is not auto generated, it is what generates the
+## elog-lookup.hpp file
+// This file was autogenerated.  Do not edit!
+// See elog-gen.py for more details
+#pragma once
+
+#include <map>
+#include <vector>
+
+namespace phosphor
+{
+
+namespace logging
+{
+
+std::map<std::string,std::vector<std::string>> g_errMetaMap = {
+    % for a in errors:
+    <% meta_string = '\",\"'.join(meta[a]) %> \
+    {"${errors[a]}",{"${meta_string}"}},
+    % endfor
+};
+
+} // namespace logging
+
+} // namespace phosphor