<?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 /proc/self/ns_id in EXOS 30 in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/proc-self-ns-id-in-exos-30/m-p/64149#M18106</link>
    <description>Anyone tried scripting with VRs in EXOS 30?&lt;BR /&gt;
&lt;BR /&gt;
The user guide still quotes:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;try:&lt;BR /&gt;    f = open('/proc/self/ns_id', 'w')   &lt;BR /&gt;    f.write('2\n')    &lt;BR /&gt;    f.close()&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
See: https://documentation.extremenetworks.com/exos_30.3/GUID-EB79667C-6182-49C1-A6DE-24083956210C.shtml&lt;BR /&gt;
&lt;BR /&gt;
Since 30.X I get the error-message&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;run script test.py &lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
 File "/usr/local/cfg/test.py", line 20, in &lt;BR /&gt;
   vr_change('2\n')&lt;BR /&gt;
 File "/usr/local/cfg/test.py", line 16, in vr_change&lt;BR /&gt;
   f = open("/proc/self/ns_id", "w")&lt;BR /&gt;
IOError: [Errno 2] No such file or directory: '/proc/self/ns_id'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
The script works in Version 21.X and 22.X&lt;BR /&gt;
&lt;BR /&gt;
reading other objects like /proc/self/mem works.</description>
    <pubDate>Mon, 07 Oct 2019 17:32:10 GMT</pubDate>
    <dc:creator>CFaber</dc:creator>
    <dc:date>2019-10-07T17:32:10Z</dc:date>
    <item>
      <title>/proc/self/ns_id in EXOS 30</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/proc-self-ns-id-in-exos-30/m-p/64149#M18106</link>
      <description>Anyone tried scripting with VRs in EXOS 30?&lt;BR /&gt;
&lt;BR /&gt;
The user guide still quotes:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;try:&lt;BR /&gt;    f = open('/proc/self/ns_id', 'w')   &lt;BR /&gt;    f.write('2\n')    &lt;BR /&gt;    f.close()&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
See: https://documentation.extremenetworks.com/exos_30.3/GUID-EB79667C-6182-49C1-A6DE-24083956210C.shtml&lt;BR /&gt;
&lt;BR /&gt;
Since 30.X I get the error-message&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;run script test.py &lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
 File "/usr/local/cfg/test.py", line 20, in &lt;BR /&gt;
   vr_change('2\n')&lt;BR /&gt;
 File "/usr/local/cfg/test.py", line 16, in vr_change&lt;BR /&gt;
   f = open("/proc/self/ns_id", "w")&lt;BR /&gt;
IOError: [Errno 2] No such file or directory: '/proc/self/ns_id'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
The script works in Version 21.X and 22.X&lt;BR /&gt;
&lt;BR /&gt;
reading other objects like /proc/self/mem works.</description>
      <pubDate>Mon, 07 Oct 2019 17:32:10 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/proc-self-ns-id-in-exos-30/m-p/64149#M18106</guid>
      <dc:creator>CFaber</dc:creator>
      <dc:date>2019-10-07T17:32:10Z</dc:date>
    </item>
  </channel>
</rss>

