Send kea-dev mailing list submissions to kea-dev@lists.isc.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/kea-dev or, via email, send a message with subject or body 'help' to kea-dev-requ...@lists.isc.org
You can reach the person managing the list at kea-dev-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of kea-dev digest..." Today's Topics: 1. Re: : Reference needed for new parameter addition (Tomek Mrugalski) ---------------------------------------------------------------------- Message: 1 Date: Fri, 10 Aug 2018 19:51:30 +0200 From: Tomek Mrugalski <to...@isc.org> To: kea-dev@lists.isc.org Subject: Re: [kea-dev] : Reference needed for new parameter addition Message-ID: <39434364-bb01-3c74-e19c-e3670a8c1...@isc.org> Content-Type: text/plain; charset=utf-8 On 10.08.2018 13:15, sunil mayya wrote: > I wanted to add new configuration parameter which enables > reconfiguration for the server. If there any?previous merge requests / > commits for reference that would be very useful. Take a look at a recent ticket 5682. It added a new scope and a parameter within it. Your task is simpler, because you don't need to add extra scopes, just a new parameter in existing global scope. The commit you may look at is 4cb3ae1902f433136ef5a6077a7b8c3cf996b5e5. Look at the .yy and .ll changes. You don't need to modify parser_context. You need to modify the code in json_config_parser.cc a bit to store your new parameter. Also, take a look at src/lib/dhcpsrv/parsers/simple_parser6.cc. This is where the defaults are set up. Make sure you compile with --enable-generate-parser and have flex and bison installed. Good luck, Tomek ------------------------------ Subject: Digest Footer _______________________________________________ kea-dev mailing list kea-dev@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-dev ------------------------------ End of kea-dev Digest, Vol 53, Issue 2 **************************************