- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
manage devices via REST API instead of SSH ?
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2020 03:53 AM - edited 05-22-2020 11:37 PM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2020 06:00 AM
Yes it's pretty straight forward using "requests"
Here is an example:
The example is talking to Infoblox IPAM to get data from it via "requests"
Sif
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com
Re: manage devices via REST API instead of SSH ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2021 09:28 AM
@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 ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2021 10:23 AM
So the solution I mention above solves the issue
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com