peercli is a helper script for managing peerings on our routers.
peerweb is a monitoring component.
pip install peertools
peercli router.host.name --help
peerweb -c path/to/config.py
peercli router.host.name 12345 info 1.2.3.4
peercli router.host.name 77777 summary
- Cisco IOS, Juniper JunOS, RHEL+Quagga
- better peeringdb integration
- support for adding / removing peers
- configurable name mangling
'''
Peering Tools Config
'''
# optinally used to setup remote access on Juniper routers
PUBKEY = '''
ssh-rsa AAAA....Dw== name
'''
# tuples of hostname, ASN, optional password
ROUTERS = [
('host.fqdn.net', 12345), # no password needed
('host2.fqdn.net', 12345, 'password'),
]