blob: a0988c91a929d97164ff9743bfe705786a8a2f84 [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 James3f97c5d2015-08-26 17:44:14 -050010 <method name="setThresholds">
11 <arg name="lower_critical" type="i" direction="in"/>
12 <arg name="lower_warning" type="i" direction="in"/>
13 <arg name="upper_warning" type="i" direction="in"/>
14 <arg name="upper_critical" type="i" direction="in"/>
15 </method>
Norman James4eb42682015-08-19 23:12:43 -050016 <method name="setPollInterval">
17 <arg name="poll_interval" type="i" direction="in"/>
18 </method>
Norman Jamescc7ae122015-08-24 14:26:09 -050019 <method name="setConfigData">
20 <arg name="config" type="as" direction="in"/>
21 </method>
Norman James3f97c5d2015-08-26 17:44:14 -050022 <method name="getThresholdState">
23 <arg name="threshold_state" type="i" direction="out"/>
24 </method>
Norman James90caa3c2015-08-27 21:28:48 -050025 <method name="getWatchdog">
26 <arg name="watchdog" type="i" direction="out"/>
27 </method>
Norman James3f97c5d2015-08-26 17:44:14 -050028
Norman Jamese2765102015-08-19 22:00:55 -050029 <property name="value" type="i" access="read"/>
30 <property name="units" type="s" access="read"/>
Norman James3f97c5d2015-08-26 17:44:14 -050031
32 <property name="threshold_lower_critical" type="i" access="read"/>
33 <property name="threshold_lower_warning" type="i" access="read"/>
34 <property name="threshold_upper_warning" type="i" access="read"/>
35 <property name="threshold_upper_critical" type="i" access="read"/>
36 <property name="threshold_state" type="i" access="read"/>
37
Norman James4eb42682015-08-19 23:12:43 -050038 <property name="poll_interval" type="i" access="read"/>
Norman Jamescc7ae122015-08-24 14:26:09 -050039 <property name="config_data" type="as" access="read"/>
Norman James90caa3c2015-08-27 21:28:48 -050040
41 <property name="watchdog" type="i" access="read"/>
Norman James3f97c5d2015-08-26 17:44:14 -050042
Norman Jamese2765102015-08-19 22:00:55 -050043 <signal name="Changed">
44 <arg name="value" type="i"/>
45 </signal>
Norman James3f97c5d2015-08-26 17:44:14 -050046 <signal name="Warning"/>
47 <signal name="Critical"/>
Norman Jamese2765102015-08-19 22:00:55 -050048 </interface>
49 <interface name="org.openbmc.SensorString">
50 <method name="getValue">
51 <arg name="value" type="s" direction="out"/>
52 </method>
53 <method name="getUnits">
54 <arg name="units" type="s" direction="out"/>
55 </method>
56 <property name="value" type="i" access="read"/>
57 <property name="units" type="s" access="read"/>
58 <signal name="Changed">
59 <arg name="value" type="s"/>
60 </signal>
61 </interface>
62 <interface name="org.openbmc.SensorIntegerSettable">
63 <method name="getValue">
64 <arg name="value" type="i" direction="out"/>
65 </method>
66 <method name="setValue">
67 <arg name="value" type="i" direction="in"/>
68 </method>
69 <method name="getUnits">
70 <arg name="units" type="s" direction="out"/>
71 </method>
72 <property name="value" type="i" access="read"/>
73 <property name="units" type="s" access="read"/>
74 <signal name="Changed">
75 <arg name="value" type="i"/>
76 </signal>
Norman Jamescc7ae122015-08-24 14:26:09 -050077 </interface>
Norman Jamese2765102015-08-19 22:00:55 -050078</node>