Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

Network Change & Configuration Management

Reply

manage devices via REST API instead of SSH ?

[ Edited ]
New Member
Posts: 1
2464     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

Re: manage devices via REST API instead of SSH ?

Superuser
Posts: 115
2464     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

https://sifbaksh.com

Re: manage devices via REST API instead of SSH ?

New Member
Posts: 1
2464     0

@MaverickThomas wrote:

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 write a python script within NetMRI and called a REST Endpoint of a device to pull or push information?

 

Thanks


Let me know if you found any solution for that?

Re: manage devices via REST API instead of SSH ?

Superuser
Posts: 115
2464     0

So the solution I mention above solves the issue

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

https://sifbaksh.com
Showing results for 
Search instead for 
Did you mean: 

Recommended for You