Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Deleted the rlog folder"
[o-du/l2.git]
/
src
/
o1
/
SessionHandler.cpp
diff --git
a/src/o1/SessionHandler.cpp
b/src/o1/SessionHandler.cpp
index
f4108c0
..
bc6ec9f
100644
(file)
--- a/
src/o1/SessionHandler.cpp
+++ b/
src/o1/SessionHandler.cpp
@@
-19,9
+19,14
@@
/* This file contains methods of Session/Connection creation and Subscription to
YANG modules */
/* This file contains methods of Session/Connection creation and Subscription to
YANG modules */
+#include <stdio.h>
+#include <stdlib.h>
+#include "sysrepo.h"
#include "SessionHandler.hpp"
#include "SessionHandler.hpp"
+#include "InitConfig.hpp"
+#include <iostream>
-
+using namespace std;
/* Default constructor */
SessionHandler::SessionHandler()
{
/* Default constructor */
SessionHandler::SessionHandler()
{
@@
-45,10
+50,14
@@
bool SessionHandler::init()
{
try
{
{
try
{
+ O1_LOG("\nO1 SessionHandler : Initialization done");
mConn = createConnection();
mConn = createConnection();
+ O1_LOG("\nO1 SessionHandler : Initialization done");
mSess = createSession(mConn);
mSub = createSubscribe(mSess);
O1_LOG("\nO1 SessionHandler : Initialization done");
mSess = createSession(mConn);
mSub = createSubscribe(mSess);
O1_LOG("\nO1 SessionHandler : Initialization done");
+ //InitConfig initConf;
+ InitConfig::instance().init(mSess);
return true;
}
catch( const std::exception& e )
return true;
}
catch( const std::exception& e )