Junos PyEZ is a Python library to remotely manage/automate Junos devices via SSH/Telnet/Serial connections.

Junos PyEZ is designed to provide the same capabilities as a user would have on the Junos CLI, but in an environment built for automation tasks. These capabilities include, but are not limited to:

  • Remote connectivity and management of Junos devices via NETCONF
  • Provide "facts" about the device such as software-version, serial-number, etc.
  • Retrieve "operational" or "run-state" or "configuration" information as Tables/Views
  • Make configuration changes in unstructured and structured ways
  • Provide common utilities for tasks such as secure copy of files and software updates

readthedocs: http://junos-pyez.readthedocs.io/en/latest/index.html

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

videos: https://www.youtube.com/results?search_query=PyEZ