Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 1 | # Validate two callbacks that share an index |
| 2 | # and a single callback with its own index. |
| 3 | # |
Gunnar Mills | 78199b4 | 2017-10-25 16:30:18 -0500 | [diff] [blame^] | 4 | # Expecting three callbacks pointing at two indices. |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 5 | |
| 6 | - name: test path group 1 |
| 7 | class: group |
| 8 | group: path |
| 9 | members: |
Brad Bishop | babf3b7 | 2017-05-31 19:44:53 -0400 | [diff] [blame] | 10 | - meta: PATH |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 11 | path: /xyz/openbmc_project/testing/inst4 |
| 12 | |
| 13 | - name: test path group 2 |
| 14 | class: group |
| 15 | group: path |
| 16 | members: |
Brad Bishop | babf3b7 | 2017-05-31 19:44:53 -0400 | [diff] [blame] | 17 | - meta: PATH |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 18 | path: /xyz/openbmc_project/testing/inst4 |
Brad Bishop | babf3b7 | 2017-05-31 19:44:53 -0400 | [diff] [blame] | 19 | - meta: PATH |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 20 | 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 Bishop | babf3b7 | 2017-05-31 19:44:53 -0400 | [diff] [blame] | 28 | meta: PROPERTY |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 29 | 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 Bishop | babf3b7 | 2017-05-31 19:44:53 -0400 | [diff] [blame] | 37 | meta: PROPERTY |
Brad Bishop | 3ce5c48 | 2017-05-25 21:31:58 -0400 | [diff] [blame] | 38 | 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! |