June 2017
Intermediate to advanced
446 pages
10h 10m
English
The installation instruction for each of the operating system can be found on the Installing Junos PyEZ (https://www.juniper.net/techpubs/en_US/junos-pyez1.0/topics/task/installation/junos-pyez-server-installing.html) page. Next, we will show the installation instructions for Ubuntu 16.04.
There are some dependent packages, many of which should already be on the device:
$ sudo apt-get install -y python3-pip python3-dev libxml2-dev libxslt1-dev libssl-dev libffi-dev
PyEZ packages can be installed via pip. Here, I have installed for both Python 3 and Python 2:
$ sudo pip3 install junos-eznc$ sudo pip install junos-eznc
On the device, NETCONF needs to be configured as the underlying XML API for PyEZ:
set system services ...
Read now
Unlock full access