<?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 Re: pyATS - Not capturing all output in Tools</title>
    <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226752#M3623</link>
    <description>&lt;P class="p1"&gt;If you can share the output that you are trying to parse in public, please open an issue via&amp;nbsp;&lt;A href="https://github.com/CiscoTestAutomation/genieparser/issues" target="_blank"&gt;https://github.com/CiscoTestAutomation/genieparser/issues&lt;/A&gt;. If the output contains sensitive information, please send an email with the output to pyats-support-ext@cisco.com.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2024 11:22:24 GMT</pubDate>
    <dc:creator>Takashi Higashimura</dc:creator>
    <dc:date>2024-11-20T11:22:24Z</dc:date>
    <item>
      <title>pyATS - Not capturing all output</title>
      <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226414#M3619</link>
      <description>&lt;P&gt;I'm running "show run interface ethX/X" on multiple interfaces using pyATS on a Nexus9000 C9508, and the only fields in the response for each interface is &lt;STRONG&gt;description&lt;/STRONG&gt; and &lt;STRONG&gt;shutdown&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# command
response = device.parse("show run interface eth1/1")

# example response
{"Ethernet1/1": {"description": "somedesc", "shutdown": False}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, running the same command on the device shows more information, like ip or inherit commands.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 17:34:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226414#M3619</guid>
      <dc:creator>toeknee2120</dc:creator>
      <dc:date>2024-11-19T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS - Not capturing all output</title>
      <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226440#M3620</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Try and use execute, instead of parse. If i recall, parse() provides a structured, ready-to-use dictionary, while execute() gives you raw text (this requires manual processing fyi)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;The fact you see that learn() works correctly suggests this is a parsing/library-specific issue rather than a device configuration problem.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Nov 2024 17:25:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226440#M3620</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-11-19T17:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS - Not capturing all output</title>
      <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226443#M3621</link>
      <description>&lt;P&gt;Yes, execute shows all the expected output.&lt;/P&gt;&lt;P&gt;I was using parse because it was listed as an available parser:&amp;nbsp;&lt;A href="https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520running-config%2520interface%2520%257Binterface%257D" target="_blank"&gt;https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520running-config%2520interface%2520%257Binterface%257D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why it's not working.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 17:49:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226443#M3621</guid>
      <dc:creator>toeknee2120</dc:creator>
      <dc:date>2024-11-19T17:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS - Not capturing all output</title>
      <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226464#M3622</link>
      <description>&lt;P&gt;Glad it’s working, might be worth contacting the pyats team or putting an issue on the code repo. Very strange and the parser might need to be looked at for this model. I popped the question in the webex team space for pyats.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 10:33:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226464#M3622</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-11-20T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS - Not capturing all output</title>
      <link>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226752#M3623</link>
      <description>&lt;P class="p1"&gt;If you can share the output that you are trying to parse in public, please open an issue via&amp;nbsp;&lt;A href="https://github.com/CiscoTestAutomation/genieparser/issues" target="_blank"&gt;https://github.com/CiscoTestAutomation/genieparser/issues&lt;/A&gt;. If the output contains sensitive information, please send an email with the output to pyats-support-ext@cisco.com.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 11:22:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-not-capturing-all-output/m-p/5226752#M3623</guid>
      <dc:creator>Takashi Higashimura</dc:creator>
      <dc:date>2024-11-20T11:22:24Z</dc:date>
    </item>
  </channel>
</rss>

