Copy&Waste

Posts tagged "ncm"

Spur - Network Configuration Manager

I've been developing a web front-end for tratto.  This front end is called spur and allows you to run commands on any ssh/telnet available device and store the outputs.

  • Web configured cron jobs
  • Any command set
  • Define your own operating systems
  • Run diff's on command outputs
  • Since you can run any command you can do things like backup configurations from cisco routers and switches
  • Get alerts on outputs, diffs, and failures
  • Synatx highlighting

I'm looking to release this for free via github in the near future.  Meanwhile here are some screenshots:

 

 

 

Tagged as cisco , ncm pexpect , spur ssh , telnet
Written by Andrew Konkol on July 30th, 2012 | 0 Comments

Spur Network Configuration Manager Has been released

Spur is a web based network configuration manager. It allows you to ssh or telnet to any device and run commands through a web front-end.The results of these commands are stored and can be diff'd. You can get alerted whenever a diff is found.  You can extend Spur's capabilities by writing your own modules for different types of equipment.

Spur is comprised of:

  • Tratto - a ssh/telenet framework built on-top of pexpect
  • A custom written "cron" which allows you to create and schedule repetitive tasks
  • Customized django skin
  • Cisco syntax highlighting via syntax-highlighter
This project is in beta, I need people to help test.  I have not used spur to configure any network equipment as of right now.

System Requirements

  • Python
  • Django 1.4+
  • Sqlite, mysql, posgres
which python # find out if you have python installed

#django installation
wget http://www.djangoproject.com/m/releases/1.4/Django-1.4.1.tar.gz
tar xzvf Django-1.4.1.tar.gz
cd Django-1.4.1
sudo python setup.py install

#sqlite installation
sudo apt-get install sqlite

Python Requirements

  • django-mptt
  • pexpect
  • croniter
  • pytz
sudo easy_install django-mptt
sudo easy_install pexpect
sudo easy_install croniter
sudo easy_install pytz

Spur Installation

git clone https://github.com/akonkol/spur.git
cd spur

#edit this file to match your enviornment
vi spur/spur_settings.py 

#create an admin user
python manage.py syncdb 
python manage.py runserver 0.0.0.0:8000

#Create a cronjob for spur
crontab -e
* * * * * /path/to/spur/manage.py spur-cron

Browse to spur http://your_fqdn_or_ip:8000

Thanks for checking it out.

Tagged as cisco , django ncm , spur tratto
Written by Andrew Konkol on August 2nd, 2012 | 1 Comments
Copyright © 2021 Andrew Konkol | Contact | Feeds