The YANG Suite team will not be distributing a docker image to dockerhub but there is a docker recipe to build your own docker containers using docker-compose and dockerfile which can be retrieved from the CiscoDevNet/yangsuite Git repository. Building this container on Windows 10 has special challenges. Here are a couple things Windows 10 users had to do to get this working.
Doing the"git clone" has an issue with CRLF and you can workaround it with the following command in the gitshell:
The next issue you may run into is your network finding "docker.io". You can add docker.io to a couple of "hosts" files.
/etc/hosts # from gitshell
# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
Let us know if you run into other Windows 10 issues.
Part of the YANG Suite installation is generating a self-signed certificate and key with yangsuite/docker/gen_test_certs.sh. This shell script uses openssl.
The openssl project doesn't have a native Windows version. There are third party versions, but I didn't want to use them. Instead, I used the Linux openssl in my Ubuntu under WSL2 (Windows Subystem for Unix).
Make sure the "getting-started" container in the tutorial works before you try to start YANG Suite. If you skipped the tutorial, you can run the getting-started container from a command or powershell window by typing in: docker run -d -p 80:80 docker/getting-startedAfter that loads and runs successfully you can access the container through your browser at http://localhost:80. Has a lot of great information about docker. If that works, YANG Suite containers should work.
Loading large YANG models may be too much for a Windows laptop with less than 8GB of RAM so if starting up works and loading small models works but large model returns an HTTP error, that is most likely your problem.
YANG Tools Knowledge Base
For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For other products, please contact Cisco TAC (tac.cisco.com).
Learning Path -...
Difference between USGMII and USXGMII:
USGMII is used for 8x10M/100M/1GE network ports, with each port maximum speed of 1GE. USXGMII-Single Port version can be used to support ONE network port with 10M/100M/1G/2.5G/5G/10G data rates
USGMII is used...
Hi, how to execute linux-commands (which are executeable directly in the guestshell) from IOS-XE sample :[guestshell@guestshell ~]$ cat test.txt | grep SmartSmart Licensing Status: Smart Licensing is DISABLED[guestshell@guestshell ~]$ exit ...
Hi Everybody! I am trying to get the configuration from a nexus 9000v virtualized in my home lab, I am always getting this error. Exception has occurred: RPCError
File "C:\4_4 Modernizing_Netwo...