cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
457
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
Content for Community-Ad