From 62817fa92d7a728e2b4d045019776cab0809289f Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Mon, 20 Mar 2017 14:20:49 -0500 Subject: 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 --- host-interface.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'host-interface.hpp') 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 -- cgit v1.2.1