Guest

Preview Tool

Cisco Bug: CSCvv45291 - EPN - rest-api - Bulk(Un)SanitizedConfigArchives return no configuration content

Last Modified

Oct 01, 2020

Products (1)

  • Cisco Evolved Programmable Network Manager

Known Affected Releases

4.0(0.0.102) 4.1(0.0.108D)

Description (partial)

Symptom:
https://<host>/webacs/api/v4/data/BulkSanitizedConfigArchives/86739658
 
 sample failed output (note file is missing data section):
<queryResponse type="BulkSanitizedConfigArchives" responseType="getEntity" requestUrl=" https://<host>/webacs/api/v4/data/BulkSanitizedConfigArchives/86739658"; rootUrl=" https://<host>/webacs/api/v4/data"; domain="ROOT-DOMAIN">
<entity dtoType="bulkSanitizedConfigArchivesDTO" type="BulkSanitizedConfigArchives" url=" https://<host>/webacs/api/v4/data/BulkSanitizedConfigArchives/86739658">;
<bulkSanitizedConfigArchivesDTO displayName="86739658" id="86739658">
<comments>Initial version</comments>
<createdAt>2020-05-19T08:54:00.428-05:00</createdAt>
<createdBy>Inventory</createdBy>
<deviceId>86651633</deviceId>
<deviceName>sjc-nexus9396PX-a</deviceName>
<diffType>NOT_APPLICABLE</diffType>
<files>
<file>
<fileState>STARTUPCONFIG</fileState>
<fileType>TEXT</fileType>
<instanceId>86740665</instanceId>
</file>
<file>
<fileState>RUNNINGCONFIG</fileState>
<fileType>TEXT</fileType>
<instanceId>86740664</instanceId>
</file>
</files>
<isFirst>true</isFirst>
<isLast>true</isLast>
<outOfBand>false</outOfBand>
<deviceIpAddress>x.x.x.x</deviceIpAddress>
</bulkSanitizedConfigArchivesDTO>
</entity>
</queryResponse>

Conditions:
* Out of box
* have devices configured, verify that config files: running and startup configuration is found in the archive store via the UI.
* get same via rest api by getting id for device via list of valid ids:
     https://{hostname}/webacs/api/v4/data/BulkSanitizedConfigArchives
* use id and query archive via rest api: https://{hostname}/webacs/api/v4/data/BulkSanitizedConfigArchives/{id}
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.