This is a completion of lesson9 in Professor Kevin Lu's GitHub
Up first is the installation of Pyang and its required dependencies on the system. For this lab I did not use an anaconda environment, I used my base environment as an installation target
$ sudo apt install libxml2-dev libxslt1-dev$ sudo pip3 install -U lxml pyang$ cp ~/iot/lesson9/intrusiondetection.yang ~/demo$ cd ~/demo$ pyang -f yin -o intrusiondetection.yin intrusiondetection.yang$ pyang -f uml -o intrusiondetection.uml intrusiondetection.yang --uml-no=stereotypes,annotation,typedef$ sudo pip3 install -U plantuml$ python3 -m plantuml intrusiondetection.umlUp next was simply visualizing the outputs. This was done by using the default image viewer in Ubuntu 16.04. The output was a.png file so there should be a viewer built into most major operating systems