Skip to content

a little python script to configure HP ProCurve switches

License

Notifications You must be signed in to change notification settings

991jo/procurve-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

procurve-conf

A little python3 script to configure HP ProCurve switches based on pyserial and pexpect.

This script is intended to be used with a resetted switch via serial. It was tested only with a ProCurve 2824 and on Linux and on Linux.

How to use:

  1. setup your config.py

  2. Power on the switch

  3. plug in serial cable

  4. reset switch (often something with pressing the "reset" and "clear" buttons, take a look into your manual)

  5. start script

    python3 procurve-conf.py <switch_name>

  6. be happy and repeat ;)

todo:

  • clean up the code
  • add some documentation
  • add password setting method
  • write example config
  • requirements.txt
  • Jinja2 Template Support
  • easier configuration for multiple switches
  • config file instead of changing values in the script directly

About

a little python script to configure HP ProCurve switches

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages