cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
883
Views
0
Helpful
2
Replies

"devices device my-netconf-device pioneer netconf get" is failing

JM Montenot
Level 1
Level 1

Hello all,

I am writing a Netconf service for a ISR4k router.

So far, I have installed the pioneer package, added a device in the NSO (v4.3) and connected it using NETCONF.

All is working fine except one thing. I am able to retrieve the device config using this command:

devices device my-netconf-device pioneer netconf get-config

But the following command is not working:

devices device my-netconf-device pioneer netconf get


It stops saying the command is timeout (Error: application timeout) but after that, I am not able to reach my device anymore (always have the Error: application communication failure). I need to restart ncs to make it work fine again.


Did I did something wrong?


Thank you

1 Accepted Solution

Accepted Solutions

Jan Lindblad
Cisco Employee
Cisco Employee

The problem is likely that the device requires a lot of time to return the entire operational state. For a device in real operations, this can be huge, and not a normal thing to ask for. I suggest you don't run the plain netconf get towards this device, but if this is important you can update the pioneer source code to increase the timeout.

Once the command times out, pioneer loses sync with NSO, and no further commands will work unfortunately. As you say, you can restart NSO to fix this. Less disruptive options are to reload packages, restart the python-vm:s or specifically the pioneer python vm.

View solution in original post

2 Replies 2

Jan Lindblad
Cisco Employee
Cisco Employee

The problem is likely that the device requires a lot of time to return the entire operational state. For a device in real operations, this can be huge, and not a normal thing to ask for. I suggest you don't run the plain netconf get towards this device, but if this is important you can update the pioneer source code to increase the timeout.

Once the command times out, pioneer loses sync with NSO, and no further commands will work unfortunately. As you say, you can restart NSO to fix this. Less disruptive options are to reload packages, restart the python-vm:s or specifically the pioneer python vm.

Thank you Jan.