In future this section will contain scripts and programs written to help in networking tasks. They will be accessible from my GitHub account.
An network automation script called PeerPal is currently under development. It’s repository is currently private but it will be available soon.
PeerPal is a python script written to aid in BGP peering configurations.
The script takes in two different ASNs and, reading from the PeeringDB API, will find where the ASNs have common peering points. You can then select from the list which sites you wish to configure peerings for. Having specified the Operating System (IOS/XR) and the shared policy group (peer-group/neighbor-group) it will generate the CLI config needed to paste onto the router to set up the peering.