<?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 pnp server workings? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519729#M2545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yawchen,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have not successfully implement the PnP, do you have any idea or suggestions about this issue? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2017 23:10:56 GMT</pubDate>
    <dc:creator>nan.zhang</dc:creator>
    <dc:date>2017-04-26T23:10:56Z</dc:date>
    <item>
      <title>Python pnp server workings?</title>
      <link>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519726#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I want to upload a configuration with the&amp;nbsp; upgrade-config task on a switch in my local network by using the pnpserver.py script.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;It's not showing any errors but it doesn't seem to work either.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Changes that I did:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I've placed and compiled the pnpserver.py on a windows 2008 server, changed the policy file just for the upgrade-config part, created a self-signed certificate for HTTPs testing in OpenSSL. Regarding the signal handler request (SIGUSR1 and SIGUSR2) , I've terminated it by putting the SIGTERM instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; signal.signal(signal.SIGTERM, sig_handler_usr1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; signal.signal(signal.SIGTERM, sig_handler_usr2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;I know signal handlers are a UNIX "thing" so I didn't know what to do else.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Can you give me some inputs to use the script to make it actually work? Is there any documentation for the pnpserver.py&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; I don't have experiences of using python scripts for network automation and management.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;The executing command is&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;python pnp_server.py --http --port 9443 -f service-template.xml&amp;nbsp; --preconfig policy -i 10.x.x.x where 10.x.x.x is the IP address of the web server where the script is executed&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;The switch is IE 3000 -8TC, IOS: 15.2(5)E &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:32:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519726#M2542</guid>
      <dc:creator>bsestan71</dc:creator>
      <dc:date>2019-03-01T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python pnp server workings?</title>
      <link>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519727#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I am also interested in PnP for cisco router automation configuration. Would you please share your pnp-server.py script with me. I am so interested in how to build the communication from pnp server with pnp client.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;SPAN&gt;Please drop me a line at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:nan.zhang@ursys.com.au"&gt;nan.zhang@ursys.com.au&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;Much appreciated! Nanzhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 22:52:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519727#M2543</guid>
      <dc:creator>nan.zhang</dc:creator>
      <dc:date>2017-04-10T22:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python pnp server workings?</title>
      <link>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519728#M2544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't see any answer, consider post this question in &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/space/5290"&gt;Standard Device Interfaces &amp;amp;amp; Models&lt;/A&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:56:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519728#M2544</guid>
      <dc:creator>yawming</dc:creator>
      <dc:date>2017-04-26T21:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python pnp server workings?</title>
      <link>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519729#M2545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yawchen,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have not successfully implement the PnP, do you have any idea or suggestions about this issue? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 23:10:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/python-pnp-server-workings/m-p/3519729#M2545</guid>
      <dc:creator>nan.zhang</dc:creator>
      <dc:date>2017-04-26T23:10:56Z</dc:date>
    </item>
  </channel>
</rss>

