xref: /openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgentest/one.yaml (revision 2b31c9882ddd7b0cabb6d18484e2887201932401)
13ce5c484SBrad Bishop# Validate two callbacks that share an index
23ce5c484SBrad Bishop# and a single callback with its own index.
33ce5c484SBrad Bishop#
4*78199b44SGunnar Mills# Expecting three callbacks pointing at two indices.
53ce5c484SBrad Bishop
63ce5c484SBrad Bishop- name: test path group 1
73ce5c484SBrad Bishop  class: group
83ce5c484SBrad Bishop  group: path
93ce5c484SBrad Bishop  members:
10babf3b78SBrad Bishop      - meta: PATH
113ce5c484SBrad Bishop        path: /xyz/openbmc_project/testing/inst4
123ce5c484SBrad Bishop
133ce5c484SBrad Bishop- name: test path group 2
143ce5c484SBrad Bishop  class: group
153ce5c484SBrad Bishop  group: path
163ce5c484SBrad Bishop  members:
17babf3b78SBrad Bishop      - meta: PATH
183ce5c484SBrad Bishop        path: /xyz/openbmc_project/testing/inst4
19babf3b78SBrad Bishop      - meta: PATH
203ce5c484SBrad Bishop        path: /xyz/openbmc_project/testing/inst6
213ce5c484SBrad Bishop
223ce5c484SBrad Bishop- name: test property group 1
233ce5c484SBrad Bishop  class: group
243ce5c484SBrad Bishop  group: property
253ce5c484SBrad Bishop  type: int32
263ce5c484SBrad Bishop  members:
273ce5c484SBrad Bishop      - interface: xyz.openbmc_project.Sensor.Iface1
28babf3b78SBrad Bishop        meta: PROPERTY
293ce5c484SBrad Bishop        property: Value
303ce5c484SBrad Bishop
313ce5c484SBrad Bishop- name: test property group 2
323ce5c484SBrad Bishop  class: group
333ce5c484SBrad Bishop  group: property
343ce5c484SBrad Bishop  type: string
353ce5c484SBrad Bishop  members:
363ce5c484SBrad Bishop      - interface: xyz.openbmc_project.Sensor.Iface3
37babf3b78SBrad Bishop        meta: PROPERTY
383ce5c484SBrad Bishop        property: Value2
393ce5c484SBrad Bishop
403ce5c484SBrad Bishop- name: test journal callback 1
413ce5c484SBrad Bishop  class: callback
423ce5c484SBrad Bishop  callback: journal
433ce5c484SBrad Bishop  paths: test path group 1
443ce5c484SBrad Bishop  properties: test property group 1
453ce5c484SBrad Bishop  severity: INFO
463ce5c484SBrad Bishop  message: Hello world from PDM!
473ce5c484SBrad Bishop
483ce5c484SBrad Bishop- name: test journal callback 2
493ce5c484SBrad Bishop  class: callback
503ce5c484SBrad Bishop  callback: journal
513ce5c484SBrad Bishop  paths: test path group 1
523ce5c484SBrad Bishop  properties: test property group 1
533ce5c484SBrad Bishop  severity: INFO
543ce5c484SBrad Bishop  message: Hello world from PDM!
553ce5c484SBrad Bishop
563ce5c484SBrad Bishop- name: test journal callback 3
573ce5c484SBrad Bishop  class: callback
583ce5c484SBrad Bishop  callback: journal
593ce5c484SBrad Bishop  paths: test path group 2
603ce5c484SBrad Bishop  properties: test property group 2
613ce5c484SBrad Bishop  severity: INFO
623ce5c484SBrad Bishop  message: Hello world from PDM!
63