summaryrefslogtreecommitdiff
path: root/tests/emit-added-bmc.sh
blob: 35b1d92ecdf3c31af87feb7716170c249e0c8c82 (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
#!/bin/sh

gdbus emit --system --object-path '/xyz/openbmc_project/software'           \
           --signal org.freedesktop.DBus.ObjectManager.InterfacesAdded      \
           'objectpath "/xyz/openbmc_project/software/1f6027c9"'            \
           "{                                                               \
           'org.freedesktop.DBus.Peer': @a{sv} {},                          \
           'org.freedesktop.DBus.Introspectable': @a{sv} {},                \
           'org.freedesktop.DBus.Properties': @a{sv} {},                    \
           'xyz.openbmc_project.Common.FilePath': {                         \
                'Path':<'/tmp/images/1f6027c9'>                             \
           },                                                               \
           'xyz.openbmc_project.Software.Version': {                        \
                'Version':<'v2.2-441-gc04c198-dirty'>,                      \
                'Purpose':<'xyz.openbmc_project.Software.Version.VersionPurpose.BMC'> \
           },                                                               \
           'xyz.openbmc_project.Software.Activation': {                     \
                'Activation':<'xyz.openbmc_project.Software.Activation.Activations.Ready'>, \
                'RequestedActivation':<'xyz.openbmc_project.Software.Activation.RequestedActivations.None'> \
           }
           }"


#            'org.openbmc.Associations': {                                    \
#                 'associations':<struct {'inventory', 'activation', ''} >    \
#            }                                                                \