This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Junos packages
Khelil Sator edited this page Feb 10, 2019
·
2 revisions
In order to collect data from Junos using openconfig telemetry, the devices require the Junos packages openconfig
and network agent
Starting with Junos OS Release 18.3R1:
- the Junos OS image includes the
OpenConfig
package; therefore, you do not need anymore to installOpenConfig
separately on your device. - the Junos OS image includes the
Network Agent
, therefore, you do not need anymore to install thenetwork agent
separately on your device.
This setup is using an older Junos release, so it is required to install these two packages.
Download these two packages from Juniper website and save them in your local directory.
we will execute the python script upgrade_junos.py to add these two packages to the Junos devices indicated in this inventory.yml file
Install the requirements:
$ sudo apt install python-pip
$ pip install junos-eznc
Update the devices inventory:
$ vi inventory.yml
Run this command to execute the python script upgrade_junos.py
$ python ./upgrade_junos.py
ssh to a Junos device and verify it uses these packages:
jcluser@vMX1> file list
/var/home/jcluser/:
junos-openconfig-x86-32-0.0.0.10-1.tgz
network-agent-x86-32-18.2R1-S3.2-C1.tgz
jcluser@vMX1> show version | match "Junos:|openconfig|na telemetry"
Junos: 18.2R1.9
JUNOS na telemetry [18.2R1-S3.2-C1]
JUNOS Openconfig [0.0.0.10-1]