Hi Team,
I am trying to establish confd connection via NETCONF like below:
NetconfSession session = null;
try {
session = device.getSession(sessionName);
if(session == null) {
device.newSession(sessionName);
}
}catch(Exception e) {
device.newSession(sessionName);
}
configReply = device.getSession(sessionName).rpc(rpc).toXMLString();
some time device.newSession will fails to create new netconf session with confd and exception will be thrown. So how to overcome this session creation failure. What’s needs to be check from confd side if issue still persists? Is any log file, if so what will be the log statement for this kind of issue? Please help me on this.
Regards,
Badari.