<?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: Oneview scripting $vendor variable in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41419#M5228</link>
    <description>Hi Rahman,&lt;BR /&gt;
&lt;BR /&gt;
the script from the post above will show the contents of the vendor variable if it is different from Cisco. Thus you can use that to find out what &lt;I&gt;$vendor&lt;/I&gt; value to use for EOS devices.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Erik</description>
    <pubDate>Wed, 11 Jan 2017 14:34:00 GMT</pubDate>
    <dc:creator>Erik_Auerswald</dc:creator>
    <dc:date>2017-01-11T14:34:00Z</dc:date>
    <item>
      <title>Oneview scripting $vendor variable</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41416#M5225</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I want to create custom Oneview script based on official XOS ones. On XOS script it controls $vendor variable to see if it is a supported device with this:&lt;BR /&gt;
&lt;BR /&gt;
IF (![string equal $vendor "Extreme"]) THEN   error "This script is only supported for Extreme switches."&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
So if I want to control for EOS and Cisco or other vendors we have, what should be the vendor string? Where can I find it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Rahman</description>
      <pubDate>Wed, 11 Jan 2017 14:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41416#M5225</guid>
      <dc:creator>Rahman_Duran1</dc:creator>
      <dc:date>2017-01-11T14:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Oneview scripting $vendor variable</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41417#M5226</link>
      <description>I believe it does take some OID for the vendor through SNMP. in my case following works:&lt;BR /&gt;
&lt;BR /&gt;
IF (![string equal $vendor "Cisco"]) THEN   error "This script is only supported for Cisco switches. This device is $vendor."&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:34:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41417#M5226</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2017-01-11T14:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Oneview scripting $vendor variable</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41418#M5227</link>
      <description>But what about EOS? should I use "Enterasys"</description>
      <pubDate>Wed, 11 Jan 2017 14:34:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41418#M5227</guid>
      <dc:creator>Rahman_Duran1</dc:creator>
      <dc:date>2017-01-11T14:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Oneview scripting $vendor variable</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41419#M5228</link>
      <description>Hi Rahman,&lt;BR /&gt;
&lt;BR /&gt;
the script from the post above will show the contents of the vendor variable if it is different from Cisco. Thus you can use that to find out what &lt;I&gt;$vendor&lt;/I&gt; value to use for EOS devices.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Erik</description>
      <pubDate>Wed, 11 Jan 2017 14:34:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/oneview-scripting-vendor-variable/m-p/41419#M5228</guid>
      <dc:creator>Erik_Auerswald</dc:creator>
      <dc:date>2017-01-11T14:34:00Z</dc:date>
    </item>
  </channel>
</rss>

