cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
309
Views
0
Helpful
1
Replies

DNAC SWIM API - Initiate Flash Cleanup after Activation

thisd00d
Level 1
Level 1

Hi

When updating device images (router or switch) via the DNA-C GUI there is an option to mark "Initiate Flash Cleanup after Activation".

The question is, if there is way to tell DNA-C to perform the same action when updating devices via the API?

If there is no built-in function for this in the DNA-C API, the next best thing I can think of, is importing Netmiko and run the cleanup CLI command for each device after the task status return a success.

Any other ideas?

1 Accepted Solution

Accepted Solutions

thisd00d
Level 1
Level 1

It seems from the documentation that cleanup is not possible via the activate image API call.

View solution in original post

1 Reply 1

thisd00d
Level 1
Level 1

It seems from the documentation that cleanup is not possible via the activate image API call.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco