09-16-2019 11:38 AM
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.
09-16-2019 02:17 PM
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
09-16-2019 07:39 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide