]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
8 years ago[5110] Addressed review comments part 1
Thomas Markwalder [Wed, 15 Feb 2017 19:57:47 +0000 (14:57 -0500)] 
[5110] Addressed review comments part 1

    Fixed unused parameter errors
    Fixed doxygen errors
    Commentary changes
    Removed reference to .spec file from commentary
    TSIGKeyListParser now uses only one instance of TSIGKeyInfoParser
    src/bin/d2/d2_parser.yy -  added upper limit to port tests
    Updated unit tests to use "example.com"

8 years ago[5110] Minor corrections during review.
Tomek Mrugalski [Wed, 8 Feb 2017 15:00:01 +0000 (16:00 +0100)] 
[5110] Minor corrections during review.

8 years ago[5110] DhcpConfigParser no longer used in libprocess or D2
Thomas Markwalder [Wed, 1 Feb 2017 16:30:41 +0000 (11:30 -0500)] 
[5110] DhcpConfigParser no longer used in libprocess or D2

src/lib/process/d_cfg_mgr.h
src/lib/process/d_cfg_mgr.cc
    DCfgMgrBase::parseElement() - changed to void return
    DCfgMgrBase::createConfigParser() - deleted this method
    DCfgMgrBase::buildParams()
    DCfgMgrBase::buildAndCommit() - now only call parseElement()

src/lib/process/tests/d_cfg_mgr_unittests.cc
    ParseElementMgr, ParseElementMgrTest - deleted, no longer
    relevant

src/lib/process/testutils/d_test_stubs.h
src/lib/process/testutils/d_test_stubs.cc
    ObjectParser - deleted this object
    DStubCfgMgr::createConfigParser() - deleted this method
    DStubCfgMgr::parseElement() - new method which
    replaces functionality formerly in createConfigParser

src/bin/d2/d2_cfg_mgr.cc
src/bin/d2/d2_cfg_mgr.h
    D2CfgMgr::createConfigParser() - deleted this method
    D2CfgMgr::parseElement() - changed to void return,
    and throws on unknown element id

8 years ago[trac5110] regen flex/bison files using flex 2.6.3
Francis Dupont [Wed, 1 Feb 2017 14:29:08 +0000 (14:29 +0000)] 
[trac5110] regen flex/bison files using flex 2.6.3

8 years ago[5110] Merge branch 'trac5110' of ssh://git.kea.isc.org/git/kea into trac5110
Francis Dupont [Wed, 1 Feb 2017 14:26:55 +0000 (15:26 +0100)] 
[5110] Merge branch 'trac5110' of ssh://git.kea.isc.org/git/kea into trac5110

8 years ago[trac5110] regen flex/bison files using flex 2.6.3
Francis Dupont [Wed, 1 Feb 2017 14:23:51 +0000 (14:23 +0000)] 
[trac5110] regen flex/bison files using flex 2.6.3

8 years ago[master] regen flex/bison files using flex 2.6.3
Francis Dupont [Wed, 1 Feb 2017 14:20:20 +0000 (14:20 +0000)] 
[master] regen flex/bison files using flex 2.6.3

8 years ago[5110] yy_scan_bytes -> <prefix>_scan_bytes
Francis Dupont [Wed, 1 Feb 2017 14:16:24 +0000 (15:16 +0100)] 
[5110] yy_scan_bytes -> <prefix>_scan_bytes

8 years ago[5110] Entire D2 configuration is now handled through new parsing scheme
Thomas Markwalder [Tue, 31 Jan 2017 20:28:22 +0000 (15:28 -0500)] 
[5110] Entire D2 configuration is now handled through new parsing scheme

src/bin/d2/d2_cfg_mgr.h
src/bin/d2/d2_cfg_mgr.cc
    "forward-ddns" and "reverse-ddns" are now parsed using SimpleParsers

src/bin/d2/d2_config.h
src/bin/d2/d2_config.cc
    TSIGKeyInfoParser converted to flat style
    DnsServerInfoParser, DnsServerInfoListParser, DdnsDomainParser,
    DdnsDomainListParser, DdnsDomainListMgrParser
    - now all derive from SimpleParser

src/bin/d2/d2_lexer.ll
    Added sub-grammar/contexts for PARSER_TSIG_KEY, PARSER_DDNS_DOMAIN,
    PARSER_DNS_SERVER:

