blob: 40bf73de9a92dd586796dc7dfee3372016b55dab [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>
25
Norman Jamese2765102015-08-19 22:00:55 -050026 <property name="value" type="i" access="read"/>
27 <property name="units" type="s" access="read"/>
Norman James3f97c5d2015-08-26 17:44:14 -050028
29 <property name="threshold_lower_critical" type="i" access="read"/>
30 <property name="threshold_lower_warning" type="i" access="read"/>
31 <property name="threshold_upper_warning" type="i" access="read"/>
32 <property name="threshold_upper_critical" type="i" access="read"/>
33 <property name="threshold_state" type="i" access="read"/>
34
Norman James4eb42682015-08-19 23:12:43 -050035 <property name="poll_interval" type="i" access="read"/>
Norman Jamescc7ae122015-08-24 14:26:09 -050036 <property name="config_data" type="as" access="read"/>
Norman James4eb42682015-08-19 23:12:43 -050037 <property name="changed_tolerance" type="i" access="read"/>
Norman James3f97c5d2015-08-26 17:44:14 -050038
Norman Jamese2765102015-08-19 22:00:55 -050039 <signal name="Changed">
40 <arg name="value" type="i"/>
41 </signal>
Norman James3f97c5d2015-08-26 17:44:14 -050042 <signal name="Warning"/>
43 <signal name="Critical"/>
Norman Jamese2765102015-08-19 22:00:55 -050044 </interface>
45 <interface name="org.openbmc.SensorString">
46 <method name="getValue">
47 <arg name="value" type="s" direction="out"/>
48 </method>
49 <method name="getUnits">
50 <arg name="units" type="s" direction="out"/>
51 </method>
52 <property name="value" type="i" access="read"/>
53 <property name="units" type="s" access="read"/>
54 <signal name="Changed">
55 <arg name="value" type="s"/>
56 </signal>
57 </interface>
58 <interface name="org.openbmc.SensorIntegerSettable">
59 <method name="getValue">
60 <arg name="value" type="i" direction="out"/>
61 </method>
62 <method name="setValue">
63 <arg name="value" type="i" direction="in"/>
64 </method>
65 <method name="getUnits">
66 <arg name="units" type="s" direction="out"/>
67 </method>
68 <property name="value" type="i" access="read"/>
69 <property name="units" type="s" access="read"/>
70 <signal name="Changed">
71 <arg name="value" type="i"/>
72 </signal>
Norman Jamescc7ae122015-08-24 14:26:09 -050073 </interface>
74 <interface name="org.openbmc.SensorIntegerThreshold">
75 <method name="check">
76 <arg name="value" type="i" direction="in"/>
77 </method>
78 <method name="setThresholds">
79 <arg name="critical_upper" type="i" direction="in"/>
80 <arg name="critical_lower" type="i" direction="in"/>
81 <arg name="warning_upper" type="i" direction="in"/>
82 <arg name="warning_lower" type="i" direction="in"/>
83 </method>
84 <signal name="critical">
85 <arg name="over" type="b"/>
86 </signal>
87 <signal name="warning">
88 <arg name="over" type="b"/>
89 </signal>
90 <property name="critical_upper" type="i" access="read"/>
91 <property name="critical_lower" type="i" access="read"/>
92 <property name="warning_upper" type="i" access="read"/>
93 <property name="warning_lower" type="i" access="read"/>
94 </interface>
Norman Jamese2765102015-08-19 22:00:55 -050095</node>