summaryrefslogtreecommitdiffstats
path: root/src/test/yaml/propertywatchgentest/watchone.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/yaml/propertywatchgentest/watchone.yaml')
-rw-r--r--src/test/yaml/propertywatchgentest/watchone.yaml61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/test/yaml/propertywatchgentest/watchone.yaml b/src/test/yaml/propertywatchgentest/watchone.yaml
new file mode 100644
index 0000000..bea2b09
--- /dev/null
+++ b/src/test/yaml/propertywatchgentest/watchone.yaml
@@ -0,0 +1,61 @@
+- name: test path group 1
+ class: group
+ group: path
+ members:
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst1
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst2
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst3
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst4
+
+- name: test path group 2
+ class: group
+ group: path
+ members:
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst3
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst4
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst5
+ - meta: path
+ path: /xyz/openbmc_project/testing/inst6
+
+- name: test property group 1
+ class: group
+ group: property
+ type: string
+ members:
+ - interface: xyz.openbmc_project.Sensor.Iface1
+ meta: property
+ property: Value
+ - interface: xyz.openbmc_project.Sensor.Iface2
+ meta: property
+ property: Value
+
+- name: test property group 2
+ class: group
+ group: property
+ type: uint32
+ members:
+ - interface: xyz.openbmc_project.Sensor.Iface3
+ meta: property
+ property: Value1
+ - interface: xyz.openbmc_project.Sensor.Iface3
+ meta: property
+ property: Value2
+
+- name: test property watch 1
+ class: watch
+ watch: property
+ paths: test path group 1
+ properties: test property group 1
+
+- name: test property watch 2
+ class: watch
+ watch: property
+ paths: test path group 2
+ properties: test property group 2
OpenPOWER on IntegriCloud