cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

471
Views
5
Helpful
2
Replies
Highlighted
Beginner

ISE ERS API calls to get all the network devices with Group

we are running ISE 2.3. We are having issues to get all the network devices with grouplist. We can only get one page a time, and just ID and Name using Python script.

What we want:

1. get all the network devices

2. also the NetworkDeviceGroupList.

Thanks for your help!

Everyone's tags (7)
1 ACCEPTED SOLUTION

Accepted Solutions
Advocate

Re: ISE ERS API calls to get all the network devices with Group

You can request all NADs (Get All) and iteratively request NAD details including NDG data. Example:

It should also be possible to fetch NADs with filter by type or location, but candidly I could not get this query to work so may be a defect.   Example: https://pan1.company.com:9060/ers/config/networkdevice?filter=location.ENDSW.Cleveland

Query for a specific NAD is single page. Query for all NADs can include multiples per query and page size can be added.

Craig

View solution in original post

2 REPLIES 2
Advocate

Re: ISE ERS API calls to get all the network devices with Group

You can request all NADs (Get All) and iteratively request NAD details including NDG data. Example:

It should also be possible to fetch NADs with filter by type or location, but candidly I could not get this query to work so may be a defect.   Example: https://pan1.company.com:9060/ers/config/networkdevice?filter=location.ENDSW.Cleveland

Query for a specific NAD is single page. Query for all NADs can include multiples per query and page size can be added.

Craig

View solution in original post

Beginner

Re: ISE ERS API calls to get all the network devices with Group

Thanks for the suggestions.

We are trying to avoid doing that. There should be a simple way to query for (dump) all the devices.