08-12-2020 07:47 AM
Hi,
Just hit a problem using the bulk API (API docs) whereby calling:
https://{{vmanage}}:{{port}}/dataservice/data/device/state/Interface?count={{count}}
Returns only interfaces on vEdge devices, not those present on CSR-1000v. You can reproduce this on the Cisco DevNet SD-WAN 19.2 Always-On environment which has a mix of vEdge and CSR-1000v.
Is this fixed in a version > 19.2?
Otherwise, as we develop our software we're going to be unable to use this Bulk API call, and instead, need to take a less efficient approach of getting a list of all fabric devices and then querying the interfaces on each device in turn, clearly less scalable and I expect it's the reason the bulk API endpoint exists.
Solved! Go to Solution.
08-14-2020 10:06 AM
Please use the following BulkAPI endpoint to get the interfaces list for the cEdge ( XE-SDWAN ) routers
https://{{vmanage}}:{{port}}/dataservice/data/device/state/CEdgeInterface?count=5000
HTH
08-14-2020 10:06 AM
Please use the following BulkAPI endpoint to get the interfaces list for the cEdge ( XE-SDWAN ) routers
https://{{vmanage}}:{{port}}/dataservice/data/device/state/CEdgeInterface?count=5000
HTH
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