Combine callout definitions
Instead of having a per callout class file, place all callout error
definitions in Callout.errors.yaml, and all callout metadata definitions
in Callout.metadata.yaml.
Change-Id: I7d84de6b5335c4940c06824bca66bc4996aed4c9
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/xyz/openbmc_project/Error/Callout/Callout.metadata.yaml b/xyz/openbmc_project/Error/Callout/Callout.metadata.yaml
new file mode 100644
index 0000000..206d164
--- /dev/null
+++ b/xyz/openbmc_project/Error/Callout/Callout.metadata.yaml
@@ -0,0 +1,32 @@
+- name: Device
+ meta:
+ - str: "CALLOUT_ERRNO=%d"
+ type: int32
+ - str: "CALLOUT_DEVICE_PATH=%s"
+ type: string
+
+- name: GPIO
+ meta:
+ - str: "CALLOUT_GPIO_NUM=%u"
+ type: uint32
+ #inherits:
+ #- xyz.openbmc_project.Error.Callout.Device
+
+- name: IIC
+ meta:
+ - str: "CALLOUT_IIC_BUS=%s"
+ type: string
+ - str: "CALLOUT_IIC_ADDR=0x%hx"
+ type: uint16
+ #inherits:
+ #- xyz.openbmc_project.Error.Callout.Device
+
+- name: Inventory
+ meta:
+ - str: "CALLOUT_INVENTORY_PATH=%s"
+ type: string
+
+- name: IPMISensor
+ meta:
+ - str: "CALLOUT_IPMI_SENSOR_NUM=%u"
+ type: uint32