04-04-2017 01:54 PM
Hello
Does anyone know a way to retrieve from a particular ASR9k the list of the yang models it implements? (through netconf of CLI)
I am trying to build a program that performs certain actions on our routers based netconf. It would be nice to have a way to find at runtime, the supported yang models for a particular router.
has anyone any suggestions about how can we do this?
./alejandro
04-06-2017 02:59 PM
hi Alejandro,
you can find them here:
https://github.com/YangModels/yang/tree/master/vendor/cisco/xr
/Aleksandar
04-07-2017 12:43 AM
Enable NETCONF on the router and do,
$ ssh user@hostname -p 830 -s netconf
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