From 47bf3edd55ad9d416626f7bd59885558420efc9f Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Sat, 4 Mar 2017 08:33:57 +0530 Subject: inventory: adding sensor-example.yaml This is an example file which would be used if config file was not generated during build time. Change-Id: I4f31b72ffacff4dc6641c999186997e77a954823 Signed-off-by: Ratan Gupta --- scripts/sensor-example.yaml | 68 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100755 scripts/sensor-example.yaml (limited to 'scripts') diff --git a/scripts/sensor-example.yaml b/scripts/sensor-example.yaml new file mode 100755 index 0000000..c17b977 --- /dev/null +++ b/scripts/sensor-example.yaml @@ -0,0 +1,68 @@ +0xa6: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm0 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + type: bool + deassert: "true" + assert: "false" + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: "true" + deassert: "false" +0xa8: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm1 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + type: bool + deassert: "true" + assert: "false" + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: "true" + deassert: "false" +0xaa: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm2 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + type: bool + deassert: "true" + assert: "false" + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: "true" + deassert: "false" +0xac: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm3 + sensorReadingType: 0x6F + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + 0x04: + type: bool + deassert: "true" + assert: "false" + xyz.openbmc_project.Inventory.Item: + Present: + 0x06: + type: bool + assert: "true" + deassert: "false" -- cgit v1.2.1