<?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 Python script freezes on &amp;quot;show vlan&amp;quot; command in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76439#M19454</link>
    <description>I am trying to get the output of "show vlan " so I can manipulate the data in a python script, yet my script stalls on the following line: exsh.clicmd("show vlan", True)&lt;BR /&gt;
&lt;BR /&gt;
When I kill the script I get the following error: TypeError: 'NoneType' object is not callable&lt;BR /&gt;
&lt;BR /&gt;
This error does not occur with other commands, like "show fdb vlan 1". I have tried "disable clipaging" since I thought it might be a problem with Python waiting for more data that isn't coming, but that didn't work.&lt;BR /&gt;
&lt;BR /&gt;
Is there something I am missing, or is it possible that the output of "show vlan" is too large for Python to deal with? This switch has over 700 VLANs.</description>
    <pubDate>Fri, 05 Jul 2019 20:38:08 GMT</pubDate>
    <dc:creator>johnwcalder</dc:creator>
    <dc:date>2019-07-05T20:38:08Z</dc:date>
    <item>
      <title>Python script freezes on "show vlan" command</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76439#M19454</link>
      <description>I am trying to get the output of "show vlan " so I can manipulate the data in a python script, yet my script stalls on the following line: exsh.clicmd("show vlan", True)&lt;BR /&gt;
&lt;BR /&gt;
When I kill the script I get the following error: TypeError: 'NoneType' object is not callable&lt;BR /&gt;
&lt;BR /&gt;
This error does not occur with other commands, like "show fdb vlan 1". I have tried "disable clipaging" since I thought it might be a problem with Python waiting for more data that isn't coming, but that didn't work.&lt;BR /&gt;
&lt;BR /&gt;
Is there something I am missing, or is it possible that the output of "show vlan" is too large for Python to deal with? This switch has over 700 VLANs.</description>
      <pubDate>Fri, 05 Jul 2019 20:38:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76439#M19454</guid>
      <dc:creator>johnwcalder</dc:creator>
      <dc:date>2019-07-05T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python script freezes on "show vlan" command</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76440#M19455</link>
      <description>Maybe you should share your script, or a snippet enough to reproduce the problem, and the exact error message.</description>
      <pubDate>Fri, 05 Jul 2019 21:32:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76440#M19455</guid>
      <dc:creator>Ludovico_Steven</dc:creator>
      <dc:date>2019-07-05T21:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python script freezes on "show vlan" command</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76441#M19456</link>
      <description>I did the following but didn't have any issues using EXOS 21.1 or 30.2 on a X450G2-48p-10G4&lt;BR /&gt;
&lt;BR /&gt;
#create vlan 100-1000&lt;BR /&gt;
&lt;BR /&gt;
Created a 2 line script x.py&lt;BR /&gt;
&lt;BR /&gt;
a = exsh.clicmd("show vlan", True)&lt;BR /&gt;
print a&lt;BR /&gt;
&lt;BR /&gt;
#run script x.py</description>
      <pubDate>Sat, 06 Jul 2019 04:30:13 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-script-freezes-on-quot-show-vlan-quot-command/m-p/76441#M19456</guid>
      <dc:creator>Dave_Hammers</dc:creator>
      <dc:date>2019-07-06T04:30:13Z</dc:date>
    </item>
  </channel>
</rss>

