2- Python off-box and PyEZ ( python module called junos-eznc)


PyEZ:  is a Python library to remotely manage/automate Junos devices.

Junos PyEZ requires ncclient version 0.5.2 or later.


pip3 install junos-eznc

Junos PyEZ Developer Guide

https://www.juniper.net/documentation/en_US/junos-pyez/information-products/pathway-pages/junos-pyez-developer-guide.pdf



GETTING STARTED WITH JUNOS PYEZ

https://stebe.info/2016/11/introduction-junos-pyez/


junos-eznc module documentation:

http://pydoc.net/junos-eznc/2.1.4/jnpr.junos.device/

https://github.com/Juniper/py-junos-eznc