02-22-2023 01:42 PM
I am trying to automate the upgrading of an IOS XE device using REST/RESTCONF and the accompany YANG data models. Using: https://{{device}}/restconf/data/Cisco-IOS-XE-install-rpc:install/ , for example, one can configure the body of the POST call to initialize the install RPC via RESTCONF and one-shot upgrade the device. The body of the POST call would look something like this in JSON:
Solved! Go to Solution.
02-23-2023 12:00 AM
Hi
Cisco-IOS-XE-platform-software-oper will do the trick. Start here, you'll find what you're looking for:
https://<IP>/restconf/data/Cisco-IOS-XE-platform-software-oper:cisco-platform-software/q-filesystem
HTH
Marcel
02-23-2023 12:00 AM
Hi
Cisco-IOS-XE-platform-software-oper will do the trick. Start here, you'll find what you're looking for:
https://<IP>/restconf/data/Cisco-IOS-XE-platform-software-oper:cisco-platform-software/q-filesystem
HTH
Marcel
02-23-2023 06:32 AM
Thank you Marcel for your quick and accurate response to my inquiry. It was exactly what I needed! I had seen the "Cisco-IOS-XE-platform-software-oper" module but I hadn't fully investigate it and all its leaf's yet. You definitely saved me some time, thank you!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: