Brad Bishop | 731171a | 2017-05-25 21:49:32 -0400 | [diff] [blame] | 1 | # Validate nested callback groups. |
| 2 | |
| 3 | - name: test path group 1 |
| 4 | class: group |
| 5 | group: path |
| 6 | members: |
| 7 | - meta: path |
| 8 | path: /xyz/openbmc_project/testing/inst4 |
| 9 | |
| 10 | - name: test path group 2 |
| 11 | class: group |
| 12 | group: path |
| 13 | members: |
| 14 | - meta: path |
| 15 | path: /xyz/openbmc_project/testing/inst4 |
| 16 | - meta: path |
| 17 | path: /xyz/openbmc_project/testing/inst6 |
| 18 | |
| 19 | - name: test property group 1 |
| 20 | class: group |
| 21 | group: property |
| 22 | type: int32 |
| 23 | members: |
| 24 | - interface: xyz.openbmc_project.Sensor.Iface1 |
| 25 | meta: property |
| 26 | property: Value |
| 27 | |
| 28 | - name: test property group 2 |
| 29 | class: group |
| 30 | group: property |
| 31 | type: string |
| 32 | members: |
| 33 | - interface: xyz.openbmc_project.Sensor.Iface3 |
| 34 | meta: property |
| 35 | property: Value2 |
| 36 | |
| 37 | - name: test journal callback 1 |
| 38 | class: callback |
| 39 | callback: journal |
| 40 | paths: test path group 1 |
| 41 | properties: test property group 1 |
| 42 | severity: INFO |
| 43 | message: Hello world from PDM! |
| 44 | |
| 45 | - name: test journal callback 2 |
| 46 | class: callback |
| 47 | callback: journal |
| 48 | paths: test path group 1 |
| 49 | properties: test property group 1 |
| 50 | severity: INFO |
| 51 | message: Hello world from PDM! |
| 52 | |
| 53 | - name: test journal callback 3 |
| 54 | class: callback |
| 55 | callback: journal |
| 56 | paths: test path group 2 |
| 57 | properties: test property group 2 |
| 58 | severity: INFO |
| 59 | message: Hello world from PDM! |
| 60 | |
| 61 | - name: test group callback 1 |
| 62 | class: callback |
| 63 | callback: group |
| 64 | members: |
| 65 | - test journal callback 1 |
| 66 | - test journal callback 2 |
| 67 | - test journal callback 3 |
| 68 | |
| 69 | - name: test group callback 2 |
| 70 | class: callback |
| 71 | callback: group |
| 72 | members: |
| 73 | - test journal callback 1 |
| 74 | - test journal callback 2 |
| 75 | |
| 76 | - name: test group callback 3 |
| 77 | class: callback |
| 78 | callback: group |
| 79 | members: |
| 80 | - test journal callback 3 |
| 81 | - test group callback 2 |
| 82 | - test group callback 3 |
| 83 | |
| 84 | - name: test group callback 4 |
| 85 | class: callback |
| 86 | callback: group |
| 87 | members: |
| 88 | - test group callback 3 |