<?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 Upgrading Firmware using REST API in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/upgrading-firmware-using-rest-api/m-p/92221#M515</link>
    <description>&lt;P&gt;Has anyone attempted to upgrade a VDX 6740 via its REST API? i am having the following issue:&lt;/P&gt;&lt;P&gt;This is the XML body for doing the POST&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;firmware-download&amp;gt;&lt;BR /&gt;&amp;lt;scp&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;user&amp;gt;user&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;password&amp;gt;password&amp;lt;/password&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;host&amp;gt;192.168.1.10&amp;lt;/host&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;directory&amp;gt;/var/ftp/firmware/nos/nos7.2.0f&amp;lt;/directory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;use-vrf&amp;gt;mgmt-vrf&amp;lt;/use-vrf&amp;gt;&lt;BR /&gt;&amp;lt;/scp&amp;gt;&lt;BR /&gt;&amp;lt;rbridge-id&amp;gt;2&amp;lt;/rbridge-id&amp;gt;&lt;BR /&gt;&amp;lt;auto-activate/&amp;gt;&lt;BR /&gt;&amp;lt;/firmware-download&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;here is the url: &lt;A href="https://vdx-1/rest/operational-state/firmware-download" target="_blank" rel="nofollow noreferrer noopener"&gt;https://vdx-1/rest/operational-state/firmware-download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error that i get back is&lt;/P&gt;&lt;P&gt;'use-vrf' cannot occur here as a child to scp.&lt;/P&gt;&lt;P&gt;I need to specify the vrf, otherwise it cannot reach the SCP server.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 07:26:48 GMT</pubDate>
    <dc:creator>Exitium</dc:creator>
    <dc:date>2021-03-17T07:26:48Z</dc:date>
    <item>
      <title>Upgrading Firmware using REST API</title>
      <link>https://community.extremenetworks.com/t5/scripting/upgrading-firmware-using-rest-api/m-p/92221#M515</link>
      <description>&lt;P&gt;Has anyone attempted to upgrade a VDX 6740 via its REST API? i am having the following issue:&lt;/P&gt;&lt;P&gt;This is the XML body for doing the POST&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;firmware-download&amp;gt;&lt;BR /&gt;&amp;lt;scp&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;user&amp;gt;user&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;password&amp;gt;password&amp;lt;/password&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;host&amp;gt;192.168.1.10&amp;lt;/host&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;directory&amp;gt;/var/ftp/firmware/nos/nos7.2.0f&amp;lt;/directory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;use-vrf&amp;gt;mgmt-vrf&amp;lt;/use-vrf&amp;gt;&lt;BR /&gt;&amp;lt;/scp&amp;gt;&lt;BR /&gt;&amp;lt;rbridge-id&amp;gt;2&amp;lt;/rbridge-id&amp;gt;&lt;BR /&gt;&amp;lt;auto-activate/&amp;gt;&lt;BR /&gt;&amp;lt;/firmware-download&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;here is the url: &lt;A href="https://vdx-1/rest/operational-state/firmware-download" target="_blank" rel="nofollow noreferrer noopener"&gt;https://vdx-1/rest/operational-state/firmware-download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error that i get back is&lt;/P&gt;&lt;P&gt;'use-vrf' cannot occur here as a child to scp.&lt;/P&gt;&lt;P&gt;I need to specify the vrf, otherwise it cannot reach the SCP server.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 07:26:48 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/upgrading-firmware-using-rest-api/m-p/92221#M515</guid>
      <dc:creator>Exitium</dc:creator>
      <dc:date>2021-03-17T07:26:48Z</dc:date>
    </item>
  </channel>
</rss>

