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

Does NSO REST interface add any delay for a Netconf transaction

gipattas
Cisco Employee
Cisco Employee

We have been noticing that there is significant delay in receiving a response when we are using REST interface of NSO to fetch certain oper data over Netconf from an XR device.

The same oper data when fetched through a Netconf tool (eg: Yang suite) directly from the XR device is relatively faster.

Has anyone observed similar issue? Is there something we might be doing wrong?

Any help on this is highly appreciated.

2 Replies 2

rogaglia
Cisco Employee
Cisco Employee

Hi,

 

Are you certain that you are requesting the same query to the device over the two methods?

You can search the exact RPC and what NSO is doing by looking at the device traces. In my experience, you are probably are searching from a long tree.

 

Roque

Thanks for your response.

We are trying to fetch the device inventory. We are first getting the number of slots active in the device first and then fetching inventory details per slot in separate calls. Just the call to get the number of entities itself is taking 1.6 sec

EG: 

http://<NSO-IP>:8080/api/operational/devices/device/<device-id>/live-status/inventory/entities

Then fetching specific attribute in individual entity which is taking 1.5 sec:

http://<NSO-IP>:8080/api/operational/devices/device/<device-id>/live-status/inventory/entities/entity/"0/0"/attributes/inv-basic-bag/model-name

 

The time taken is little on higher side. If we try to fetch the entire inventory it takes more than 30secs.