09-18-2018 08:07 PM - edited 10-23-2018 01:25 AM
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
Solved! Go to Solution.
09-23-2018 08:12 PM
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
09-23-2018 08:12 PM
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
09-27-2018 11:09 AM
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
10-23-2018 01:24 AM
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