summaryrefslogtreecommitdiff
path: root/tests/emit-added-MEMBUF1.sh
blob: e40690db2f8802235c8b7f2a872c49177382e8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

gdbus emit --system --object-path '/xyz/openbmc_project/sensors'            \
           --signal org.freedesktop.DBus.ObjectManager.InterfacesAdded      \
           'objectpath "/xyz/openbmc_project/sensors/temperature/MEMBUF1"'  \
           "{                                                               \
           'org.freedesktop.DBus.Peer': @a{sv} {},                          \
           'org.freedesktop.DBus.Introspectable': @a{sv} {},                \
           'org.freedesktop.DBus.Properties': @a{sv} {},                    \
           'org.freedesktop.DBus.ObjectManager': @a{sv} {},                 \
           'xyz.openbmc_project.Sensor.Threshold.Critical': {               \
                'CriticalHigh':<int64 83000>,                               \
                'CriticalLow':<int64 0>,                                    \
                'CriticalAlarmHigh':<false>,                                \
                'CriticalAlarmLow':<false>                                  \
           },                                                               \
           'xyz.openbmc_project.Sensor.Threshold.Warning': {                \
                'WarningHigh':<int64 78000>,                                \
                'WarningLow':<int64 0>,                                     \
                'WarningAlarmHigh':<false>,                                 \
                'WarningAlarmLow':<false>                                   \
           },                                                               \
           'xyz.openbmc_project.Sensor.Value': {                            \
                'Value':<int64 48000>,                                      \
                'Unit':<'xyz.openbmc_project.Sensor.Value.Unit.DegreesC'>,  \
                'Scale':<int64 -3>                                          \
           }                                                                \
           }"