Installs pyangbind into the Robot test VM image. 99/38699/2
authorAshish <ashishk.iiit@gmail.com>
Thu, 12 May 2016 03:02:08 +0000 (08:32 +0530)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 16 Jun 2016 03:14:39 +0000 (03:14 +0000)
Pyangbind generates high level python class
bindings for the given yang models. This commit
installs the plugin.

This plugin can be used to generate python bindings
which uses the libraries from the plugin. We can use
these bindings to generate the desired JSON with
default or variable data.

Change-Id: I2f980264ef42495abcb9592e57e6b381f38266bb
Signed-off-by: Ashish <ashishk.iiit@gmail.com>
tools/tools_vm/scripts/fedora.sh

index 348bd7bbf83855ec42cb88c5b64076c84eb89eaf..3abba2501320dae6065d1968a48c5116e0c46501 100755 (executable)
@@ -95,6 +95,12 @@ cd $HOME && \
   python setup.py build && \
   su -c "python setup.py install"
 
+
+# Install Pyangbind, a tool to generate python bindings which can be further used to
+# generate JSON dict for yang files.
+echo "Installing Pyangbind plugin"
+su -c "pip install pyangbind"
+
 # ----------------------------
 # Add aliases to run the tools
 # ----------------------------