summaryrefslogtreecommitdiffstats
path: root/host-interface.hpp
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-03-20 14:20:49 -0500
committerAndrew Geissler <andrewg@us.ibm.com>2017-05-09 12:49:02 -0500
commit62817fa92d7a728e2b4d045019776cab0809289f (patch)
treefc8514b997ea82e4384696eac84dcaea8e53c39d /host-interface.hpp
parentdd2c6fdc50572c90d5919d0839f1dac82388c2ed (diff)
downloadphosphor-host-ipmid-62817fa92d7a728e2b4d045019776cab0809289f.tar.gz
phosphor-host-ipmid-62817fa92d7a728e2b4d045019776cab0809289f.zip
Register new Control.Host bus in ipmid
This sets up the framework for future commits to implement the required interfaces and signals in Control.Host Change-Id: I43cd7d3047ed9cfbf1a01e7ba3a0310e9d47c307 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'host-interface.hpp')
-rw-r--r--host-interface.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host-interface.hpp b/host-interface.hpp
index 793a5cb..56d19d1 100644
--- a/host-interface.hpp
+++ b/host-interface.hpp
@@ -28,6 +28,15 @@ class Host : public sdbusplus::server::object::object<
sdbusplus::xyz::openbmc_project::Control::server::Host>(
bus, objPath)
{}
+
+ /** @brief Send input command to host
+ *
+ * Note that the command will be queued in a FIFO if other commands
+ * to the host have yet to be run
+ *
+ * @param[in] command - Input command to execute
+ */
+ void execute(Command command) override;
};
} // namespace host
OpenPOWER on IntegriCloud