<?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: Install new image on C9500 with python in Network Devices</title>
    <link>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904304#M390</link>
    <description>&lt;P&gt;Thank you for the advice.&lt;/P&gt;
&lt;P&gt;I could not find the send_input method online, but while search for it, I found kirk's example for expect_string which help to resolve the issue.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/ktbyers/netmiko/blob/develop/EXAMPLES.md#handling-commands-that-prompt-expect_string" target="_blank"&gt;https://github.com/ktbyers/netmiko/blob/develop/EXAMPLES.md#handling-commands-that-prompt-expect_string&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your advice&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 01:04:18 GMT</pubDate>
    <dc:creator>cxu21</dc:creator>
    <dc:date>2023-08-14T01:04:18Z</dc:date>
    <item>
      <title>Install new image on C9500 with python</title>
      <link>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904175#M388</link>
      <description>&lt;P&gt;I try to install a new nxos image on the C9500 switch using python.&lt;/P&gt;
&lt;P&gt;I am thinking of using netmiko to connect to the device and issue "install all nxos bootflash:nxos.newversion.bin". Ideally, there should have no intervention for the installation, but during the process, there is a step asking if I want to continue, is there a way to automatically enter Y to let the process proceed?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 11:03:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904175#M388</guid>
      <dc:creator>cxu21</dc:creator>
      <dc:date>2023-08-13T11:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Install new image on C9500 with python</title>
      <link>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904204#M389</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;send_input()&lt;SPAN&gt; method takes a string as a parameter, and it will send that string to the device. Example&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;net_connect.send_input(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'Y'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 13:32:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904204#M389</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2023-08-13T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Install new image on C9500 with python</title>
      <link>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904304#M390</link>
      <description>&lt;P&gt;Thank you for the advice.&lt;/P&gt;
&lt;P&gt;I could not find the send_input method online, but while search for it, I found kirk's example for expect_string which help to resolve the issue.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/ktbyers/netmiko/blob/develop/EXAMPLES.md#handling-commands-that-prompt-expect_string" target="_blank"&gt;https://github.com/ktbyers/netmiko/blob/develop/EXAMPLES.md#handling-commands-that-prompt-expect_string&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your advice&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 01:04:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/install-new-image-on-c9500-with-python/m-p/4904304#M390</guid>
      <dc:creator>cxu21</dc:creator>
      <dc:date>2023-08-14T01:04:18Z</dc:date>
    </item>
  </channel>
</rss>

