cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9593
Views
10
Helpful
3
Replies

Automated Software Distribution API - PID CSR1000V

lucabrasi
Level 1
Level 1

Hi,

 

I'm testing the ASD API and when specifying the CSR1000V as PID, it returns as invalid PID:

 

sw_adv = requests.get(url="https://api.cisco.com/software/v3.0/metadata/pid/CSR1000V/image_names"
                          "/csr1000v-universalk9.16.07.01.SPA.bin",
                      headers=openvuln_header)


print(sw_adv.json())
exception_code': 'PID_INVALID', 'exception_message': 'pid provided in the request is invalid. Please invoke the service with the valid pid.'}, 'pid': 'CSR1000V'

The PID is extracted from the device itself. Are Cisco CSR1000V devices supported using ASD API ?

 

Thanks & Regards

1 Accepted Solution

Accepted Solutions

kcolberg
Cisco Employee
Cisco Employee

HI,

 

CSR1000V is not an official PID, as far as I can tell. Did CSR1000V come from a sh inv?

 

If you go to https://www.cisco.com/c/en/us/support/routers/cloud-services-router-1000v/model.html and click the View All PIDs link near the top, you'll find a list of PIDs that should work with ASD API.

 

I randomly grabbed L-CSR-100M-ADV-1Y=, plugged it into your request and ASD responded with the image details.

 

Regards,

Keith

 

 

 

View solution in original post

3 Replies 3

kcolberg
Cisco Employee
Cisco Employee

HI,

 

CSR1000V is not an official PID, as far as I can tell. Did CSR1000V come from a sh inv?

 

If you go to https://www.cisco.com/c/en/us/support/routers/cloud-services-router-1000v/model.html and click the View All PIDs link near the top, you'll find a list of PIDs that should work with ASD API.

 

I randomly grabbed L-CSR-100M-ADV-1Y=, plugged it into your request and ASD responded with the image details.

 

Regards,

Keith

 

 

 

No OP, but that is the PID that shows in the router, it's just not an orderable PID.

 

Lab-Router01#sh inventory 
NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis"
PID: CSR1000V          , VID: V00  , SN: 9IZSUT3RH7H

Thanks for the update.