blob: abd16028a646a72b0a1d0e1785a2e54b8da82e53 [file] [log] [blame]
Brad Bishop3ce5c482017-05-25 21:31:58 -04001# Validate two callbacks that share an index
2# and a single callback with its own index.
3#
Gunnar Mills78199b42017-10-25 16:30:18 -05004# Expecting three callbacks pointing at two indices.
Brad Bishop3ce5c482017-05-25 21:31:58 -04005
6- name: test path group 1
7 class: group
8 group: path
9 members:
Brad Bishopbabf3b72017-05-31 19:44:53 -040010 - meta: PATH
Brad Bishop3ce5c482017-05-25 21:31:58 -040011 path: /xyz/openbmc_project/testing/inst4
12
13- name: test path group 2
14 class: group
15 group: path
16 members:
Brad Bishopbabf3b72017-05-31 19:44:53 -040017 - meta: PATH
Brad Bishop3ce5c482017-05-25 21:31:58 -040018 path: /xyz/openbmc_project/testing/inst4
Brad Bishopbabf3b72017-05-31 19:44:53 -040019 - meta: PATH
Brad Bishop3ce5c482017-05-25 21:31:58 -040020 path: /xyz/openbmc_project/testing/inst6
21
22- name: test property group 1
23 class: group
24 group: property
25 type: int32
26 members:
27 - interface: xyz.openbmc_project.Sensor.Iface1
Brad Bishopbabf3b72017-05-31 19:44:53 -040028 meta: PROPERTY
Brad Bishop3ce5c482017-05-25 21:31:58 -040029 property: Value
30
31- name: test property group 2
32 class: group
33 group: property
34 type: string
35 members:
36 - interface: xyz.openbmc_project.Sensor.Iface3
Brad Bishopbabf3b72017-05-31 19:44:53 -040037 meta: PROPERTY
Brad Bishop3ce5c482017-05-25 21:31:58 -040038 property: Value2
39
40- name: test journal callback 1
41 class: callback
42 callback: journal
43 paths: test path group 1
44 properties: test property group 1
45 severity: INFO
46 message: Hello world from PDM!
47
48- name: test journal callback 2
49 class: callback
50 callback: journal
51 paths: test path group 1
52 properties: test property group 1
53 severity: INFO
54 message: Hello world from PDM!
55
56- name: test journal callback 3
57 class: callback
58 callback: journal
59 paths: test path group 2
60 properties: test property group 2
61 severity: INFO
62 message: Hello world from PDM!