Skip to content

Rancid REST service is a REST web service to manage rancid configuration remotely.

License

Notifications You must be signed in to change notification settings

ArnesSI/rancid-rest-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rancidd is a REST web service to manage rancid configuration remotely.


Features:
 * Get information on groups and nodes (devices) in rancid
 * Add, modify or delete rancid groups and nodes
 * Get node configuration
 * Save node configuration from submited text value
 * Run rancid for a given node
 * Can encrypt .cloginrc with GPG


Prerequisites:
 * rancid installation
 * NMS::Rancid perl module
 * Arnes password server if you'd like to manage passwords in .cloginrc


Installation:

perl Makefile.pl
make
make install


Usage:

rancidd must run under the same user as rancid itself.

Create a configuration file somewhere it can be read by rancid user. A sample
configuration file is provided with rancidd.

Start rancidd with:

  rancidd --conf_file=/path/to/rancidd.conf

You can test if server is running with:

  wget http://localhost:10680/groups/

You should have a file in your curent directory with your rancid groups in
JSON format.

About

Rancid REST service is a REST web service to manage rancid configuration remotely.

Resources

License

Stars

Watchers

Forks

Packages

No packages published