<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to properly enumerate nso services in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/how-to-properly-enumerate-nso-services/m-p/3584324#M2571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a sample python script to inspect NSO cdb information.&lt;/P&gt;&lt;P&gt;I've found it straightforward to enumerate NSO devices like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;for device in root.ncs__devices.device:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(device.name)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm struggling how to do the same for services.&lt;/P&gt;&lt;P&gt;(This doesn't work for me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;for device in root.ncs__services.service:&lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(service.name)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please direct me in the proper way to enumerate NSO services?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2019 09:37:26 GMT</pubDate>
    <dc:creator>Scott.ODonnell@gmail.com</dc:creator>
    <dc:date>2019-06-04T09:37:26Z</dc:date>
    <item>
      <title>How to properly enumerate nso services</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/how-to-properly-enumerate-nso-services/m-p/3584324#M2571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a sample python script to inspect NSO cdb information.&lt;/P&gt;&lt;P&gt;I've found it straightforward to enumerate NSO devices like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;for device in root.ncs__devices.device:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(device.name)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm struggling how to do the same for services.&lt;/P&gt;&lt;P&gt;(This doesn't work for me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;for device in root.ncs__services.service:&lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(service.name)&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please direct me in the proper way to enumerate NSO services?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 09:37:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/how-to-properly-enumerate-nso-services/m-p/3584324#M2571</guid>
      <dc:creator>Scott.ODonnell@gmail.com</dc:creator>
      <dc:date>2019-06-04T09:37:26Z</dc:date>
    </item>
  </channel>
</rss>

