10-27-2022 01:38 AM
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?
Solved! Go to Solution.
10-27-2022 06:00 AM
It seems from the documentation that cleanup is not possible via the activate image API call.
10-27-2022 06:00 AM
It seems from the documentation that cleanup is not possible via the activate image API call.
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