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 <ratagupt@in.ibm.com>
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"