I have encountered a weird issue in YANG model discrepancy between the one available on an XE Cisco router and the one we have on a virtual router on EVE-NG. I am wondering if there is any way to upload/update a specific revision of YANG model to a router to have same versions and solve the discrepancy issue? I did not find any approaches. I would appreciate it if you let me know any solution for it.
Ability to upload/update YANG models is I believe completely under direction of specific NETCONF server - whether it is (not) possible, how, and what steps need to be taken.
I believe it is not possible to directly update/modify the supported models by user with XE due to need to actually integrate functionality to internals…
It depends on what level you hit the “discrepancy” - maybe you could add some “middleware”/proxy to resolve the problem with different revisions - some “translation” of requests between the two etc.?