egberts / bind9_parser

Bind9 Parser in Python that can process all of ISC Bind configuration files
MIT License
22 stars 7 forks source link

Prepopulate additional non-stated settings with its default value #32

Open egberts opened 2 years ago

egberts commented 2 years ago

Might be more useful if the unstated settings (of named.conf) has its default values and seeded in the final PyParsing object tree.

egberts commented 2 years ago

Probably best done outside of PyParsing effort.

Perhaps as an added .seed_with_defaults Python method added to the bind9_parser Class or something.

egberts commented 2 years ago

Definitely have to be given a version number before default values can be determined, which is to be expected anyway