python library for generating bird configuration files
Hendrik Wolff
hendrik.wolff at agdsn.me
Sat Feb 15 13:20:18 CET 2025
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x3CA65E9DD6EB319D.asc
Type: application/pgp-keys
Size: 1310 bytes
Desc: OpenPGP public key
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250215/9a2e5574/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250215/9a2e5574/attachment.sig>
More information about the Bird-users
mailing list