Implement led assert and deassert based on faults

Change-Id: I28378b155da15282b1b5bf0403075b55bda5b70d
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/xyz/openbmc_project/Led/Fru/Monitor.errors.yaml b/xyz/openbmc_project/Led/Fru/Monitor.errors.yaml
new file mode 100644
index 0000000..bb77f45
--- /dev/null
+++ b/xyz/openbmc_project/Led/Fru/Monitor.errors.yaml
@@ -0,0 +1,7 @@
+#xyz.openbmc_project.Led.Fru.Monitor.InventoryPathError
+- name: InventoryPathError
+  description: Invalid Inventory Path.
+
+#xyz.openbmc_project.Led.Fru.Monitor.AssociationRetrieveError
+- name: AssociationRetrieveError
+  description: Error in retrieving the associations from elog entry.
diff --git a/xyz/openbmc_project/Led/Fru/Monitor.metadata.yaml b/xyz/openbmc_project/Led/Fru/Monitor.metadata.yaml
new file mode 100644
index 0000000..bd59e5f
--- /dev/null
+++ b/xyz/openbmc_project/Led/Fru/Monitor.metadata.yaml
@@ -0,0 +1,9 @@
+- name: InventoryPathError
+  meta:
+    - str: "PATH=%s"
+      type: string
+
+- name: AssociationRetrieveError
+  meta:
+    - str: "ELOG_ENTRY_PATH=%s"
+      type: string
diff --git a/xyz/openbmc_project/Led/Mapper.errors.yaml b/xyz/openbmc_project/Led/Mapper.errors.yaml
new file mode 100644
index 0000000..c1cbd0f
--- /dev/null
+++ b/xyz/openbmc_project/Led/Mapper.errors.yaml
@@ -0,0 +1,9 @@
+#xyz.openbmc_project.Led.Mapper.MethodError
+- name: MethodError
+  description: Failed to invoke ObjectMapper method
+
+#xyz.openbmc_project.Led.Mapper.ObjectNotFoundError
+- name: ObjectNotFoundError
+  description: Failed to get response from the method.
+
+
diff --git a/xyz/openbmc_project/Led/Mapper.metadata.yaml b/xyz/openbmc_project/Led/Mapper.metadata.yaml
new file mode 100644
index 0000000..0eb5c7f
--- /dev/null
+++ b/xyz/openbmc_project/Led/Mapper.metadata.yaml
@@ -0,0 +1,17 @@
+- name: MethodError
+  meta:
+    - str: "METHOD_NAME=%s"
+      type: string
+    - str: "PATH=%s"
+      type: string
+    - str: "INTERFACE=%s"
+      type: string
+
+- name: ObjectNotFoundError
+  meta:
+    - str: "METHOD_NAME=%s"
+      type: string
+    - str: "PATH=%s"
+      type: string
+    - str: "INTERFACE=%s"
+      type: string