summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-03-04 08:33:57 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-03-15 09:45:34 +0530
commit47bf3edd55ad9d416626f7bd59885558420efc9f (patch)
tree498c287602d7063508973483db468620d53e6eec
parent0065905e1aad15bd35edc4957a56e5fd7fca963a (diff)
downloadphosphor-host-ipmid-47bf3edd55ad9d416626f7bd59885558420efc9f.tar.gz
phosphor-host-ipmid-47bf3edd55ad9d416626f7bd59885558420efc9f.zip
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>
-rwxr-xr-xscripts/sensor-example.yaml68
1 files changed, 68 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud