cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
144
Views
0
Helpful
3
Replies

vManage API vedge update

Delo Arnautalic
Level 1
Level 1

Hi,

I am trying to update the c8000v device using Vmanage (version 20.15.4) API. The software 17.15.04.0.6839 has already been uploaded to vManage. 

If i try the /device/action/image-download API i get an error to check the device input parameters???

DeloArnautalic_0-1763720992414.png

DeloArnautalic_1-1763721044229.png

If i try using the /device/action/install API nothing happens on the vManage (no tasks) but i get the task ID in the Postman???

Did anyone successfully updated sd-wan devices using API?
 

DeloArnautalic_2-1763721224151.png

 




 

3 Replies 3

On the first one, try and change the version type to remote, in your payload - "versionType": "remote" per https://developer.cisco.com/docs/sdwan/20-15/sd-wan-vmanage-v20-15/ 

 

Hard to say with no errors, i saw this on the change log for these endpoints https://developer.cisco.com/docs/sdwan/20-15/sd-wan-vmanage-v20-15-api-change-log/#breaking-changes-POST-device-action-install 

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi, I have replaced "vmanage" with "remote" for "versionType" in both my API calls, and this time I see the task in the vManage for both API calls, but both times I get the same error "Please check the device action input parameters before re-trying".

Hmmm .. we need to see more logs from your client side imo. Launch the Postman Desktop app and then follow these steps:

  1. Open View > Developer
  2. Select View Logs in Finder (macOS) / View Logs in Explorer (Windows) / View Logs in File Manager (Linux). Your OS file manager will open the logs directory which contains your application logs.
  3. Select all files and create a single .zip file.

Its a big of a pain, but you can do this via the UI and monitor the action in developer tools, checking what payload is sent during this operation. 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io