summaryrefslogtreecommitdiffstats
path: root/control/gen-fan-zone-defs.py
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-06-02 15:20:56 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-06-26 09:19:56 -0500
commitcec5ab766709af9b713f94576b6f05bf63fc0718 (patch)
tree131c6efb4e1a9894b35542f14e7fd4a9d31bea8f /control/gen-fan-zone-defs.py
parentb751f32d06cb8804bdd4344f3868ca284c0c9e68 (diff)
downloadphosphor-fan-presence-cec5ab766709af9b713f94576b6f05bf63fc0718.tar.gz
phosphor-fan-presence-cec5ab766709af9b713f94576b6f05bf63fc0718.zip
Add interface to uniquely identify properties
The interface is needed on the properties stored to uniquely identify each property used in events. Change-Id: Ia062f25514d7ed04ef1023a02eecad4738711ffb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/gen-fan-zone-defs.py')
-rwxr-xr-xcontrol/gen-fan-zone-defs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/control/gen-fan-zone-defs.py b/control/gen-fan-zone-defs.py
index 694477b..20c1534 100755
--- a/control/gen-fan-zone-defs.py
+++ b/control/gen-fan-zone-defs.py
@@ -95,6 +95,7 @@ const std::vector<ZoneGroup> Manager::_zoneLayouts
"${s['property']}",
handler::setProperty<${s['type']}>(
"${s['member']}",
+ "${s['interface']}",
"${s['property']}"
)
))
OpenPOWER on IntegriCloud