netdisco-rancid-export - Generate RANCID Group Configuration
This script requires some configuration to be added to your Netdisco "
rancid: rancid_home: /var/lib/rancid down_age: '1 day' by_ip: [ other ] groups: switch: [ 'name:.*[Ss][Ww].*' ] rtr: [ 'name:[rR]tr.*' ] ap: [ 'name:[aA][pP].*' ]
The location to write RANCID Group configuration files into. A subdirectory for each Group will be created.
This should be the same or greater than the interval between regular discover jobs on your network. Devices which have not been discovered within this time will be marked as "
down" to RANCID.
This dictionary maps RANCID Group names with configuration which will match devices in the Netdisco database. The configuration is the same as any of Netdisco's "
*_only" settings, and accepts IP, prefix, device property.
List of RANCID Groups which will have Device IPs written to the RANCID configuration file, instead of DNS or SNMP host names.