10-30-2017 01:05 PM
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!
Solved! Go to Solution.
10-30-2017 03:17 PM
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
10-30-2017 03:17 PM
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
10-31-2017 09:26 AM
Thanks for the suggestions.
We are trying to avoid doing that. There should be a simple way to query for (dump) all the devices.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide