summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-04-03 02:11:34 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-04-25 14:14:44 -0500
commit89481cfc9e5fd72a05d34edc027352c373106efd (patch)
tree92c90c2d1f5519bb29ed7f41c687cb7e251baf19
parente088bf0f153a3a4505ae64cc67055dcefaaf11fd (diff)
downloadphosphor-net-ipmid-89481cfc9e5fd72a05d34edc027352c373106efd.tar.gz
phosphor-net-ipmid-89481cfc9e5fd72a05d34edc027352c373106efd.zip
Register SOL commands to the command table.
Change-Id: If254dd033aa317d6a891789111e56183c2bf3707 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
-rw-r--r--main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index f6cdeec..033b85c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -18,6 +18,7 @@
#include "message_handler.hpp"
#include "provider_registration.hpp"
#include "socket_channel.hpp"
+#include "sol_module.hpp"
// Tuple of Global Singletons
session::Manager manager;
@@ -185,7 +186,6 @@ finish:
int main(int i_argc, char* i_argv[])
{
-
/*
* Required by apphandler IPMI Provider Library for logging.
*/
@@ -205,6 +205,9 @@ int main(int i_argc, char* i_argv[])
// Register the phosphor-net-ipmid session setup commands
command::sessionSetupCommands();
+ // Register the phosphor-net-ipmid SOL commands
+ sol::command::registerCommands();
+
// Start Event Loop
return eventloop::startEventLoop();
OpenPOWER on IntegriCloud