Cisco Prime 3.1 API: GET BulkUnsanitizedConfigArchives
We are in the process of getting Cisco Prime 3.1 to upgrade our current install of Cisco Prime 3.0, but had a question regarding the enhanced API in the Configuration Archive Service in Cisco Prime 3.1.
The API in question is "GET Bulk export sanitized configuration archives":
Does this API pull all of the device configs contained in Cisco Prime in one call?
In the documentation it mentions that the API resource does not support filtering and sorting on configuration files content. Does that mean it will not allow to filter on "softwareType", like the "GET Devices" API? For example filtering on: softwareType=ASA
Also in the documentation for "GET Bulk export sanitized configuration archives", to the right of the page under Resource Information it says Sorting? Yes and Filtering? Yes. I am confused why it says "Yes" when the description on the top of the page says it does not support filtering and sorting.
Re: Cisco Prime 3.1 API: GET BulkUnsanitizedConfigArchives
1. No, this resource will return a number of config archives subject to the pagination parameters in the query or the default page size.
2. So first, there's no softwareType response parameter in the GET data/BulkUnsanitizedConfigArchives resource, so you wouldn't be able to filter on that. But second, what this qualification means is that the actual config file content (represented by the files.data query parameter) cannot be used for filtering or sorting. However, all other response parameters can be used, for example files.fileState=RUNNINGCONFIG or diffType=IN_SYNC or .sort=diffType,-deviceId. (And the qualification about sorting is a bit superfluous, since we don't support sorting on nested collections anyway.)
3. So, right now our framework only allows for a binary configuration of whether a resource supports filtering or sorting. Both the Bulk*ConfigArchives services generally support filtering and sorting, so we've marked the values as true, since our framework doesn't support us saying "Partial" or something similar.
Would you like to know how TRex helps in supporting BGP/OSPF/RIP/ISIS on both ipv4/v6, and how network emulation or routing emulation is possible, is all here in the nerdlunch video.
Know more about how DevX has added more capabilities, much stable builds...
NBI Notifications API will be deprecated in Prime 3.7 and removed in future releases. We will update API documentation to reflect this.
NBI Server-Sent Events API is official replacement for the Notifications API. In 3.7 we will provid...
What is Network Emulation?
Network emulation is one of the key elements of effective network testing, helping you find problems in-house instead of customer environments. To create such test environments, it would require either physical hardware or ...
If you are a cisco employee, u can test the code using ASR9K devices in lab. I did test on 172.18.87.36 (be connected to cisco vpn).
The use case of the code is that, customer has to everytime manually upload logs and files in SR which are shared by TAC o...
Today there are about six billion things connected to the internet. This number will triple by the year 2020, putting an even greater demand on the network. Thus, companies will need solutions that come from its very foundation – the network.