tools: start implementing ipmi interface
Start implementing ipmi interface to handle sending the actual IPMI
packet contents.
Change-Id: Idf55c1594992d0f188ee6b2940bfe3842509d91d
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/main.cpp b/tools/main.cpp
index 07a169b..95657dc 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -15,6 +15,7 @@
*/
#include "blob_handler.hpp"
+#include "ipmi_handler.hpp"
#include "updater.hpp"
/* Use CLI11 argument parser once in openbmc/meta-oe or whatever. */
@@ -106,7 +107,8 @@
exit(EXIT_FAILURE);
}
- BlobHandler blob;
+ IpmiHandler ipmi;
+ BlobHandler blob(&ipmi);
/* The parameters are all filled out. */
return updaterMain(&blob, interface, imagePath, signaturePath);