blob: afb9d7eb75160d4ea4aae981c3e6ecc1d05e4110 [file] [log] [blame]
Brad Bishop731171a2017-05-25 21:49:32 -04001# Validate nested callback groups.
2
3- name: test path group 1
4 class: group
5 group: path
6 members:
Brad Bishopbabf3b72017-05-31 19:44:53 -04007 - meta: PATH
Brad Bishop731171a2017-05-25 21:49:32 -04008 path: /xyz/openbmc_project/testing/inst4
9
10- name: test path group 2
11 class: group
12 group: path
13 members:
Brad Bishopbabf3b72017-05-31 19:44:53 -040014 - meta: PATH
Brad Bishop731171a2017-05-25 21:49:32 -040015 path: /xyz/openbmc_project/testing/inst4
Brad Bishopbabf3b72017-05-31 19:44:53 -040016 - meta: PATH
Brad Bishop731171a2017-05-25 21:49:32 -040017 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
Brad Bishopbabf3b72017-05-31 19:44:53 -040025 meta: PROPERTY
Brad Bishop731171a2017-05-25 21:49:32 -040026 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
Brad Bishopbabf3b72017-05-31 19:44:53 -040034 meta: PROPERTY
Brad Bishop731171a2017-05-25 21:49:32 -040035 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
Gunnar Mills937df1a2017-08-15 12:39:04 -050061- 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
Brad Bishop731171a2017-05-25 21:49:32 -040082- 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
Gunnar Mills937df1a2017-08-15 12:39:04 -050089 - test elog callback 1
Brad Bishop731171a2017-05-25 21:49:32 -040090
91- name: test group callback 2
92 class: callback
93 callback: group
94 members:
95 - test journal callback 1
96 - test journal callback 2
Gunnar Mills937df1a2017-08-15 12:39:04 -050097 - test elog callback 2
Brad Bishop731171a2017-05-25 21:49:32 -040098
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