src/bin/d2/d2_parser.yy
    Added "false" tokens for sub-contexts:
        SUB_TSIG_KEY, SUB_TSIG_KEYS, SUB_DDNS_DOMAIN,SUB_DDNS_DOMAINS,
        SUB_DNS_SERVER, SUB_DNS_SERVERS

src/bin/d2/d2_simple_parser.h
src/bin/d2/d2_simple_parser.cc
    Added Defaults:
        TSIG_KEY_DEFAULTS, DDNS_DOMAIN_MGR_DEFAULTS, DDNS_DOMAIN_DEFAULTS,
        DNS_SERVER_DEFAULTS

    D2SimpleParser::setDdnsDomainDefaults()
    D2SimpleParser::setManagerDefaults() - new methods to handle setting
    scalar defaults and defaults of child elements

    D2SimpleParser::setAllDefaults() - now sets defaults for entire D2
    config

parser_context.h
parser_context.cc
    Added parser types:
        PARSER_SUB_DHCPDDNS,
        PARSER_TSIG_KEY,
        PARSER_TSIG_KEYS,
        PARSER_DDNS_DOMAIN,
        PARSER_DDNS_DOMAINS,
        PARSER_DNS_SERVER,
        PARSER_DNS_SERVERS

src/bin/d2/tests/d2_cfg_mgr_unittests.h
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
    Moved all component SimpleParser tests to d2_simple_parser_unittest.cc/h
    Revamped D2CfgMgrTest

src/bin/d2/tests/d2_simple_parser_unittest.h
src/bin/d2/tests/d2_simple_parser_unittest.cc
    Moved component SimpleParser tests here.

src/bin/d2/tests/nc_test_utils.h
src/bin/d2/tests/nc_test_utils.cc
    Moved valid_d2_config global from lib/process/tests to here

src/bin/d2/tests/testdata/d2_cfg_tests.json
    Updated format and error messages

src/lib/process/testutils/d_test_stubs.h
src/lib/process/testutils/d_test_stubs.cc
    Removed valid_d2_config

8 years ago[5110] Adding bison parsing for forward-ddns and reverser-ddns to D2
Thomas Markwalder [Thu, 26 Jan 2017 14:03:15 +0000 (09:03 -0500)] 
[5110] Adding bison parsing for forward-ddns and reverser-ddns to D2

src/bin/d2/d2_lexer.ll
    Added regexp for ddns-domians, key-name,
    dns-servers, hostname

src/bin/d2/d2_parser.yy
    Added tokens and rules for ddns-domains,
    key-name, dns-servers, hostname

src/bin/d2/parser_context.h
src/bin/d2/parser_context.cc
    Added contexts FORWARD_DDNS, REVERSE_DDNS,
    DDNS_DOMAINS, DNS_SERVERS,

src/bin/d2/tests/testdata/d2_cfg_tests.json
    Changed logic-errors to syntax-errors

8 years ago[5110] D2 TSIG key list now uses bison parsing and SimpleParsers
Thomas Markwalder [Wed, 25 Jan 2017 19:22:56 +0000 (14:22 -0500)] 
[5110] D2 TSIG key list now uses bison parsing and SimpleParsers

src/bin/d2/d2_cfg_mgr.cc
    D2CfgMgr::parseElement() - now handles tsig-keys

src/bin/d2/d2_config.h
src/bin/d2/d2_config.cc
    TSIGKeyInfoParser and TSIGKeyInfoListParser now
    derive from SimpleParser

src/bin/d2/d2_lexer.ll
    Added algoritm, digest-bits, secret regexps

src/bin/d2/d2_parser.yy
    Added ALGORITHM, DIGEST_BITS, SECRET tokens
    Added rules for "tsig-keys"

src/bin/d2/parser_context.h
src/bin/d2/parser_context.cc
    Added contexts: TSIG_KEYS, ALGORITHM, DIGEST_BITS, SECRET

src/bin/d2/tests/d2_cfg_mgr_unittests.cc
    Revamped TSIG key tests

src/bin/d2/tests/testdata/d2_cfg_tests.json
    changed appropriate logic-errors to syntax-errors

8 years ago[5110] Clean up D2Params default and default testing
Thomas Markwalder [Tue, 24 Jan 2017 16:59:05 +0000 (11:59 -0500)] 
[5110] Clean up D2Params default and default testing

