first commit
diff --git a/xml/apps.txt b/xml/apps.txt
new file mode 100644
index 0000000..dba983b
--- /dev/null
+++ b/xml/apps.txt
@@ -0,0 +1,45 @@
+sensor.xml
+ ambient_sensor
+ altitude_sensor
+ apss_sensors
+ power_capp
+ occ
+
+fan.xml
+ fan
+
+chassis_control.xml
+ chassis_control
+
+button.xml
+ power_button
+ identify_button
+
+led_control.xml
+ identify_led
+ fault_led
+ power_led
+
+watchdog.xml
+ bmc_watchdog
+ host_watchdog
+
+psu.xml
+ psu
+
+ipmi.xml
+ ipmid
+
+parameter.xml
+ parameter_database
+
+flash.xml
+ bmc_flash
+ bios_flash
+ cpld_flash
+
+
+(no interface)
+ fan_control (uses fan and sensors)
+
+
diff --git a/xml/button.xml b/xml/button.xml
new file mode 100644
index 0000000..699038a
--- /dev/null
+++ b/xml/button.xml
@@ -0,0 +1,14 @@
+<node>
+ <interface name="org.openbmc.Button">
+ <method name="isOn">
+ <arg name="state" type="b" direction="out"/>
+ </method>
+ <method name="simButtonPress"/>
+ <method name="simButtonLongPress"/>
+
+ <property name="state" type="b" access="read"/>
+ <signal name="ButtonRelease"/>
+ <signal name="ButtonPressed"/>
+ <signal name="ButtonPressedLong"/>
+ </interface>
+</node>
diff --git a/xml/chassis_control.xml b/xml/chassis_control.xml
new file mode 100644
index 0000000..c7e4980
--- /dev/null
+++ b/xml/chassis_control.xml
@@ -0,0 +1,30 @@
+<node>
+ <!--
+ @short_description: Chassis Control
+
+ - Power on
+ - Power off
+ - Put in debug mode (Cronus mode for POWER systems)
+ - If power is shutdown for hardware reasons,
+ app will fire state change signal
+ -->
+ <interface name="org.openbmc.ChassisControl">
+ <method name="getID">
+ <arg name="id" type="s" direction="out"/>
+ </method>
+ <method name="setIdentify"/>
+ <method name="clearIdentify"/>
+
+ <method name="setPowerState">
+ <arg name="state" type="i" direction="in"/>
+ </method>
+ <method name="getPowerState">
+ <arg name="state" type="i" direction="out"/>
+ </method>
+ <method name="setDebugMode">
+ </method>
+ <method name="setPowerPolicy">
+ <arg name="policy" type="i" direction="in"/>
+ </method>
+ </interface>
+</node>
diff --git a/xml/eventlog.xml b/xml/eventlog.xml
new file mode 100644
index 0000000..a859c19
--- /dev/null
+++ b/xml/eventlog.xml
@@ -0,0 +1,11 @@
+<node>
+ <interface name="org.openbmc.EventLog">
+ <method name="error">
+ <arg name="message" type="s" direction="in"/>
+ </method>
+ <property name="message" type="s" access="read"/>
+ <signal name="ErrorEvent">
+ <arg name="message" type="s"/>
+ </signal>
+ </interface>
+</node>
diff --git a/xml/fan.xml b/xml/fan.xml
new file mode 100644
index 0000000..f4aeeb2
--- /dev/null
+++ b/xml/fan.xml
@@ -0,0 +1,25 @@
+<node>
+ <!--
+ org.openbmc.Fan:
+ @short_description:
+ -->
+ <interface name="org.openbmc.Fan">
+ <method name="setCoolingZone">
+ <arg name="cooling_zone" type="i" direction="in"/>
+ </method>
+ <method name="getSpeed">
+ <arg name="speed" type="i" direction="out"/>
+ </method>
+ <method name="setSpeed">
+ <arg name="speed" type="i" direction="in"/>
+ </method>
+ <method name="setPwmConfig">
+ <arg name="pwm_num" type="i" direction="in"/>
+ </method>
+ <signal name="SpeedChanged">
+ <arg name="speed" type="i"/>
+ </signal>
+ <signal name="TachError"/>
+ </interface>
+</node>
+
diff --git a/xml/flash.xml b/xml/flash.xml
new file mode 100644
index 0000000..b1046d2
--- /dev/null
+++ b/xml/flash.xml
@@ -0,0 +1,18 @@
+<node>
+ <!--
+ org.openbmc.Flash:
+ @short_description:
+ -->
+ <interface name="org.openbmc.Flash">
+ <method name="updateViaFile">
+ <arg name="file" type="s" direction="in"/>
+ </method>
+ <method name="updateViaHttp">
+ <arg name="url" type="s" direction="in"/>
+ </method>
+ <method name="erase"/>
+ <method name="init"/>
+ <signal name="Updated"/>
+ </interface>
+</node>
+
diff --git a/xml/fru.xml b/xml/fru.xml
new file mode 100644
index 0000000..17b59a1
--- /dev/null
+++ b/xml/fru.xml
@@ -0,0 +1,19 @@
+<node>
+ <!--
+ org.openbmc.Fru:
+ @short_description:
+ -->
+ <interface name="org.openbmc.Fru">
+ <method name="setState">
+ <arg name="state" type="i" direction="in"/>
+ </method>
+ <method name="getState">
+ <arg name="state" type="i" direction="out"/>
+ </method>
+ <method name="addEventLog">
+ <arg name="entry" type="s" direction="in"/>
+ </method>
+ <signal name="Changed"/>
+ </interface>
+</node>
+
diff --git a/xml/host_control.xml b/xml/host_control.xml
new file mode 100644
index 0000000..30fa990
--- /dev/null
+++ b/xml/host_control.xml
@@ -0,0 +1,7 @@
+<node>
+ <interface name="org.openbmc.HostControl">
+ <method name="boot"/>
+ <method name="shutdown"/>
+ <signal name="booted"/>
+ </interface>
+</node>
diff --git a/xml/ipmi.xml b/xml/ipmi.xml
new file mode 100644
index 0000000..2112343
--- /dev/null
+++ b/xml/ipmi.xml
@@ -0,0 +1,30 @@
+<node>
+ <!--
+ org.openbmc.HostIpmi:
+ @short_description: Watches BT or KCS Interface
+
+ Abstracts IPMI events
+ -->
+ <interface name="org.openbmc.HostIpmi">
+ <method name="sendRawMessage">
+ <arg name="message" type="s" direction="in"/>
+ </method>
+ <signal name="HostStatus">
+ <arg name="status" type="i"/>
+ </signal>
+ <signal name="FirmwareBootStatus">
+ <arg name="status" type="i"/>
+ </signal>
+ <signal name="FruUpdate">
+ <arg name="id" type="i"/>
+ <arg name="state" type="i"/>
+ </signal>
+ <signal name="FunctionalSensorUpdate">
+ <arg name="name" type="s"/>
+ <arg name="state" type="i"/>
+ </signal>
+ <signal name="PowerManagementState">
+ <arg name="state" type="i"/>
+ </signal>
+ </interface>
+</node>
diff --git a/xml/led.xml b/xml/led.xml
new file mode 100644
index 0000000..5519bc2
--- /dev/null
+++ b/xml/led.xml
@@ -0,0 +1,12 @@
+<node>
+ <interface name="org.openbmc.Led">
+ <method name="setOn"/>
+ <method name="setOff"/>
+ <method name="setBlinkSlow"/>
+ <method name="setBlinkFast"/>
+
+ <property name="color" type="i" access="read"/>
+ <property name="function" type="s" access="read"/>
+
+ </interface>
+</node>
diff --git a/xml/parameter.xml b/xml/parameter.xml
new file mode 100644
index 0000000..fb94f38
--- /dev/null
+++ b/xml/parameter.xml
@@ -0,0 +1,25 @@
+<node>
+ <interface name="org.openbmc.Parameters">
+ <!--
+ key/value pairs stored in NVRAM
+ Examples: MAC, power policy, boot order
+ -->
+ <method name="setParameterInt">
+ <arg name="key" type="s" direction="in"/>
+ <arg name="value" type="i" direction="in"/>
+ </method>
+ <method name="getParameterInt">
+ <arg name="key" type="s" direction="in"/>
+ <arg name="value" type="i" direction="out"/>
+ </method>
+ <method name="setParameterString">
+ <arg name="key" type="s" direction="in"/>
+ <arg name="value" type="s" direction="in"/>
+ </method>
+ <method name="getParameterString">
+ <arg name="key" type="s" direction="in"/>
+ <arg name="value" type="s" direction="out"/>
+ </method>
+ <method name="flush"/>
+ </interface>
+</node>
diff --git a/xml/power_control.xml b/xml/power_control.xml
new file mode 100644
index 0000000..480d83b
--- /dev/null
+++ b/xml/power_control.xml
@@ -0,0 +1,20 @@
+<node>
+ <interface name="org.openbmc.PowerControl">
+ <method name="setPowerState">
+ <arg name="trans_id" type="i" direction="in"/>
+ <arg name="state" type="i" direction="in"/>
+ </method>
+ <method name="getPowerState">
+ <arg name="trans_id" type="i" direction="in"/>
+ <arg name="state" type="i" direction="out"/>
+ </method>
+ <signal name="PowerGood">
+ <arg name="trans_id" type="i"/>
+ </signal>
+ <signal name="PowerLost"/>
+ <arg name="trans_id" type="i"/>
+ </signal>
+ <property name="pgood" type="i" access="read"/>
+ <property name="state" type="i" access="read"/>
+ </interface>
+</node>
diff --git a/xml/psu.xml b/xml/psu.xml
new file mode 100644
index 0000000..0d128df
--- /dev/null
+++ b/xml/psu.xml
@@ -0,0 +1,12 @@
+<node>
+ <!--
+ org.openbmc.PSU:
+ @short_description:
+ -->
+ <interface name="org.openbmc.PSU">
+ <signal name="TemperatureError">
+ </signal>
+ <signal name="OverCurrentError">
+ </signal>
+ </interface>
+</node>
diff --git a/xml/sensor.xml b/xml/sensor.xml
new file mode 100644
index 0000000..38ea7cc
--- /dev/null
+++ b/xml/sensor.xml
@@ -0,0 +1,44 @@
+<node>
+ <interface name="org.openbmc.SensorInteger">
+ <method name="getValue">
+ <arg name="value" type="i" direction="out"/>
+ </method>
+ <method name="getUnits">
+ <arg name="units" type="s" direction="out"/>
+ </method>
+ <property name="value" type="i" access="read"/>
+ <property name="units" type="s" access="read"/>
+ <signal name="Changed">
+ <arg name="value" type="i"/>
+ </signal>
+ </interface>
+ <interface name="org.openbmc.SensorString">
+ <method name="getValue">
+ <arg name="value" type="s" direction="out"/>
+ </method>
+ <method name="getUnits">
+ <arg name="units" type="s" direction="out"/>
+ </method>
+ <property name="value" type="i" access="read"/>
+ <property name="units" type="s" access="read"/>
+ <signal name="Changed">
+ <arg name="value" type="s"/>
+ </signal>
+ </interface>
+ <interface name="org.openbmc.SensorIntegerSettable">
+ <method name="getValue">
+ <arg name="value" type="i" direction="out"/>
+ </method>
+ <method name="setValue">
+ <arg name="value" type="i" direction="in"/>
+ </method>
+ <method name="getUnits">
+ <arg name="units" type="s" direction="out"/>
+ </method>
+ <property name="value" type="i" access="read"/>
+ <property name="units" type="s" access="read"/>
+ <signal name="Changed">
+ <arg name="value" type="i"/>
+ </signal>
+ </interface>
+</node>
diff --git a/xml/tmp b/xml/tmp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xml/tmp
diff --git a/xml/watchdog.xml b/xml/watchdog.xml
new file mode 100644
index 0000000..90138ba
--- /dev/null
+++ b/xml/watchdog.xml
@@ -0,0 +1,12 @@
+<node>
+ <!--
+ org.openbmc.Watchdog:
+ @short_description:
+ -->
+ <interface name="org.openbmc.Watchdog">
+ <method name="update"/>
+ <method name="start"/>
+ <method name="stop"/>
+ </interface>
+</node>
+