natesales / pathvector

Declarative routing platform that automates BGP route optimization and control plane configuration with secure and repeatable routing policy.
https://pathvector.io
MIT License
205 stars 25 forks source link

Template & Community inheritance #128

Open ernstjo opened 1 year ago

ernstjo commented 1 year ago

I heavily work with templates but also have a lot of peers and exchanges. So, I create a template for exchange and using that template for all exchanges. But i have exchange or peer specific settings like bgp communities or others. But mostly only one or two additional communities are different than template one. In that case i have to reset the bgp communitites in the peer settings itself. But this makes it not that easy to handle changes of settings from a template perspective (like changing communitites that are used by all).

Is it possible to implement an inheritance of template (template of template) and also a possibility to extend (add additional communities to the list) list like bgp communities from the template. Or is already possible?

natesales commented 1 year ago

Template inheritance isn't currently supported, but a neat idea and will keep this open to track implementation.