8 years ago[5110] D2 now uses JSON parsing and SimpleParsers to handle D2 global scalars
Thomas Markwalder [Tue, 24 Jan 2017 15:45:50 +0000 (10:45 -0500)] 
[5110] D2 now uses JSON parsing and SimpleParsers to handle D2 global scalars

new files:
    src/bin/d2/tests/
        d2_simple_parser_unittest.cc
        parser_unittest.cc
        parser_unittest.h

src/bin/d2/d2_cfg_mgr.h
src/bin/d2/d2_cfg_mgr.cc
    D2CfgMgr::parseElement() - overrides base class implementation,
    flag global parameters as parsed without pushing them to D2CfgContext
    value stores

    D2CfgMgr::setCfgDefaults() - overrides base class implementation,
    sets defaults for D2

    D2CfgMgr::buildParams() - revamped to pull parameters from the given
    element map instead of context value stores.  Removed checks that
    are now done by JSON parser.

src/bin/d2/d2_controller.cc
    D2Controller::parseFile() - instead of generic JSON parsing, parse
    file with PARSER_DHCPDDNS context

src/bin/d2/d2_lexer.ll
src/bin/d2/d2_parser.yy
    Changed namespace from dhcp to d2
    Added PARSER_SUB_DHCPDDNS and D2 global parameter parsing
    Added objects for forward-ddns, reverse-ddns, tsig-keys

src/bin/d2/parser_context.cc
src/bin/d2/parser_context.h
    Added PARSER_DHCPDDNS, PARSER_SUB_DHCPDDNS

src/bin/d2/tests/Makefile.am
    Added new test source files

src/bin/d2/tests/d2_cfg_mgr_unittests.cc
src/bin/d2/tests/testdata/d2_cfg_tests.json
    TEST_F(D2CfgMgrTest, configPermutations) - revamped to test JSON parsing
    as well as element parsing

src/bin/d2/tests/parser_unittest.h
src/bin/d2/tests/parser_unittest.cc
    New file that tests basic JSON parsing

src/lib/cc/data.h
    Added parens around TypeError position error text

src/lib/cc/simple_parser.cc
    SimpleParser::setDefaults() - added logic to detect bad lexical casts
    when handling integers

8 years ago[5110] Added support for setting configuration defaults to DCfgMgrBase
Thomas Markwalder [Fri, 20 Jan 2017 13:57:41 +0000 (08:57 -0500)] 
[5110] Added support for setting configuration defaults to DCfgMgrBase

src/lib/process/d_cfg_mgr.h
src/lib/process/d_cfg_mgr.cc
    DCfgMgrBase::setCfgDefaults() - new virtual method so derivations can
    insert default values prior into a configuration

    DCfgMgrBase::parseConfig() - added call to setCfgDefaults() prior to
    calling parseConfig().

8 years ago[5110] Added basic bison parser and SimpleParser to D2
Thomas Markwalder [Thu, 19 Jan 2017 19:23:37 +0000 (14:23 -0500)] 
[5110] Added basic bison parser and SimpleParser to D2

D2 now uses bison parsing to parse its config file and has starter
files for SimpleParser. This check-in uses only generic JSON context
parsing (i.e. no D2 specific grammar).

Added new bison/flex parsing files:
    d2_lexer.ll
    d2_parser.yy
    parser_context.cc
    parser_context.h
    parser_context_decl.h

Added new generated files:
    d2_parser.cc
    d2_parser.h
    location.hh
    position.hh
    stack.hh

Added new SimpleParser related files:
    d2_simple_parser.cc
    d2_simple_parser.h

src/bin/d2/Makefile.am
    Added bison/flex related entries and rules

src/bin/d2/d2_controller.h
src/bin/d2/d2_controller.cc
    D2Controller::parseFile() - new method which overrides base class
    version and calls new bison parsing to parse JSON config file.

8 years ago[5110] Added alternate parsing hooks into DController and DCfgMgrBase
Thomas Markwalder [Thu, 19 Jan 2017 18:57:49 +0000 (13:57 -0500)] 
[5110] Added alternate parsing hooks into DController and DCfgMgrBase

In order to accomodate bison parsing for JSON text and SimpleParser
based element parsing, virtual methods were added to allow derivations
to migrate.

