Skip to content

Flask app web interface for Juniper JSNAPy (Junos Snapshot Administrator)

License

Notifications You must be signed in to change notification settings

jtishey/jsnapy_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsnapy_flask

Flask web app for Juniper JSNAPy (Junos Snapshot Administrator). Allows you to take a before and after snapshots to be used for verifying services after making a change to a Juniper device.

Only tested on Ubuntu/Debian-based Linux distros.

screenshot3


1. Requires python2.7, Flask, flask-wtf, & jsnapy (and their dependencies)

sudo apt-get install build-essential libssl-dev libffi-dev python-dev
sudo pip install jsnapy Flask flask-wtf

2. To run jsnapy_flask

  1. Run with python app.py
  2. Click the settings icon to update the credentials and selected testfiles/location and click Update.
  3. Take a pre-change snapshot by entering a hostnaame/IP, selecting Pre, and clicking Submit.
  4. Take a post-change snapshot by entering the same hostname/IP, selecting Post, and clicking Submit.
    • Once the post snapshot is complete, it will be compared with the pre-change snapshot and output displayed.
    • Green = All tests passed/skipped
    • Red = A test has failed
    • Grey = All test skipped (nothing found to test)
  5. Click on each section to expand tests/details

Settings View

settings_view

See also:

Juniper/JSNAPy:
https://github.com/Juniper/jsnapy

Some test files based on:
https://github.com/maxdevyatov/jsnapy_examples

Flask tutorial:
https://github.com/hellt/PLAZA
http://noshut.ru

About

Flask app web interface for Juniper JSNAPy (Junos Snapshot Administrator)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published