summaryrefslogtreecommitdiffstats
path: root/scripts/sensor-example.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sensor-example.yaml')
-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