src/lib/process/d_cfg_mgr.h
src/lib/process/d_cfg_mgr.cc
    DCfgMgrBase::parseElement() - new method to allow derivaitons
    to support alternate Element parsers on a element by element basis

    DCfgMgrBase::buildParams()
    DCfgMgrBase::buildAndCommit() - added call to parseElement()

src/lib/process/d_controller.h
src/lib/process/d_controller.cc
    DControllerBase::parseFile() - new method to allow derivations
    to use alternate JSON parsers
    DControllerBase::configFromFile() - added call to parseFile()

8 years ago[master] ChangeLog update after 5019 merge. trac3389_base trac4501_base trac5061_base trac5110_base trac5121_base trac5122_base trac5123_base trac5124_base
Tomek Mrugalski [Thu, 26 Jan 2017 15:36:38 +0000 (16:36 +0100)] 
[master] ChangeLog update after 5019 merge.

8 years ago[5019_rebase] Position printed in the first createSubnet exception
Tomek Mrugalski [Thu, 26 Jan 2017 14:27:05 +0000 (15:27 +0100)] 
[5019_rebase] Position printed in the first createSubnet exception

8 years ago[5019_rebase] New global parser classes documented.
Tomek Mrugalski [Thu, 26 Jan 2017 14:20:08 +0000 (15:20 +0100)] 
[5019_rebase] New global parser classes documented.

8 years ago[5019_rebase] Removed obsolete duplicate_option_warning
Tomek Mrugalski [Thu, 26 Jan 2017 14:19:47 +0000 (15:19 +0100)] 
[5019_rebase] Removed obsolete duplicate_option_warning

8 years ago[5019_rebase] createGlobalDhcpXConfigParser removed
Tomek Mrugalski [Thu, 26 Jan 2017 14:03:47 +0000 (15:03 +0100)] 
[5019_rebase] createGlobalDhcpXConfigParser removed

8 years ago[5019_rebase] Review changes:
Tomek Mrugalski [Thu, 26 Jan 2017 14:00:35 +0000 (15:00 +0100)] 
[5019_rebase] Review changes:
 - RSOOListConfigParser migrated
 - Global parser tweaked (SrvConfig passed as parameter)
 - duplicate_option_warning removed

8 years ago[5019_rebase] Fix after rebase.
Tomek Mrugalski [Thu, 26 Jan 2017 13:26:16 +0000 (14:26 +0100)] 
[5019_rebase] Fix after rebase.

8 years ago[5019] Addressed some (but not all) comments/concerns
Francis Dupont [Thu, 26 Jan 2017 00:26:10 +0000 (01:26 +0100)] 
[5019] Addressed some (but not all) comments/concerns

8 years ago[5019] spelling
Francis Dupont [Wed, 25 Jan 2017 15:18:16 +0000 (16:18 +0100)] 
[5019] spelling

8 years ago[5019] .gitignore tweaked (*~ added)
Tomek Mrugalski [Wed, 25 Jan 2017 13:57:34 +0000 (14:57 +0100)] 
[5019] .gitignore tweaked (*~ added)

8 years ago[5019] subnet defaults implemented, id, rapid-commit params migrated
Tomek Mrugalski [Wed, 25 Jan 2017 13:51:11 +0000 (14:51 +0100)] 
[5019] subnet defaults implemented, id, rapid-commit params migrated

8 years ago[5019] setListDefaults argument constified
Tomek Mrugalski [Wed, 25 Jan 2017 13:45:12 +0000 (14:45 +0100)] 
[5019] setListDefaults argument constified

8 years ago[5019] Global v4/v6 parsers migrated to SimpleParser.
Tomek Mrugalski [Tue, 24 Jan 2017 22:53:07 +0000 (23:53 +0100)] 
[5019] Global v4/v6 parsers migrated to SimpleParser.

8 years ago[5019] @todo added in srv_config.h
Tomek Mrugalski [Tue, 24 Jan 2017 15:30:47 +0000 (16:30 +0100)] 
[5019] @todo added in srv_config.h

8 years ago[5019] SimpleParser methods are now public (used in global parsers)
Tomek Mrugalski [Tue, 24 Jan 2017 15:30:25 +0000 (16:30 +0100)] 
[5019] SimpleParser methods are now public (used in global parsers)

8 years ago[5019] Unit-test fixed.
Tomek Mrugalski [Mon, 23 Jan 2017 15:52:57 +0000 (16:52 +0100)] 
[5019] Unit-test fixed.

