From 33ff62a2186f517988b66d1a77aee413904ef2ce Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Mon, 21 Nov 2016 13:13:24 -0600 Subject: Move the phosphor logging example yaml into sub directory The real yaml will be defined in the phosphor-dbus-interfaces repo. This one will be an example one and used for testing. Future commits will refactor it to separate the error def from the meta data. Change-Id: Id05f935cbc24fb030e2ba378423ef3261bf5f7fb Signed-off-by: Andrew Geissler --- .../xyz/openbmc_project/Example/Elog.errors.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tools/example/xyz/openbmc_project/Example/Elog.errors.yaml (limited to 'tools') diff --git a/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml b/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml new file mode 100644 index 0000000..6d7cf0b --- /dev/null +++ b/tools/example/xyz/openbmc_project/Example/Elog.errors.yaml @@ -0,0 +1,21 @@ +- name: org.freedesktop.DBus.Error.FileNotFound + description: A required file was not found + level: INFO + meta: + - str: "ERRNUM=0x%.4X" + type: int + - str: FILE_PATH=%s + type: const char * + - str: FILE_NAME=%s + type: const char * + +- name: xyz.openbmc_project.Hwsv.Error.Scom + description: Getscom call failed + level: ERR + meta: + - str: DEV_ADDR=0x%.8X + type: int + - str: DEV_ID=%u + type: int + - str: DEV_NAME=%s + type: const char* -- cgit v1.2.1