Request timeout in NETCONF edit operation

asked 2017-04-13 23:17:46 -0700

sakthivels gravatar image

updated 2017-04-13 23:20:32 -0700

I am trying to configure a NETCONF device. Since the device is responding slower than expected (as I understand), I am seeing timeout exception. So to fix this issue, I am trying to change/configure request timeout for all edit-config requests. How can I go about with this? The exception is as below.

<commit/> </rpc> , response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-16"> <rpc-error> <error-type>application</error-type> <error-tag>operation-failed</error-tag> <error-severity>error</error-severity> <error-message xml:lang="en">Timeout has expired</error-message> </rpc-error> </rpc-reply>

NetconfDocumentedException{message=Timeout has expired, errorType=application, errorTag=operation_failed, errorSeverity=error, errorInfo=null} at org.opendaylight.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:46) at org.opendaylight.netconf.sal.connect.netconf.util.NetconfMessageTransformUtil.checkSuccessReply(NetconfMessageTransformUtil.java:206)[186:org.opendaylight.netconf.sal-netconf-connector:1.4.0.Boron] at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:294)[186:org.opendaylight.netconf.sal-netconf-connector:1.4.0.Boron] at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:242)[186:org.opendaylight.netconf.sal-netconf-connector:1.4.0.Boron] at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:48)[186:org.opendaylight.netconf.sal-netconf-connector:1.4.0.Boron]

edit retag flag offensive close merge delete