<?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/genie parser bug? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3900507#M2531</link>
    <description>&lt;P&gt;Just to add...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Genie python module 19.7&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2019 07:20:54 GMT</pubDate>
    <dc:creator>ndckid</dc:creator>
    <dc:date>2019-07-31T07:20:54Z</dc:date>
    <item>
      <title>pyATS/genie parser bug?</title>
      <link>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3900498#M2530</link>
      <description>&lt;P&gt;DISREGARD THIS: Looks like new version of parserlib actually fixed this.&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure where to report this. The 'show ip route' parser for genie appears to have a small bug that does not allow it to parse the following output (found on many IOS devices)...&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;10.0.0.0/8 is variably subnetted, 4 subnets, 4 masks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C 10.1.1.32/27 is directly connected, GigabitEthernet0/1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;L 10.1.1.33/32 is directly connected, GigabitEthernet0/1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;S 10.47.64.0/21 [1/0] via 172.16.1.254&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;S 10.88.88.0/24 [1/0] via 172.16.1.22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C 172.16.1.0/24 is directly connected, GigabitEthernet0/0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;L 172.16.1.81/32 is directly connected, GigabitEthernet0/0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically the two static routes above. This seems to track back to the parser in genie/lib/parser/iosxe/show_routing.py in line 300, adding a '?' after the first comma in the regex fixes the issue (making the comma&lt;/P&gt;&lt;P&gt;optional rather than mandatory).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there is a better place to report this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 07:52:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3900498#M2530</guid>
      <dc:creator>ndckid</dc:creator>
      <dc:date>2019-07-31T07:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS/genie parser bug?</title>
      <link>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3900507#M2531</link>
      <description>&lt;P&gt;Just to add...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Genie python module 19.7&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 07:20:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3900507#M2531</guid>
      <dc:creator>ndckid</dc:creator>
      <dc:date>2019-07-31T07:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: pyATS/genie parser bug?</title>
      <link>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3994365#M2532</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here are two ways I know can reach out to them:&lt;BR /&gt;1. Create an issue in genieparser repo: &lt;A href="https://github.com/CiscoTestAutomation/genieparser" target="_blank"&gt;https://github.com/CiscoTestAutomation/genieparser&lt;/A&gt;&lt;BR /&gt;2. Send an email to their support team: pyats-support-ext@cisco.com&lt;BR /&gt;&lt;BR /&gt;I hope it helps!</description>
      <pubDate>Thu, 05 Dec 2019 19:07:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pyats-genie-parser-bug/m-p/3994365#M2532</guid>
      <dc:creator>IreneZ</dc:creator>
      <dc:date>2019-12-05T19:07:34Z</dc:date>
    </item>
  </channel>
</rss>

