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 | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 10 | <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 James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame] | 16 | <method name="setPollInterval">
|
| 17 | <arg name="poll_interval" type="i" direction="in"/>
|
| 18 | </method>
|
Norman James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 19 | <method name="setConfigData">
|
| 20 | <arg name="config" type="as" direction="in"/>
|
| 21 | </method>
|
Norman James | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 22 | <method name="getThresholdState">
|
| 23 | <arg name="threshold_state" type="i" direction="out"/>
|
| 24 | </method>
|
Norman James | 90caa3c | 2015-08-27 21:28:48 -0500 | [diff] [blame] | 25 | <method name="getWatchdog">
|
| 26 | <arg name="watchdog" type="i" direction="out"/>
|
| 27 | </method>
|
Norman James | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 28 |
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 29 | <property name="value" type="i" access="read"/>
|
| 30 | <property name="units" type="s" access="read"/>
|
Norman James | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 31 |
|
| 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 James | 4eb4268 | 2015-08-19 23:12:43 -0500 | [diff] [blame] | 38 | <property name="poll_interval" type="i" access="read"/>
|
Norman James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 39 | <property name="config_data" type="as" access="read"/>
|
Norman James | 90caa3c | 2015-08-27 21:28:48 -0500 | [diff] [blame] | 40 |
|
| 41 | <property name="watchdog" type="i" access="read"/>
|
Norman James | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 42 |
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 43 | <signal name="Changed">
|
| 44 | <arg name="value" type="i"/>
|
| 45 | </signal>
|
Norman James | 3f97c5d | 2015-08-26 17:44:14 -0500 | [diff] [blame] | 46 | <signal name="Warning"/>
|
| 47 | <signal name="Critical"/>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 48 | </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 James | cc7ae12 | 2015-08-24 14:26:09 -0500 | [diff] [blame] | 77 | </interface>
|
Norman James | e276510 | 2015-08-19 22:00:55 -0500 | [diff] [blame] | 78 | </node>
|