Unified SASE SD-WAN API: Element Hostname & IP Address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unified SASE SD-WAN API: Element Hostname & IP Address?

L1 Bithead

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?

5 REPLIES 5

L2 Linker

Hi @prodrick 

The code at below URL will help you to address your needs.

 

https://github.com/ktanushree/get-all-interface-info

 

Thanks 

 

L1 Bithead

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.


L1 Bithead

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


IMG_5539.png

L2 Linker

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. 

 

Hi @kn, How can we determine which interface is the "controller"?

  • 2132 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!