8 years ago[5019] Subnet4, Subne6 parsers migrated to SimpleParser
Tomek Mrugalski [Mon, 23 Jan 2017 14:39:49 +0000 (15:39 +0100)] 
[5019] Subnet4, Subne6 parsers migrated to SimpleParser

8 years ago[master] host-database -> hosts-database
Francis Dupont [Wed, 25 Jan 2017 17:24:14 +0000 (18:24 +0100)] 
[master] host-database -> hosts-database

8 years ago[master] Finished merge of trac5097 (migrate pool config) use SimpleParser templates trac5119_base
Francis Dupont [Wed, 25 Jan 2017 15:06:26 +0000 (16:06 +0100)] 
[master] Finished merge of trac5097 (migrate pool config) use SimpleParser templates

8 years ago[master] regen flex/bison files
Francis Dupont [Wed, 25 Jan 2017 14:15:40 +0000 (14:15 +0000)] 
[master] regen flex/bison files

8 years ago[master] Finishing merge of trac5097 (migrate pool config)
Francis Dupont [Wed, 25 Jan 2017 14:14:01 +0000 (15:14 +0100)] 
[master] Finishing merge of trac5097 (migrate pool config)

8 years ago[master] regen flex/bison files
Francis Dupont [Wed, 25 Jan 2017 14:01:27 +0000 (14:01 +0000)] 
[master] regen flex/bison files

8 years ago[master] Finishing merge of trac5096 (migrate database config)
Francis Dupont [Wed, 25 Jan 2017 14:00:15 +0000 (15:00 +0100)] 
[master] Finishing merge of trac5096 (migrate database config)

8 years ago[5096] @todo added about migrating default values to simple parser
Tomek Mrugalski [Wed, 25 Jan 2017 11:55:44 +0000 (12:55 +0100)] 
[5096] @todo added about migrating default values to simple parser

8 years ago[master] spelling
Francis Dupont [Tue, 24 Jan 2017 22:18:58 +0000 (23:18 +0100)] 
[master] spelling

8 years ago[master] spelling
Francis Dupont [Tue, 24 Jan 2017 19:32:40 +0000 (20:32 +0100)] 
[master] spelling

8 years ago[master] regen
Francis Dupont [Tue, 24 Jan 2017 19:18:41 +0000 (20:18 +0100)] 
[master] regen

8 years ago[master] spelling (including in some messages)
Francis Dupont [Tue, 24 Jan 2017 19:07:17 +0000 (20:07 +0100)] 
[master] spelling (including in some messages)

8 years ago[master] spelling (including in a message)
Francis Dupont [Tue, 24 Jan 2017 12:09:40 +0000 (13:09 +0100)] 
[master] spelling (including in a message)

8 years ago[master] spelling
Francis Dupont [Tue, 24 Jan 2017 10:29:22 +0000 (11:29 +0100)] 
[master] spelling

8 years ago[master] spelling
Francis Dupont [Tue, 24 Jan 2017 10:19:53 +0000 (11:19 +0100)] 
[master] spelling

