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

How to properly enumerate nso services

I'm working on a sample python script to inspect NSO cdb information.

I've found it straightforward to enumerate NSO devices like this:

for device in root.ncs__devices.device:

    print(device.name)

but I'm struggling how to do the same for services.

(This doesn't work for me)

for device in root.ncs__services.service:

    print(service.name)

Can someone please direct me in the proper way to enumerate NSO services?

Thanks in advance

Scott

0 Replies 0