1# Test PDM configuration file. This file validates that all 2# possible configuration file directives result in an application 3# that builds. For an example with documentation please see 4# example.yaml 5 6- name: test path group 7 class: group 8 group: path 9 members: 10 - meta: PATH 11 path: /xyz/openbmc_project/testing/inst1 12 - meta: PATH 13 path: /xyz/openbmc_project/testing/inst2 14 - meta: PATH 15 path: /xyz/openbmc_project/testing/inst3 16 - meta: PATH 17 path: /xyz/openbmc_project/testing/inst4 18 19- name: test byte property group 20 class: group 21 group: property 22 type: byte 23 members: 24 - interface: xyz.openbmc_project.byteIface 25 meta: PROPERTY 26 property: byteValue 27 28- name: test u16 property group 29 class: group 30 group: property 31 type: uint16 32 members: 33 - interface: xyz.openbmc_project.U16Iface 34 meta: PROPERTY 35 property: u16Value 36 37- name: test u32 property group 38 class: group 39 group: property 40 type: uint32 41 members: 42 - interface: xyz.openbmc_project.U32Iface 43 meta: PROPERTY 44 property: u32Value 45 46- name: test u64 property group 47 class: group 48 group: property 49 type: uint64 50 members: 51 - interface: xyz.openbmc_project.U64Iface 52 meta: PROPERTY 53 property: u64Value 54 55- name: test s16 property group 56 class: group 57 group: property 58 type: int16 59 members: 60 - interface: xyz.openbmc_project.S16Iface 61 meta: PROPERTY 62 property: s16Value 63 64- name: test s32 property group 65 class: group 66 group: property 67 type: int32 68 members: 69 - interface: xyz.openbmc_project.S32Iface 70 meta: PROPERTY 71 property: s32Value 72 73- name: test s64 property group 74 class: group 75 group: property 76 type: int64 77 members: 78 - interface: xyz.openbmc_project.S64Iface 79 meta: PROPERTY 80 property: s64Value 81 82- name: test string property group 83 class: group 84 group: property 85 type: string 86 members: 87 - interface: xyz.openbmc_project.StringIface 88 meta: PROPERTY 89 property: StringValue 90 91- name: test bool property group 92 class: group 93 group: property 94 type: boolean 95 members: 96 - interface: xyz.openbmc_project.BoolIface 97 meta: PROPERTY 98 property: BoolValue 99 100- name: test byte watch 101 class: watch 102 watch: property 103 paths: test path group 104 properties: test byte property group 105 106- name: test u16 watch 107 class: watch 108 watch: property 109 paths: test path group 110 properties: test u16 property group 111 112- name: test u32 watch 113 class: watch 114 watch: property 115 paths: test path group 116 properties: test u32 property group 117 118- name: test u64 watch 119 class: watch 120 watch: property 121 paths: test path group 122 properties: test u64 property group 123 124- name: test s16 watch 125 class: watch 126 watch: property 127 paths: test path group 128 properties: test s16 property group 129 130- name: test s32 watch 131 class: watch 132 watch: property 133 paths: test path group 134 properties: test s32 property group 135 136- name: test s64 watch 137 class: watch 138 watch: property 139 paths: test path group 140 properties: test s64 property group 141 142- name: test bool watch 143 class: watch 144 watch: property 145 paths: test path group 146 properties: test bool property group 147 148- name: test string watch 149 class: watch 150 watch: property 151 paths: test path group 152 properties: test string property group 153 154- name: test byte journal 155 class: callback 156 callback: journal 157 paths: test path group 158 properties: test byte property group 159 severity: DEBUG 160 message: Testing... 161 162- name: test u16 journal 163 class: callback 164 callback: journal 165 paths: test path group 166 properties: test u16 property group 167 severity: INFO 168 message: Testing... 169 170- name: test u32 journal 171 class: callback 172 callback: journal 173 paths: test path group 174 properties: test u32 property group 175 severity: NOTICE 176 message: Testing... 177 178- name: test u64 journal 179 class: callback 180 callback: journal 181 paths: test path group 182 properties: test u64 property group 183 severity: WARNING 184 message: Testing... 185 186- name: test s16 journal 187 class: callback 188 callback: journal 189 paths: test path group 190 properties: test s16 property group 191 severity: ERR 192 message: Testing... 193 194- name: test s32 journal 195 class: callback 196 callback: journal 197 paths: test path group 198 properties: test s32 property group 199 severity: CRIT 200 message: Testing... 201 202- name: test s64 journal 203 class: callback 204 callback: journal 205 paths: test path group 206 properties: test s64 property group 207 severity: ALERT 208 message: Testing... 209 210- name: test bool journal 211 class: callback 212 callback: journal 213 paths: test path group 214 properties: test bool property group 215 severity: EMERG 216 message: Testing... 217 218- name: test string journal 219 class: callback 220 callback: journal 221 paths: test path group 222 properties: test string property group 223 severity: INFO 224 message: Testing... 225 226- name: test method 227 class: callback 228 callback: method 229 service: org.test 230 path: /test 231 interface: org.test 232 method: Test 233 args: 234 - value: 123 235 type: string 236 - value: false 237 type: boolean 238 - value: true 239 type: boolean 240 - value: 123 241 type: byte 242 - value: 123 243 type: uint16 244 - value: 123 245 type: uint32 246 - value: 123 247 type: uint64 248 - value: 123 249 type: int16 250 - value: 123 251 type: int32 252 - value: 123 253 type: int64 254 255- name: test count lt 256 class: condition 257 condition: count 258 paths: test path group 259 properties: test byte property group 260 callback: test method 261 countop: '<' 262 countbound: 3 263 op: '<' 264 bound: 115 265 266- name: test count lte 267 class: condition 268 condition: count 269 paths: test path group 270 properties: test byte property group 271 callback: test method 272 defer: 1000us 273 countop: '<=' 274 countbound: 3 275 op: '<=' 276 bound: 115 277 278- name: test count gt 279 class: condition 280 condition: count 281 paths: test path group 282 properties: test byte property group 283 defer: 1000us 284 callback: test method 285 countop: '>' 286 countbound: 3 287 op: '>' 288 bound: 115 289 290- name: test count gte 291 class: condition 292 condition: count 293 paths: test path group 294 properties: test byte property group 295 defer: 1000us 296 callback: test method 297 countop: '>=' 298 countbound: 3 299 op: '>=' 300 bound: 115 301 302- name: test count eq 303 class: condition 304 condition: count 305 paths: test path group 306 properties: test byte property group 307 defer: 1000us 308 callback: test method 309 countop: '==' 310 countbound: 3 311 op: '==' 312 bound: 115 313 314- name: test count neq 315 class: condition 316 condition: count 317 paths: test path group 318 properties: test byte property group 319 defer: 1000us 320 callback: test method 321 countop: '!=' 322 countbound: 3 323 op: '!=' 324 bound: 115 325 326- name: test count u16 327 class: condition 328 condition: count 329 paths: test path group 330 properties: test u16 property group 331 defer: 1000us 332 callback: test method 333 countop: '==' 334 countbound: 3 335 op: '==' 336 bound: 115 337 338- name: test count u32 339 class: condition 340 condition: count 341 paths: test path group 342 properties: test u32 property group 343 defer: 1000us 344 callback: test method 345 countop: '==' 346 countbound: 3 347 op: '==' 348 bound: 115 349 350- name: test count u64 351 class: condition 352 condition: count 353 paths: test path group 354 properties: test u64 property group 355 defer: 1000us 356 callback: test method 357 countop: '==' 358 countbound: 3 359 op: '==' 360 bound: 115 361 362- name: test count s16 363 class: condition 364 condition: count 365 paths: test path group 366 properties: test s16 property group 367 defer: 1000us 368 callback: test method 369 countop: '==' 370 countbound: 3 371 op: '==' 372 bound: 115 373 374- name: test count s32 375 class: condition 376 condition: count 377 paths: test path group 378 properties: test s32 property group 379 defer: 1000us 380 callback: test method 381 countop: '==' 382 countbound: 3 383 op: '==' 384 bound: 115 385 386- name: test count s64 387 class: condition 388 condition: count 389 paths: test path group 390 properties: test s64 property group 391 defer: 1000us 392 callback: test method 393 countop: '==' 394 countbound: 3 395 op: '==' 396 bound: 115 397 398- name: test count bool 399 class: condition 400 condition: count 401 paths: test path group 402 properties: test bool property group 403 defer: 1000us 404 callback: test method 405 countop: '==' 406 countbound: 3 407 op: '==' 408 bound: false 409