8 years ago[master] Fixed system_messages path (cf github PR#33)
Francis Dupont [Mon, 23 Jan 2017 22:56:37 +0000 (23:56 +0100)] 
[master] Fixed system_messages path (cf github PR#33)

8 years ago[master] spelling
Francis Dupont [Mon, 23 Jan 2017 22:49:57 +0000 (23:49 +0100)] 
[master] spelling

8 years ago[master] Updated COPYING years
Francis Dupont [Mon, 23 Jan 2017 17:14:31 +0000 (18:14 +0100)] 
[master] Updated COPYING years

8 years ago[master] Initialized another variable in D2ClientConfigParser::parse
Francis Dupont [Mon, 23 Jan 2017 17:06:14 +0000 (18:06 +0100)] 
[master] Initialized another variable in D2ClientConfigParser::parse

8 years ago[master] Initialized more variables in D2ClientConfigParser::parse
Francis Dupont [Mon, 23 Jan 2017 13:49:01 +0000 (14:49 +0100)] 
[master] Initialized more variables in D2ClientConfigParser::parse

8 years ago[5096] Use DhcpConfigError only, add locations and a DB backend comment
Francis Dupont [Fri, 20 Jan 2017 13:52:54 +0000 (14:52 +0100)] 
[5096] Use DhcpConfigError only, add locations and a DB backend comment

8 years ago[master] Updated git hash trac102_base trac2358_base trac2688_base trac5010_base trac5019_base trac5053_base trac5070_base trac5071_base trac5113_base
Francis Dupont [Thu, 19 Jan 2017 14:35:09 +0000 (15:35 +0100)] 
[master] Updated git hash

8 years ago[master] regen flex/bison files
Francis Dupont [Thu, 19 Jan 2017 13:40:05 +0000 (13:40 +0000)] 
[master] regen flex/bison files

8 years ago[master] Finishing merge of trac5098 (migrate client class def)
Francis Dupont [Thu, 19 Jan 2017 13:38:51 +0000 (14:38 +0100)] 
[master] Finishing merge of trac5098 (migrate client class def)

8 years ago[5098] Reserved last change (position added by the englobing try/catch)
Francis Dupont [Thu, 19 Jan 2017 13:08:08 +0000 (14:08 +0100)] 
[5098] Reserved last change (position added by the englobing try/catch)

8 years ago[5098] Exception now logs location.
Tomek Mrugalski [Thu, 19 Jan 2017 12:07:53 +0000 (13:07 +0100)] 
[5098] Exception now logs location.

8 years ago[5097] Added a new template for D2ClientConfigParser tools
Francis Dupont [Wed, 18 Jan 2017 11:01:15 +0000 (12:01 +0100)] 
[5097] Added a new template for D2ClientConfigParser tools

8 years ago[5098] Improved checks and unit tests
Francis Dupont [Wed, 18 Jan 2017 01:27:14 +0000 (02:27 +0100)] 
[5098] Improved checks and unit tests

8 years ago[5097] Added an unit test and 2 examples
Francis Dupont [Wed, 18 Jan 2017 00:08:28 +0000 (01:08 +0100)] 
[5097] Added an unit test and 2 examples

8 years ago[5097] Addressed not unit test comments
Francis Dupont [Tue, 17 Jan 2017 23:19:44 +0000 (00:19 +0100)] 
[5097] Addressed not unit test comments

8 years ago[master] Addressed doxygen warnings from #5033 merge
Francis Dupont [Mon, 16 Jan 2017 16:01:12 +0000 (17:01 +0100)] 
[master] Addressed doxygen warnings from #5033 merge

8 years ago[master] regen flex trac5112_base
Francis Dupont [Mon, 16 Jan 2017 13:19:54 +0000 (13:19 +0000)] 
[master] regen flex

8 years ago[master] Tried another way to fix UDP flex overload
Francis Dupont [Mon, 16 Jan 2017 13:19:20 +0000 (14:19 +0100)] 
[master] Tried another way to fix UDP flex overload

8 years ago[master] regen flex
Francis Dupont [Mon, 16 Jan 2017 13:06:21 +0000 (13:06 +0000)] 
[master] regen flex

8 years ago[master] typo (required regen)
Francis Dupont [Mon, 16 Jan 2017 13:05:41 +0000 (14:05 +0100)] 
[master] typo (required regen)

8 years ago[master] regen flex/bison files
Francis Dupont [Mon, 16 Jan 2017 13:02:52 +0000 (13:02 +0000)] 
[master] regen flex/bison files

8 years ago[master] Finished merge of trac5033 (migrate D2client) (tentative fixes)
Francis Dupont [Mon, 16 Jan 2017 13:01:28 +0000 (14:01 +0100)] 
[master] Finished merge of trac5033 (migrate D2client) (tentative fixes)

8 years ago[master] Finished merge of trac5033 (migrate D2client)
Francis Dupont [Mon, 16 Jan 2017 12:49:43 +0000 (13:49 +0100)] 
[master] Finished merge of trac5033 (migrate D2client)

8 years ago[5033] Refactored D2ClientConfigParser
Francis Dupont [Fri, 13 Jan 2017 22:10:40 +0000 (23:10 +0100)] 
[5033] Refactored D2ClientConfigParser

8 years ago[trac5033] regen flex/bison files
Francis Dupont [Fri, 13 Jan 2017 19:11:59 +0000 (19:11 +0000)] 
[trac5033] regen flex/bison files

8 years ago[5033] Ported flex/bison stuff to DHCPv6
Francis Dupont [Fri, 13 Jan 2017 19:10:44 +0000 (20:10 +0100)] 
[5033] Ported flex/bison stuff to DHCPv6

8 years ago[5033] Setup flex/bison (checkpoint - only DHCPv4 done)
Francis Dupont [Fri, 13 Jan 2017 17:08:14 +0000 (18:08 +0100)] 
[5033] Setup flex/bison (checkpoint - only DHCPv4 done)

8 years ago[5033] Fixed defaults and enable-updates=false shortcut problems
Francis Dupont [Fri, 13 Jan 2017 14:28:52 +0000 (15:28 +0100)] 
[5033] Fixed defaults and enable-updates=false shortcut problems

8 years ago[5033] Removed no longer relevant enable-udpates false test
Thomas Markwalder [Fri, 13 Jan 2017 12:05:23 +0000 (07:05 -0500)] 
[5033] Removed no longer relevant enable-udpates false test

D2ClientConfigParser:parse() - removed the enable-updates false
test as it is both irrelevant and broken (map size will never be 1)

8 years ago[5033] Various fixes mostly cosmetic
Francis Dupont [Thu, 12 Jan 2017 22:09:16 +0000 (23:09 +0100)] 
[5033] Various fixes mostly cosmetic

8 years ago[5033] Some fixes (1,2,4 of review)
Francis Dupont [Thu, 12 Jan 2017 20:16:43 +0000 (21:16 +0100)] 
[5033] Some fixes (1,2,4 of review)

8 years ago[master] ChangeLog updated. fdppjson_base
Tomek Mrugalski [Thu, 12 Jan 2017 18:56:56 +0000 (19:56 +0100)] 
[master] ChangeLog updated.

8 years ago[master] Doxygen warnings fixed.
Tomek Mrugalski [Thu, 12 Jan 2017 14:38:43 +0000 (15:38 +0100)] 
[master] Doxygen warnings fixed.

8 years ago[5033] Added exmaple json files with dhcp-ddns, fixed copyrights
Thomas Markwalder [Thu, 12 Jan 2017 13:23:21 +0000 (08:23 -0500)] 
[5033] Added exmaple json files with dhcp-ddns, fixed copyrights

8 years ago[master] Merge branch 'trac5031' (hooks-libraries parser migrated)
Tomek Mrugalski [Thu, 12 Jan 2017 12:49:58 +0000 (13:49 +0100)] 
[master] Merge branch 'trac5031' (hooks-libraries parser migrated)

# Conflicts:
# src/bin/dhcp4/json_config_parser.cc
# src/bin/dhcp6/json_config_parser.cc

8 years ago[5097] Added a check and unit tests against prefix length truncation
Francis Dupont [Thu, 12 Jan 2017 12:12:51 +0000 (13:12 +0100)] 
[5097] Added a check and unit tests against prefix length truncation

8 years ago[5031] Hooks parser now detects if hooksmgr failed to load libraries.
Tomek Mrugalski [Thu, 12 Jan 2017 11:51:48 +0000 (12:51 +0100)] 
[5031] Hooks parser now detects if hooksmgr failed to load libraries.

8 years ago[5097] Added unit tests for bad pools (cf #3956)
Francis Dupont [Thu, 12 Jan 2017 10:37:49 +0000 (11:37 +0100)] 
[5097] Added unit tests for bad pools (cf #3956)

8 years ago[5097] Added unit tests for user-context in min-max pools
Francis Dupont [Thu, 12 Jan 2017 09:42:14 +0000 (10:42 +0100)] 
[5097] Added unit tests for user-context in min-max pools

8 years ago[5097] Improved pd-pools parsing, tentative fix for #3956
Francis Dupont [Thu, 12 Jan 2017 09:13:31 +0000 (10:13 +0100)] 
[5097] Improved pd-pools parsing, tentative fix for #3956

8 years ago[trac5097] regen flex/bison files
Francis Dupont [Thu, 12 Jan 2017 00:57:16 +0000 (00:57 +0000)] 
[trac5097] regen flex/bison files

8 years ago[5097] Added missing user-context map in flex/bison
Francis Dupont [Thu, 12 Jan 2017 00:55:47 +0000 (01:55 +0100)] 
[5097] Added missing user-context map in flex/bison

8 years ago[5097] Migrated (checkpoint as user-context are missing in flex/bison)
Francis Dupont [Thu, 12 Jan 2017 00:14:50 +0000 (01:14 +0100)] 
[5097] Migrated (checkpoint as user-context are missing in flex/bison)

8 years ago[5033] - kea-dhcp6 now uses new D2ClientConfigParser
Thomas Markwalder [Wed, 11 Jan 2017 20:22:30 +0000 (15:22 -0500)] 
[5033] - kea-dhcp6 now uses new D2ClientConfigParser

    src/bin/dhcp6/json_config_parser.cc
        createGlobalDhcp6ConfigParser()
        - added clause to invoke new D2ClientConfigParser to
        set staging config
        - added clause to apply staged D2ClientConfig (formerly done
        by parser commit

    src/bin/dhcp6/parser_context.h
    src/bin/dhcp6/parser_context.cc
        aded PARSER_DHCP_DDNS context

    src/bin/dhcp4/simple_parser6.h
    src/bin/dhcp4/simple_parser6.cc
        defined SimpleParser6::D2_CLIENT_CONFIG_DEFAULTS
        SimpleParser6::setAllDefaults() - now sets defaults
        for D2ClientConfig

    src/bin/dhcp6/tests/d2_unittest.cc
    src/bin/dhcp6/tests/fqdn_unittest.cc
        Updated replace-name-mode values and tests
        (true/false no longer supported)

    doc/guide/dhcp6-srv.xml
        Updated, replace-client-name no longer accepts booleans

8 years ago[5033] - migrated D2ClientConfigParser to SimpleParser, kea-dhcp4 uses it
Thomas Markwalder [Wed, 11 Jan 2017 18:47:39 +0000 (13:47 -0500)] 
[5033] - migrated D2ClientConfigParser to SimpleParser, kea-dhcp4 uses it

src/bin/dhcp4/json_config_parser.cc
    createGlobalDhcp4ConfigParser()
    - added clause to invoke new D2ClientConfigParser to
    set staging config
    - added clause to apply staged D2ClientConfig (formerly done
    by parser commit

src/bin/dhcp4/parser_context.h
src/bin/dhcp4/parser_context.cc
    aded PARSER_DHCP_DDNS context

src/bin/dhcp4/simple_parser4.h
src/bin/dhcp4/simple_parser4.cc
    defined SimpleParser4::D2_CLIENT_CONFIG_DEFAULTS
    SimpleParser4::setAllDefaults() - now sets defaults
    for D2ClientConfig

src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
    Updated replace-name-mode values (true/false no longer supported)

src/lib/dhcpsrv/parsers/dhcp_parsers.h
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
    D2ClientConfig now derives from SimpleParser

src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
    Added a D2ClientConfigPtr member to SrvConfig.

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    Updated tests to set D2 client config defaults

doc/guide/dhcp4-srv.xml
    Updated, replace-client-name no longer accepts booleans

8 years ago[master] Missing ; after class declaration trac4540_base trac5097_base
Francis Dupont [Tue, 10 Jan 2017 22:29:40 +0000 (23:29 +0100)] 
[master] Missing ; after class declaration

8 years ago[master regen flex/bison files
Francis Dupont [Tue, 10 Jan 2017 22:25:58 +0000 (22:25 +0000)] 
[master regen flex/bison files

8 years ago[master] Finished merge of trac5035 (migrate lease expiration config)
Francis Dupont [Tue, 10 Jan 2017 22:24:39 +0000 (23:24 +0100)] 
[master] Finished merge of trac5035 (migrate lease expiration config)

8 years ago[trac5096] regen flex/bison files
Francis Dupont [Tue, 10 Jan 2017 20:39:22 +0000 (20:39 +0000)] 
[trac5096] regen flex/bison files

8 years ago[5096] Added cql database type
Francis Dupont [Tue, 10 Jan 2017 20:38:05 +0000 (21:38 +0100)] 
[5096] Added cql database type

8 years ago[5096] Migrated to Simple (but cql is missing)
Francis Dupont [Tue, 10 Jan 2017 20:33:19 +0000 (21:33 +0100)] 
[5096] Migrated to Simple (but cql is missing)

8 years ago[master] ChangeLog updated.
Tomek Mrugalski [Tue, 10 Jan 2017 15:11:15 +0000 (16:11 +0100)] 
[master] ChangeLog updated.

8 years ago[trac5096] regen flex/bison files
Francis Dupont [Tue, 10 Jan 2017 15:10:17 +0000 (15:10 +0000)] 
[trac5096] regen flex/bison files