X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2FO1App.cpp;h=05bdf7ed9c2384d67088cbfe7867f7608b1cff52;hb=788e4f7e2d55fbfa67a986d9b21791aaaa4e4f2a;hp=b4cfbde2cbe3db13f056e5342f242390821dc063;hpb=b92944068f8a7b643b333515e424517db4192b61;p=o-du%2Fl2.git diff --git a/src/o1/O1App.cpp b/src/o1/O1App.cpp index b4cfbde2c..05bdf7ed9 100644 --- a/src/o1/O1App.cpp +++ b/src/o1/O1App.cpp @@ -27,6 +27,8 @@ #include "ConfigInterface.h" #include +#include "VesUtils.hpp" +#include "VesEventHandler.hpp" /******************************************************************* * * @brief Constructor @@ -89,6 +91,15 @@ bool O1App::run() { SessionHandler sessHdlr; + /*send ves PNF registration request*/ + VesEventHandler vesEvtHdr; + O1_LOG("\nO1 O1App : Sending VES Event"); + if(!vesEvtHdr.send(VesEventType::PNF_REGISTRATION)) + { + O1_LOG("\nO1 O1App : Could not send VES Request"); + return false; + } + /* Start Netconf session and subscribe to yang modules */ try {