Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 1 | <node> |
Norman James | 5236a8f | 2015-11-05 20:39:31 -0600 | [diff] [blame] | 2 | <interface name="org.openbmc.Hwmon"> |
| 3 | <property name="poll_interval" type="i" access="read"/> |
| 4 | <property name="sysfs_path" type="s" access="read"/> |
Norman James | 7482845 | 2015-11-17 13:10:34 -0600 | [diff] [blame] | 5 | <property name="scale" type="i" access="read"/> |
Norman James | 5236a8f | 2015-11-05 20:39:31 -0600 | [diff] [blame] | 6 | </interface> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 7 | <interface name="org.openbmc.Fan"> |
| 8 | <method name="setCoolingZone"> |
| 9 | <arg name="cooling_zone" type="i" direction="in"/> |
| 10 | </method> |
| 11 | <method name="getSpeed"> |
| 12 | <arg name="speed" type="i" direction="out"/> |
| 13 | </method> |
| 14 | <method name="setSpeed"> |
| 15 | <arg name="speed" type="i" direction="in"/> |
| 16 | </method> |
| 17 | <property name="speed" type="i" access="readwrite"/> |
| 18 | <property name="cooling_zone" type="i" access="readwrite"/> |
| 19 | <property name="pwm_num" type="i" access="readwrite"/> |
| 20 | <signal name="SpeedChanged"> |
| 21 | <arg name="speed" type="i"/> |
| 22 | </signal> |
| 23 | <signal name="TachError"/> |
| 24 | </interface> |
| 25 | <interface name="org.openbmc.SensorValue"> |
| 26 | <method name="init"/> |
| 27 | <method name="getValue"> |
| 28 | <arg name="value" type="v" direction="out"/> |
| 29 | </method> |
Norman James | 19e4591 | 2015-10-04 20:19:41 -0500 | [diff] [blame] | 30 | <method name="setValue"> |
| 31 | <arg name="value" type="v" direction="in"/> |
| 32 | </method> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 33 | |
| 34 | <property name="value" type="v" access="read"/> |
| 35 | <property name="units" type="s" access="read"/> |
| 36 | <property name="poll_interval" type="i" access="readwrite"/> |
| 37 | <property name="heatbeat" type="i" access="read"/> |
| 38 | <property name="settable" type="b" access="read"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 39 | |
| 40 | <signal name="Changed"> |
| 41 | <arg name="value" type="v"/> |
| 42 | <arg name="units" type="s"/> |
| 43 | </signal> |
Norman James | 32e74e2 | 2015-09-15 21:28:06 -0500 | [diff] [blame] | 44 | <signal name="Error"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 45 | <signal name="Heartbeat"> |
| 46 | <arg name="bus_name" type="s"/> |
| 47 | </signal> |
| 48 | </interface> |
| 49 | <interface name="org.openbmc.SensorThreshold"> |
| 50 | <method name="getState"> |
| 51 | <arg name="state" type="y" direction="out"/> |
| 52 | </method> |
| 53 | |
| 54 | <property name="lower_critical" type="v" access="readwrite"/> |
| 55 | <property name="lower_warning" type="v" access="readwrite"/> |
| 56 | <property name="upper_warning" type="v" access="readwrite"/> |
| 57 | <property name="upper_critical" type="v" access="readwrite"/> |
| 58 | <property name="state" type="y" access="read"/> |
| 59 | |
| 60 | <signal name="Warning"/> |
| 61 | <signal name="Critical"/> |
| 62 | <signal name="Normal"/> |
| 63 | </interface> |
| 64 | <interface name="org.openbmc.SensorI2c"> |
| 65 | <property name="dev_path" type="s" access="readwrite"/> |
| 66 | <property name="address" type="s" access="readwrite"/> |
| 67 | </interface> |
| 68 | <interface name="org.openbmc.SensorMatch"> |
| 69 | <property name="match_value" type="v" access="read"/> |
| 70 | <property name="state" type="y" access="read"/> |
| 71 | <signal name="SensorMatch"> |
| 72 | <arg name="state" type="y"/> |
| 73 | </signal> |
| 74 | </interface> |
| 75 | <interface name="org.openbmc.Process"> |
| 76 | <method name="stop"/> |
| 77 | </interface> |
Norman James | 1899818 | 2015-10-11 21:54:53 -0500 | [diff] [blame] | 78 | <interface name="org.openbmc.SharedResource"> |
| 79 | <method name="lock"> |
| 80 | <arg name="name" type="s" direction="in"/> |
| 81 | </method> |
| 82 | <method name="unlock"/> |
| 83 | <method name="isLocked"> |
| 84 | <arg name="lock" type="b" direction="out"/> |
| 85 | <arg name="name" type="s" direction="out"/> |
| 86 | </method> |
| 87 | <property name="lock" type="b" access="read"/> |
| 88 | <property name="name" type="s" access="read"/> |
| 89 | </interface> |
| 90 | |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 91 | <interface name="org.openbmc.Control"> |
| 92 | <method name="init"/> |
| 93 | <property name="poll_interval" type="i" access="readwrite"/> |
| 94 | <property name="heatbeat" type="i" access="read"/> |
| 95 | <signal name="Heartbeat"> |
| 96 | <arg name="bus_name" type="s"/> |
| 97 | </signal> |
| 98 | <signal name="GotoSystemState"> |
| 99 | <arg name="state_name" type="s"/> |
| 100 | </signal> |
Norman James | a3e47c4 | 2015-10-18 14:43:10 -0500 | [diff] [blame] | 101 | <signal name="Started"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 102 | </interface> |
| 103 | <interface name="org.openbmc.control.Bmc"> |
Nan Li | 44dd5a6 | 2016-08-24 17:13:06 +0800 | [diff] [blame] | 104 | <method name="coldReset"/> |
William | f784d75 | 2016-01-19 12:28:49 +0800 | [diff] [blame] | 105 | <method name="warmReset"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 106 | </interface> |
| 107 | <interface name="org.openbmc.control.Host"> |
| 108 | <method name="boot"/> |
| 109 | <method name="shutdown"/> |
| 110 | <method name="reboot"/> |
Norman James | 493996c | 2015-10-31 17:27:13 -0500 | [diff] [blame] | 111 | <property name="debug_mode" type="i" access="readwrite"/> |
| 112 | <property name="flash_side" type="s" access="readwrite"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 113 | <signal name="Booted"/> |
| 114 | </interface> |
| 115 | <interface name="org.openbmc.control.Power"> |
| 116 | <method name="setPowerState"> |
| 117 | <arg name="state" type="i" direction="in"/> |
| 118 | </method> |
| 119 | <method name="getPowerState"> |
| 120 | <arg name="state" type="i" direction="out"/> |
| 121 | </method> |
| 122 | <signal name="PowerGood"> |
| 123 | </signal> |
| 124 | <signal name="PowerLost"> |
| 125 | </signal> |
| 126 | <property name="pgood" type="i" access="read"/> |
| 127 | <property name="state" type="i" access="read"/> |
Norman James | 32e74e2 | 2015-09-15 21:28:06 -0500 | [diff] [blame] | 128 | <property name="pgood_timeout" type="i" access="readwrite"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 129 | </interface> |
Adriana Kobylak | 60c1586 | 2016-06-16 09:06:32 -0500 | [diff] [blame] | 130 | <interface name="org.openbmc.control.Checkstop"> |
| 131 | </interface> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 132 | <interface name="org.openbmc.Watchdog"> |
| 133 | <method name="start"/> |
| 134 | <method name="poke"/> |
| 135 | <method name="stop"/> |
Norman James | 47750bc | 2015-10-20 09:46:10 -0500 | [diff] [blame] | 136 | <method name="set"> |
Adriana Kobylak | 2cb2775 | 2015-10-19 16:23:14 -0500 | [diff] [blame] | 137 | <arg direction="in" type="i" name="interval" /> |
| 138 | </method> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 139 | <property name="watchdog" type="i" access="readwrite"/> |
| 140 | <property name="poll_interval" type="i" access="readwrite"/> |
| 141 | <signal name="WatchdogError"/> |
| 142 | </interface> |
| 143 | <interface name="org.openbmc.EventLog"> |
Norman James | 2d1ee89 | 2015-09-16 23:13:45 -0500 | [diff] [blame] | 144 | <method name="getEventLog"> |
| 145 | <arg name="log" type="a(s)" direction="out"/> |
| 146 | </method> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 147 | <signal name="EventLog"> |
Norman James | 8abb50c | 2015-09-16 10:58:16 -0500 | [diff] [blame] | 148 | <arg name="priority" type="i"/> |
Norman James | 32e74e2 | 2015-09-15 21:28:06 -0500 | [diff] [blame] | 149 | <arg name="message" type="s"/> |
Norman James | 8887267 | 2015-09-21 16:51:35 -0500 | [diff] [blame] | 150 | <arg name="rc" type="i"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 151 | </signal> |
| 152 | </interface> |
| 153 | <interface name="org.openbmc.Flash"> |
Norman James | 8c6d838 | 2015-10-06 07:47:16 -0500 | [diff] [blame] | 154 | <method name="update"> |
| 155 | <arg name="filename" type="s" direction="in"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 156 | </method> |
Norman James | 95b84c4 | 2015-10-22 07:12:20 -0500 | [diff] [blame] | 157 | <method name="error"> |
| 158 | <arg name="message" type="s" direction="in"/> |
| 159 | </method> |
| 160 | <method name="done"/> |
| 161 | |
Norman James | f066e87 | 2015-10-07 15:29:51 -0500 | [diff] [blame] | 162 | <method name="updateViaTftp"> |
| 163 | <arg name="url" type="s" direction="in"/> |
| 164 | <arg name="filename" type="s" direction="in"/> |
| 165 | </method> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 166 | <method name="init"/> |
| 167 | <signal name="Updated"/> |
Norman James | f066e87 | 2015-10-07 15:29:51 -0500 | [diff] [blame] | 168 | <signal name="Download"> |
| 169 | <arg name="url" type="s"/> |
| 170 | <arg name="filename" type="s"/> |
| 171 | </signal> |
Norman James | 1899818 | 2015-10-11 21:54:53 -0500 | [diff] [blame] | 172 | <property name="filename" type="s" access="read"/> |
| 173 | <property name="flasher_path" type="s" access="read"/> |
| 174 | <property name="flasher_name" type="s" access="read"/> |
| 175 | <property name="flasher_instance" type="s" access="read"/> |
Norman James | 95b84c4 | 2015-10-22 07:12:20 -0500 | [diff] [blame] | 176 | <property name="status" type="s" access="read"/> |
Norman James | 1899818 | 2015-10-11 21:54:53 -0500 | [diff] [blame] | 177 | </interface> |
| 178 | <interface name="org.openbmc.FlashControl"> |
| 179 | <method name="flash"> |
| 180 | <arg name="type" type="s" direction="in"/> |
| 181 | <arg name="filename" type="s" direction="in"/> |
| 182 | </method> |
| 183 | <signal name="Done"> |
| 184 | <arg name="filename" type="s"/> |
| 185 | </signal> |
| 186 | <signal name="Error"> |
| 187 | <arg name="filename" type="s"/> |
| 188 | </signal> |
| 189 | <signal name="Progress"> |
| 190 | <arg name="filename" type="s"/> |
| 191 | <arg name="progress" type="y"/> |
| 192 | </signal> |
| 193 | <property name="filename" type="s" access="read"/> |
| 194 | <property name="type" type="s" access="read"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 195 | </interface> |
| 196 | <interface name="org.openbmc.Button"> |
| 197 | <method name="isOn"> |
| 198 | <arg name="state" type="b" direction="out"/> |
| 199 | </method> |
Norman James | 493996c | 2015-10-31 17:27:13 -0500 | [diff] [blame] | 200 | <method name="simPress"/> |
| 201 | <method name="simLongPress"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 202 | |
| 203 | <property name="state" type="b" access="read"/> |
Norman James | 493996c | 2015-10-31 17:27:13 -0500 | [diff] [blame] | 204 | <signal name="Released"/> |
| 205 | <signal name="Pressed"/> |
| 206 | <signal name="PressedLong"/> |
| 207 | |
| 208 | <property name="timer" type="t" access="read"/> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 209 | </interface> |
| 210 | <interface name="org.openbmc.Led"> |
| 211 | <method name="setOn"/> |
| 212 | <method name="setOff"/> |
| 213 | <method name="setBlinkSlow"/> |
| 214 | <method name="setBlinkFast"/> |
| 215 | |
| 216 | <property name="color" type="i" access="read"/> |
| 217 | <property name="function" type="s" access="read"/> |
Norman James | 493996c | 2015-10-31 17:27:13 -0500 | [diff] [blame] | 218 | <property name="state" type="s" access="read"/> |
Jeremy Kerr | 0ffd4f8 | 2015-09-14 14:00:57 +0800 | [diff] [blame] | 219 | </interface> |
| 220 | <interface name="org.openbmc.HostIpmi"> |
| 221 | <signal name="ReceivedMessage"> |
| 222 | <arg type="y" name="seq" /> |
| 223 | <arg type="y" name="netfn" /> |
| 224 | <arg type="y" name="cmd" /> |
| 225 | <arg type="ay" name="data" /> |
| 226 | </signal> |
| 227 | <method name="sendMessage"> |
| 228 | <arg direction="in" type="y" name="seq" /> |
| 229 | <arg direction="in" type="y" name="netfn" /> |
| 230 | <arg direction="in" type="y" name="cmd" /> |
| 231 | <arg direction="in" type="ay" name="data" /> |
| 232 | <arg direction="out" type="x" /> |
| 233 | </method> |
Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 234 | </interface> |
| 235 | </node> |