<?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: python exception socket.error: [Errno 128] Network is unreachable in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49612#M13180</link>
    <description>Many thanks ! Now everything works perfectly.&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Aug 2016 12:50:00 GMT</pubDate>
    <dc:creator>Vladimir_Shenco</dc:creator>
    <dc:date>2016-08-15T12:50:00Z</dc:date>
    <item>
      <title>python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49608#M13176</link>
      <description>Colleagues, hello.&lt;BR /&gt;
There was a need of sending mail on an event from the switch. &lt;BR /&gt;
I was will find here such absolutely remarkable script of &lt;A href="https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/Email_event/email.py" target="_blank" rel="nofollow noreferrer noopener"&gt;https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/Email_event/email.py&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Everything is good only if to launch through cli: run script email.py I receive socket.error: [Errno 128] of Network is unreachable if through UPM Profile just silence, it is natural that the email server from the switch is available, as far as I understand problem in vr vr-default, but as to launch it having specified vr vr-default it isn't told anywhere. Prompt please how to resolve an issue with it python exception.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Aug 2016 10:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49608#M13176</guid>
      <dc:creator>Vladimir_Shenco</dc:creator>
      <dc:date>2016-08-14T10:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49609#M13177</link>
      <description>Hi Vladimir,&lt;BR /&gt;
&lt;BR /&gt;
Is you mail server reachable through VR-Default or VR-Mgmt? &lt;BR /&gt;
&lt;BR /&gt;
After a quick glance that the script, I believe this script requires reachability to the mail server via VR-Mgmt.&lt;BR /&gt;
&lt;BR /&gt;
-Brandon</description>
      <pubDate>Sun, 14 Aug 2016 22:43:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49609#M13177</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2016-08-14T22:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49610#M13178</link>
      <description>Hi Brandon ,&lt;BR /&gt;
The email server is available from VR-Default.Maybe you know how to change such behavior of a script?&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Aug 2016 23:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49610#M13178</guid>
      <dc:creator>Vladimir_Shenco</dc:creator>
      <dc:date>2016-08-14T23:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49611#M13179</link>
      <description>I updated the code to be VR-Aware. Get the new python script from github, change myVirtualRouter to the VR you want (by default it is in vr-default now so no change needed for you).&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2016 12:05:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49611#M13179</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2016-08-15T12:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49612#M13180</link>
      <description>Many thanks ! Now everything works perfectly.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2016 12:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49612#M13180</guid>
      <dc:creator>Vladimir_Shenco</dc:creator>
      <dc:date>2016-08-15T12:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49613#M13181</link>
      <description>When you say that you needed to change the VR are you referring to editing the /proc/self/ns_id file?  I see (from the python doc) that it needs to be changed.  Question is does it need to be changed every time the script is ran or is the initial change permanent?&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49613#M13181</guid>
      <dc:creator>bw447</dc:creator>
      <dc:date>2017-03-31T18:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49614#M13182</link>
      <description>Yes, this needs to be modified every time you want to access something via VR-Mgmt.</description>
      <pubDate>Fri, 31 Mar 2017 18:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49614#M13182</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2017-03-31T18:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: python exception socket.error: [Errno 128] Network is unreachable</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49615#M13183</link>
      <description>The &lt;I&gt;self&lt;/I&gt; part of /proc/&lt;B&gt;self&lt;/B&gt;/ns_id shows that this pseudo-file pertains to the currently running process itself.&lt;BR /&gt;
&lt;BR /&gt;
The &lt;I&gt;proc&lt;/I&gt; part hints that this is per-process, but Linux has not been consistent with this and lots of non-process-specific stuff landed in procfs (usually mounted under /proc), before adding sysfs (usually mounted under /sys) for new system wide information and settings. But /proc/self relates to the current process only.&lt;BR /&gt;
&lt;BR /&gt;
So this file is new for every process and by default set to use VR-Mgmt and therefore needs to be changed every time the script is run.</description>
      <pubDate>Fri, 31 Mar 2017 18:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/python-exception-socket-error-errno-128-network-is-unreachable/m-p/49615#M13183</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2017-03-31T18:33:00Z</dc:date>
    </item>
  </channel>
</rss>

