Skip to content

Python/PyEz loop to retrieve junos.facts from a selection of Juniper routers indefinitely during Type Approval Testing for customers

Notifications You must be signed in to change notification settings

axiansdeveloper/netconf-looper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

netconf-looper

Python/PyEz loop to retrieve junos.facts from a selection of Juniper routers indefinitely during Type Approval Testing for customers

Dependencies

  • pprint
  • jnpr.junos (PyEZ)
  • datetime
  • time

Overview

This script is for lab testing only because it contains usernames and passwords.

It connects to port 22 using Netconf and retrieves the facts about a Junos device. It is a pretty basic script that could use refining, but does what it needs. When the facts are retrieved successfully, a message is appended to a log file. This log file can be given to the customer to prove that multiple Netconf connections were made throughout the testing cycle without any exhaustion of memory on the target Junos devices etc.

About

Python/PyEz loop to retrieve junos.facts from a selection of Juniper routers indefinitely during Type Approval Testing for customers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages