Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 1 | <node>
|
Norman James | 16efce6 | 2015-08-19 22:30:31 -0500 | [diff] [blame] | 2 | <!-- Can I do have interfaces as children of other interfaces? -->
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 3 | <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 James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame] | 10 | <method name="setPollInterval">
|
| 11 | <arg name="poll_interval" type="i" direction="in"/>
|
| 12 | </method>
|
Norman James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 13 | <method name="setConfigData">
|
| 14 | <arg name="config" type="as" direction="in"/>
|
| 15 | </method>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 16 | <property name="value" type="i" access="read"/>
|
| 17 | <property name="units" type="s" access="read"/>
|
Norman James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame] | 18 | <property name="poll_interval" type="i" access="read"/>
|
Norman James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 19 | <property name="config_data" type="as" access="read"/>
|
Norman James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame] | 20 | <property name="changed_tolerance" type="i" access="read"/>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 21 | <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 James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 53 | </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 James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 75 | </node>
|