- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-31-2023 02:02 PM
I wanted to poll the Unified SASE SD-WAN API for the hostname and system IP address for every element in a given tenant, what endpoints might I use?
05-31-2023 05:55 PM
Hi @prodrick
The code at below URL will help you to address your needs.
https://github.com/ktanushree/get-all-interface-info
Thanks
06-01-2023 07:12 AM
Hi, @kn and thanks for your response. These look like Python scripts that use the CloudGenix API rather than than API endpoints from here:
https://pan.dev/sdwan/api/
The use case I'm trying to address is needing to import each tenant's IONs (elements) into another system where I need the hostname and Management IP Address (or FQDN). Using the Unified SASE SD-WAN API, we haven't found a reliable way to obtain these values and I don't particularly want customers to have to manually enter hundreds or thousands of hostname/IP combinations or maintain a spreadsheet.
Thoughts?
Thanks again.
06-02-2023 05:29 PM
Below is an example of the type of data we can get for every Cisco Meraki device in a given Organization. In this case, "name" and "lanIP" are the equivalent of what we're looking for from the Unified SASE SD-WAN API. Without an endpoint like this, how might one integrate IONs with a 3rd party monitoring or management system?
https://documenter.getpostman.com/view/897512/SzYXYfmJ#81cc9546-080a-48cc-8fe1-48e354edefdf
06-06-2023 06:01 AM
Hi @prodrick
Thank you for clarifying the requirement. We can modify the same script for the details you need. In the case of ION devices mostly controller interface IPs can b treated as management IP but, but for some device models where the controller interface is not configured, we may need to consider the LAN interface.
Script output contains required parameter.
06-06-2023 01:32 PM
Hi @kn, How can we determine which interface is the "controller"?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!