Network Change & Configuration Management

Reply

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

Adviser
Posts: 406
3081     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

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

frank94720
Techie
Posts: 2
3082     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

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

frank94720
Techie
Posts: 2
3082     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

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

Adviser
Posts: 406
3082     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