cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1206
Views
0
Helpful
5
Replies

Cisco DNA Center SWIM API

gabriella.zitti
Level 1
Level 1

Hi All

I have a question. Someone have try to use IAP (Intential) to guide DNA Center for a Image Upgrade on Cisco Router?

I use DNA SWIM API to do this, and I have found Device Uid and Image Uid. I try to use Distribution API but this step end with status 202 Accepted but do not copy the release software onboard of device.

I use this Jason:

Body 

[
    {
        "deviceUuid": "8f66d245-1ce5-48e2-8528-0a590a12bfd8",
        "imageUuid":  "ec09c876-aa01-4a78-8efb-d862a5cd082f"
    }
]
 Status 202 Accepted

Responce

{
    "response": {
        "taskId": "3ca3c780-8728-4896-9cd1-d449b57add5d",
        "url": "/api/v1/task/3ca3c780-8728-4896-9cd1-d449b57add5d"
    },
    "version": "1.0"
}
I waith for any time (some minutes) but a cannot see the software onboard the device. 

So I send the last step: SW Activation API. The device reboot, the image don't change BUT I can see the new SW file  onboard the device.

Someone can help me to undertand if I need to wait some plus minutes or I need to do somenthing after Distribution API?!?!?

 

Thanks a lot

Gabriella

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

What kind of router?

How many router(s)?

What version is DNAC?

gabriella.zitti
Level 1
Level 1
Hi
 
Cisco DNA Center Version 2.2.2.6
Router Cisco ISR4331 actual IOS-XE  16.04.02 new IOS-XE Version 17.03.04a
 
But I need to use this procedure also for other Kind of Cisco routers
THANKS

How many routers are planned for this update?

Is the plan to do a "one-hit" update (update all the routers on a single time)?

We try to update one router 

but the procedure will may be used to upgrade some router at a time. DNA have some limit?

Last week Monday, we upgraded a 9500 with DNAC.  Everything went well. 
Tuesday, another 9500 and everything went well. 

On Wednesday, we upgraded 14 x 9500.  Results are: 

  • 10 upgraded fine. 
  • 2 x 9500 did not upgrade and did not have the BIN file in the flash. 
  • 1 x 9500 had the packages extracted but the packages.conf was still pointing to the old firmware.  
  • 1 x 9500 already have the version "pushed" and extracted but not yet loaded/rebooted.  DNAC saw that and "stopped" and did nothing. 

NOTE:  14 x 9500 is just a fraction of our entire deployment of 9500.  We still have more but they are not being "managed" by DNAC. 

 

DNAC is meant to "replace" my responsibility of streamlining different IOS versions in our network.  With failure rate of 2/7, this exercise clearly demonstrates DNAC is not even "ready" to perform such a simple tasks.