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 elog callback 1
62  class: callback
63  callback: elog
64  paths: test path group 2
65  properties: test property group 2
66  error: xyz::openbmc_project::Common::Error::InvalidArgument
67  metadata:
68      - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_NAME
69        value: testing...
70        type: string
71      - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_VALUE
72        value: testing...
73        type: string
74
75- name: test elog callback 2
76  class: callback
77  callback: elog
78  paths: test path group 2
79  properties: test property group 2
80  error: xyz::openbmc_project::Common::Error::InternalFailure
81
82- name: test group callback 1
83  class: callback
84  callback: group
85  members:
86      - test journal callback 1
87      - test journal callback 2
88      - test journal callback 3
89      - test elog callback 1
90
91- name: test group callback 2
92  class: callback
93  callback: group
94  members:
95      - test journal callback 1
96      - test journal callback 2
97      - test elog callback 2
98
99- name: test group callback 3
100  class: callback
101  callback: group
102  members:
103      - test journal callback 3
104      - test group callback 2
105      - test group callback 3
106
107- name: test group callback 4
108  class: callback
109  callback: group
110  members:
111      - test group callback 3
112