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

Network Change & Configuration Management

Reply
Highlighted

manage devices via REST API instead of SSH ?

[ Edited ]
Posts: 1
137     0

Hello,

 

SSH is the "old" but still a solid way to manage infrastructure devices. What we see nowadays is more and more REST API based managing.

 

With NetMRI 7.2.1, python scripting support was introduced.

 

Has anyone ever tried to Mobdro write Kodi a python bluehost script within NetMRI and called a REST Endpoint of a device to pull or push information?

 

Thanks

Highlighted

Re: manage devices via REST API instead of SSH ?

Adviser
Posts: 423
138     0

Yes it's pretty straight forward using "requests"

 

Here is an example:

https://github.com/infobloxopen/netmri-toolkit/blob/master/Python/NetMRI_GUI_Python/Script%205%20-%2...

 

The example is talking to Infoblox IPAM to get data from it via "requests"

 

Sif

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