12-04-2018 12:13 AM
Hi Team,
I am learning Java NSO API and I have basic question about below scenario :
XXX@ncs# show running-config devices device VTS-XXX-DEV config vts-service:vts-service sites site | display xpath
/devices/device[name='VTS-XX-DEV']/config/vts-service:vts-service/sites/site[id='be416d94-a2c2-41a4-XXXX-ce41739413eb']/name Site1
If I have a VTS device (262) added to NSO, how Can I retrieve all site id by using device name or any other info? and count of total number of site id ?
Solved! Go to Solution.
12-04-2018 04:01 AM
Have a look at the NSO example examples.ncs/getting-started/developing-with-ncs/8-maapi . It contains java sample code for a variety of use cases, like the ones you are looking for.
12-04-2018 04:05 AM
Thanks Jan !!
12-04-2018 04:01 AM
Have a look at the NSO example examples.ncs/getting-started/developing-with-ncs/8-maapi . It contains java sample code for a variety of use cases, like the ones you are looking for.
12-04-2018 04:05 AM
Thanks Jan !!
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