Hey, I wrote a tiny library to generate bird configurations with python classes. It has no external dependencies and the repository includes some examples. It's in no way perfect or complete and I don't plan to extend it. But maybe it can serve as a base for your own needs. Extending it to support more protocols and options should be fairly easy.
My personal favorite feature is that you can mark any Protocol class instance as a bird template by passing the is_template=True parameter. This template can be reused by passing the name of the template (e.g. "my_template") to the from_template="my_template" parameter of another Protocol class instance.
https://github.com/hw0lff/bird-config-py Have fun! Cheers -- Hendrik
OpenPGP_0x3CA65E9DD6EB319D.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature