blob: 5ff66e779a32438d5c3d798069f96f3b89240da3 [file] [log] [blame]
Norman Jamese2765102015-08-19 22:00:55 -05001<node>
Norman James16efce62015-08-19 22:30:31 -05002 <!-- Can I do have interfaces as children of other interfaces? -->
Norman Jamese2765102015-08-19 22:00:55 -05003 <interface name="org.openbmc.SensorInteger">
4 <method name="getValue">
5 <arg name="value" type="i" direction="out"/>
6 </method>
7 <method name="getUnits">
8 <arg name="units" type="s" direction="out"/>
9 </method>
Norman James4eb42682015-08-19 23:12:43 -050010 <method name="setPollInterval">
11 <arg name="poll_interval" type="i" direction="in"/>
12 </method>
Norman Jamescc7ae122015-08-24 14:26:09 -050013 <method name="setConfigData">
14 <arg name="config" type="as" direction="in"/>
15 </method>
Norman Jamese2765102015-08-19 22:00:55 -050016 <property name="value" type="i" access="read"/>
17 <property name="units" type="s" access="read"/>
Norman James4eb42682015-08-19 23:12:43 -050018 <property name="poll_interval" type="i" access="read"/>
Norman Jamescc7ae122015-08-24 14:26:09 -050019 <property name="config_data" type="as" access="read"/>
Norman James4eb42682015-08-19 23:12:43 -050020 <property name="changed_tolerance" type="i" access="read"/>
Norman Jamese2765102015-08-19 22:00:55 -050021 <signal name="Changed">
22 <arg name="value" type="i"/>
23 </signal>
24 </interface>
25 <interface name="org.openbmc.SensorString">
26 <method name="getValue">
27 <arg name="value" type="s" direction="out"/>
28 </method>
29 <method name="getUnits">
30 <arg name="units" type="s" direction="out"/>
31 </method>
32 <property name="value" type="i" access="read"/>
33 <property name="units" type="s" access="read"/>
34 <signal name="Changed">
35 <arg name="value" type="s"/>
36 </signal>
37 </interface>
38 <interface name="org.openbmc.SensorIntegerSettable">
39 <method name="getValue">
40 <arg name="value" type="i" direction="out"/>
41 </method>
42 <method name="setValue">
43 <arg name="value" type="i" direction="in"/>
44 </method>
45 <method name="getUnits">
46 <arg name="units" type="s" direction="out"/>
47 </method>
48 <property name="value" type="i" access="read"/>
49 <property name="units" type="s" access="read"/>
50 <signal name="Changed">
51 <arg name="value" type="i"/>
52 </signal>
Norman Jamescc7ae122015-08-24 14:26:09 -050053 </interface>
54 <interface name="org.openbmc.SensorIntegerThreshold">
55 <method name="check">
56 <arg name="value" type="i" direction="in"/>
57 </method>
58 <method name="setThresholds">
59 <arg name="critical_upper" type="i" direction="in"/>
60 <arg name="critical_lower" type="i" direction="in"/>
61 <arg name="warning_upper" type="i" direction="in"/>
62 <arg name="warning_lower" type="i" direction="in"/>
63 </method>
64 <signal name="critical">
65 <arg name="over" type="b"/>
66 </signal>
67 <signal name="warning">
68 <arg name="over" type="b"/>
69 </signal>
70 <property name="critical_upper" type="i" access="read"/>
71 <property name="critical_lower" type="i" access="read"/>
72 <property name="warning_upper" type="i" access="read"/>
73 <property name="warning_lower" type="i" access="read"/>
74 </interface>
Norman Jamese2765102015-08-19 22:00:55 -050075</node>