Deckard Configuration Generator
Generator for Deckard deckard_genconf.py
is located in examples/deckard/
directory.
As you can see in deckard-data.json
or yanglib-deckard.json
Data Model for Deckard extends the resolvers common model by yang-module cznic-deckard
. This module allows attach the path to .rpl
file and add its contents into the generated configuration file.
Usage
-
Clone and install resolvers-yang package
-
Go to
resolvers-yang/examples/deckard/
-
Edit
deckard-data.json
-
Run
deckard_confgen.py
script with path to your editedJson.
$ python deckar_confgen.py deckard-data.json
Configuration files unbound.rpl
and kresd.conf
will be created in local files.
PS: You can edit paths where configuration files will be created in the script.