X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2FO1Interface.cpp;h=b1fdeff124294572201616b47c7aff8c4c0acba6;hb=e596baac85d7993d92b3077ddc1b99af14b5e8a6;hp=c0c552a384bf5f1de42b847b2ac35fd73b88b87b;hpb=6fe137e5c6f9470f4f48448f5651573c42bd8aed;p=o-du%2Fl2.git diff --git a/src/o1/O1Interface.cpp b/src/o1/O1Interface.cpp index c0c552a38..b1fdeff12 100644 --- a/src/o1/O1Interface.cpp +++ b/src/o1/O1Interface.cpp @@ -22,6 +22,7 @@ #include "O1App.hpp" #include "GlobalDefs.hpp" #include "PnfRegistrationThread.hpp" +#include "ConfigLoader.hpp" #include #include @@ -85,6 +86,9 @@ int static check_O1_module_status(void){ int start_O1_module(void) { + if( !ConfigLoader::instance().loadConfigurations() ) + return O1::FAILURE; + if(O1App::instance().start() == false){ O1_LOG("\nO1 O1Interface : Failed to start"); return O1::FAILURE;