We do something similar - build the prefix lists externally (based on PeeringDB, IRR, RPKI data) and push them with config management on regular intervals. This sort of automated policy architecture is clearly becoming more common, and the drive (see: MANRS) is ever-increasing. I'd really like some sort of dynamic, standard method to achieve this off-box.
It's all open source, available at https://github.com/wolcomm/eos-prefix-list-agent
Very neat indeed! - Tim On Wed, Aug 18, 2021 at 2:45 AM Randy Bush <randy@psg.com> wrote:
for junos, i build the prefix list externally and push config. sad to say, the code is so old ('90s) that it's pearl and uses `peval`. i should fix but (copious spare time) == 0.
originally i tried to also build and push for cisco ios classic, but it died in the push. breathe on the router and it reset bgp sessions. i gather from heas that things are better these years.
i guess i really should have a go at doing it for arcos, but ...
It's all open source, available at https://github.com/wolcomm/eos-prefix-list-agent
very cool.
randy