Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Reply
Highlighted

Python - External Script to Run the "Ad Hoc Command Batch" on NetMRI

Adviser
Posts: 423
3513     2

https://community.infoblox.com/t5/Automation-Scripts/Python-External-Script-to-Run-the-quot-Ad-Hoc-C...

 

Please check it out and let me know if you find it useful.

 

 

Thanks,

Sif

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh
Highlighted

Re: Python - External Script to Run the "Ad Hoc Command Batch" on NetMRI

Techie
Posts: 2
3514     2

Hi Sif,

Thanks for the script.  The script works great in general but I've run into an issue that resulted in a http 414 request-uri too long error.  I'm basically using the this script to configure switch port interfaces.  The script works fine for around 96 switch port interfaces but after that I get a 414 error.  I tried changing the method from GET to POST but that yield the same result.  Any pointers would be great.

 

frank

Highlighted

Re: Python - External Script to Run the "Ad Hoc Command Batch" on NetMRI

Techie
Posts: 2
3514     2

I should also add that pasting in the configuration into the Ad Hoc Command Batch window on NetMRI and then running it works fine. 

 

frank

Highlighted

Re: Python - External Script to Run the "Ad Hoc Command Batch" on NetMRI

Adviser
Posts: 423
3514     2

You mind sharing your script so I can take a look

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh
Showing results for 
Search instead for 
Do you mean 

Recommended for You