summaryrefslogtreecommitdiffstats
path: root/example/extra_interfaces.d/xyz/openbmc_project/Example
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-19 09:22:04 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-31 14:07:40 -0500
commitfb083c2f027ba3e2a71dd636fef17a3a2c03902f (patch)
tree90ddee3020315a97dec5aa62378bb9eead1f74da /example/extra_interfaces.d/xyz/openbmc_project/Example
parent8f8685030a5effd36acfe97f2df2223eb5396bff (diff)
downloadphosphor-inventory-manager-fb083c2f027ba3e2a71dd636fef17a3a2c03902f.tar.gz
phosphor-inventory-manager-fb083c2f027ba3e2a71dd636fef17a3a2c03902f.zip
Fix hardcoded string in propertyChangedTo
Prior to this change this template will not build with types other than strings. Add an example that tests this. Change-Id: I71e5c4136e7e4fd52fea3e8e027e42634011d630 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'example/extra_interfaces.d/xyz/openbmc_project/Example')
-rw-r--r--example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
index c4bcce0..cb81630 100644
--- a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
+++ b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
@@ -4,6 +4,11 @@ properties:
- name: ExampleProperty2
type: string
description: >
- An example property.
+ An example string property.
+ - name: ExampleProperty3
+ type: int64
+ description: >
+ An example int64 property.
+
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud