1# Validate condition callback rendering. 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 count condition 1 38 class: condition 39 condition: count 40 paths: test path group 1 41 properties: test property group 1 42 callback: test journal callback 1 43 countop: ">=" 44 countbound: 3 45 op: ">=" 46 bound: 115 47 48- name: test count condition 2 49 class: condition 50 condition: count 51 paths: test path group 1 52 properties: test property group 1 53 callback: test journal callback 1 54 countop: ">=" 55 countbound: 3 56 op: ">=" 57 bound: 115 58 59- name: test journal callback 1 60 class: callback 61 callback: journal 62 paths: test path group 1 63 properties: test property group 1 64 severity: INFO 65 message: Hello world from PDM! 66 67- name: test count condition 3 68 class: condition 69 condition: count 70 paths: test path group 1 71 properties: test property group 1 72 callback: test journal callback 2 73 countop: ">=" 74 countbound: 3 75 op: ">=" 76 bound: 115 77 78- name: test count condition 4 79 class: condition 80 condition: count 81 paths: test path group 1 82 properties: test property group 1 83 callback: test journal callback 2 84 countop: ">=" 85 countbound: 3 86 op: ">=" 87 bound: 115 88 89- name: test journal callback 2 90 class: callback 91 callback: journal 92 paths: test path group 1 93 properties: test property group 1 94 severity: INFO 95 message: Hello world from PDM! 96 97- name: test median condition 1 98 class: condition 99 condition: median 100 paths: test path group 1 101 properties: test property group 1 102 callback: test journal callback 1 103 op: ">=" 104 bound: 45 105 106- name: test median condition 2 107 class: condition 108 condition: median 109 paths: test path group 2 110 properties: test property group 1 111 callback: test journal callback 2 112 op: ">=" 113 bound: 45 114