Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi Experts.Im trying to use YDK-GEN to convert JSON "config" into NetConf XML format to send to my router and switches. My plan is to use a combination of "code" and some jinja2 templating depending on the complexity of the config (and how standardiz...
Hi all, So I have been playing some with ydk-gen.. I had my share of issues, but I am working slowly though them..I though I had a working model for 17.6.1, but there are still a few hick-ups with inconsistencies.. anyways, Im trying the "old" 16.9.3...
hi all,Im trying to generate "YDK modules" for an ISR1K router. I have compiled and installed ydk-gen on my ubuntu 22.04 (jammy).Im trying some bundles examples in the profiles/bundles/cisco-ios-xe-16xxxxx.json, but its not working.. I have been sear...
Hi all, Im trying to install the ydk-gen on my Ubuntu 22.04 (in WSL), but the installer keeps failing with this: [ 97%] Linking CXX static library libydk-0.8.6.5.a
Creating symbolic link /usr/local/lib/libydk.a
[ 97%] Built target ydk-0.8.6.5
[ 97%] ...
Hi Yan,I tried to do a symlink like this to the "fixed" yang models.eslau@N503476:~/.ydk$ ls -l 10.12.35.56
lrwxrwxrwx 1 eslau eslau 59 Jul 11 16:59 10.12.35.56 -> /home/eslau/repos-wsl/yang-utils/yang/vendor/cisco/xe/1761/but I found that it downloa...
Hi Yan,Many thanks for your reply. I tried to change the config to the one you suggested. it gives the same "filter RPC" <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<source>
...
so after a lot (a lot lot) of testing and searching forums and such... I think I nailed it down to a few things..1. pyang is buggy, it finds problems in the yang models that does not exist.. dont use that one!2. libyang is better and better maintaine...
Hi @bigevilbeard, it does look like a similar problem. but actually it looks like @yangorelik found that the problem was an issue in the yang model itself.I had similar issues installing ydk-gen, but I managed to get it working, so now im trying to g...
Hi Yan, thanks again.. I had some time to play a little more with it and I tried your personal repo.. unfortunately it broke my environment due to the static linking of ssh/ssl libs.. I managed to update your script to make it work on my WSL install....