In this vídeo, I show how to automate the prefix-list creation using IRR, PeeringDB API, NETCONF, and pyATS.
Lab repository: https://github.com/renatoalmeidaoliveira/IRR_Automation
Pytanga documentation: https://pytanga.renatooliveira.eng.br/en/latest/
Summary:
00:00 Intro
05:25 Get AS-SET from PeeringDB
08:45 Get Prefixes using BGPq4
13:18 Create Prefix-List NETCONF Payload
24:35 Configuration Validation
26:53 Get Configured Prefixes
31:30 Check installed routes
35:34 Create Installed routes Filter NETCONF Payload
40:00 Dealing with Errors
40:54 Create device backup with NETCONF
42:40 Get latest backup with NETCONF
45:55 Rollback the device with NETCONF
50:45 Automation Process
53:19 Building reusable blocks
58:34 Building the pyATS Script
01:03:07 Running the automation