2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

22505 Commits

Author SHA1 Message Date
Marcin Siodelski
c1293f6db7 [4093] Addressed review comments. 2015-11-20 14:59:49 +01:00
Francis Dupont
ac0de4134f [4097a] Rebased and updated trac4097 code (still some comments to address) 2015-11-20 14:41:18 +01:00
Thomas Markwalder
2e47244a98 [master] Added ChangeLog entry 1051 for Trac #4096. trac4097a_base 2015-11-19 15:00:48 -05:00
Thomas Markwalder
d21fd69259 [master] DHCP servers now support client-classes element
Merges in branch 'trac4096'
2015-11-19 14:31:25 -05:00
Thomas Markwalder
b1a10eb28c [4096] Reworded error message 2015-11-19 13:24:48 -05:00
Francis Dupont
df93df3f84 [4096] Removed two spurious extra lines (cut & paste typos) 2015-11-19 17:55:49 +01:00
Shawn Routhier
58275c55fc [trac3990] Add v4 statistics descriptions 2015-11-19 08:54:56 -08:00
Francis Dupont
80b1ee66d2 [4096] Removed @todo and changed Bison for Eval 2015-11-19 17:40:59 +01:00
Marcin Siodelski
b070bb9cb3 [4093] Updated eval section of Developer's Guide. 2015-11-19 16:26:49 +01:00
Thomas Markwalder
ca10116a5d [4096] Added unit test for an blank client class name 2015-11-19 10:21:30 -05:00
Marcin Siodelski
ae94eaf209 [4093] Applying changes to the files generated by bison. 2015-11-19 16:02:07 +01:00
Marcin Siodelski
00effa23d3 [4093] Support for option[123].hex operator. 2015-11-19 15:59:32 +01:00
Thomas Markwalder
5305d4ea4d [4096] Integrated use of Eval expression parsing
src/lib/dhcpsrv/client_class_def.cc
    - updated comment on empty expressions in ctor,
    - cleaned up whitespace

src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    - ExpressionParser::build() - integrated use of Eval
    parsing in ExpressionParser
    - cleaned up whitespace

src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    Updated tests to verify that expressions are actually
    parsed and function.
2015-11-19 09:32:21 -05:00
Marcin Siodelski
eb932d6809 [4093] TokenOption may evaluate using hexadecimal format. 2015-11-19 15:01:08 +01:00
Marcin Siodelski
0d6a66ecfb [4093] Implemented Option::toHexString method. 2015-11-19 14:46:39 +01:00
Thomas Markwalder
60a518e724 [4096] Pull in changes from Francis
Merge branch 'trac4096' of ssh://git.kea.isc.org/git/kea into trac4096
2015-11-19 06:57:57 -05:00
Marcin Siodelski
5ad49c1f75 [4093] Extended TokenOption class ctor with representation type. 2015-11-19 12:52:27 +01:00
Marcin Siodelski
b1cc5e4380 [4093] Use option[123].text rather than option[123] for option text. 2015-11-19 12:41:00 +01:00
Shawn Routhier
8bee85a39e [trac3990] Typo changes
Some suggested changes to tidy up some of the text.
2015-11-18 22:44:05 -08:00
Francis Dupont
7911ff6e2f [4096] Fixed spelling fixes 2015-11-19 01:08:49 +01:00
Francis Dupont
3d663ac34a [4203] Added new fatal class method for yy_fatal_error fix 2015-11-19 00:52:57 +01:00
Francis Dupont
e58c97a735 [4203] Removed the unreachable exit 2015-11-19 00:05:08 +01:00
Thomas Markwalder
02f6c505d1 [4096] Merge branch 'master' into trac4096
Eval library now supports actual parsing.  Need to use it
    in class definition's ExpressionParser.
2015-11-18 15:10:13 -05:00
Thomas Markwalder
668ec9e68f [4096] Addressed review comments
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/lib/dhcpsrv/client_class_def.h
    Fixed spellings and spacing.

src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/tests/Makefile.am
    Move eval lib up in the link order
2015-11-18 15:04:55 -05:00
Francis Dupont
5bb87b1ef4 [4096] speliing 2015-11-18 17:29:36 +01:00
Francis Dupont
5a456a9009 [4096] spaces & spelling 2015-11-18 16:48:03 +01:00
Francis Dupont
5e3af86871 [4096] Added a space for readability 2015-11-18 16:32:15 +01:00
Tomek Mrugalski
8528c46fe3 [3990] User's guide now explains how Decline support works. 2015-11-18 16:31:20 +01:00
Francis Dupont
92aff79502 [4096] Added a space for readability 2015-11-18 16:30:50 +01:00
Francis Dupont
dd9843b528 [4096] spelling 2015-11-18 16:15:44 +01:00
Marcin Siodelski
965e203220 [3874] Described configuration of the server identifier in the User Guide. 2015-11-18 14:18:46 +01:00
Thomas Markwalder
ab2bcf4e9b [master] Added Changelog entry 1050 for #4117. trac4203_base 2015-11-18 07:27:27 -05:00
Thomas Markwalder
034c1c95b5 [master] Swapped ncr-protocol and ncr-format descriptions in Kea Admin Guide
Merged in branch 'trac4117'
2015-11-18 07:09:43 -05:00
Francis Dupont
fa1e32d952 [master] Finished merge of trac4094 (class evaluator) 2015-11-18 09:52:21 +01:00
Marcin Siodelski
2a47967c6f [3874] Fixed string type in open() functions. 2015-11-17 22:07:00 +01:00
Thomas Markwalder
b260200e6f [4096] Move libeval up in lib/Makefile.am
Now that libdhcpsrv depends on libeval, eval must be built first.
2015-11-17 14:33:50 -05:00
Marcin Siodelski
45d78a3d84 [3874] Use generated server identifier in the server. 2015-11-17 20:31:51 +01:00
Marcin Siodelski
93a91c8a9f [3874] Reuse existing DUID if not explicitly specified. 2015-11-17 20:31:51 +01:00
Marcin Siodelski
e5cdb3410b [3874] Use DUID configuration parser in the global configuration. 2015-11-17 20:31:51 +01:00
Marcin Siodelski
9179255412 [3874] Create DUID using the specified configuration. 2015-11-17 20:31:51 +01:00
Marcin Siodelski
a2329d1743 [3874] Added DUID configuration parser. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
fe5f2029df [3874] Added storage class for DUID configuration. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
6172b66dea [3874] Added example configuration for setting up DUID. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
9fac2d5301 [3874] Added DUID configuration to the DHCPv6 server spec. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
3c5e3548bd [3874] Use DUIDFactory class in the DHCPV6 server code. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
8f09433904 [3874] Implemented generation of DUID-EN and DUID-LL. 2015-11-17 20:31:50 +01:00
Marcin Siodelski
d8470a1407 [3874] Added DUID factory class in libdhcp++. 2015-11-17 20:31:50 +01:00
Thomas Markwalder
db990992e4 [4096] kea-dhcp6 now parses client class definitions list
src/bin/dhcp6/json_config_parser.cc
        - createGlobalDhcp6ConfigParser() - creates ClientClassDefListParser
        for "client-classes" element
        - configureDhcp6Server() - runs the ClientClassDefListParser against
        the "client-classes" element

    src/bin/dhcp6/tests/config_parser_unittest.cc
        Added new tests for parsing client class definitions:
        TEST_F(Dhcp6ParserTest, clientClassDictionary)
        TEST_F(Dhcp6ParserTest, invalidClientClassDictionary)

    src/bin/dhcp6/dhcp6.spec
        Added global "client-classes" element
2015-11-17 13:46:02 -05:00
Thomas Markwalder
a419556f01 [4096] kea-dhcp4 now parses client class definitions list
src/bin/dhcp4/json_config_parser.cc
    - createGlobalDhcp4ConfigParser() - creates ClientClassDefListParser
    for "client-classes" element
    - configureDhcp4Server() - runs the ClientClassDefListParser against
    the "client-classes" element

src/bin/dhcp4/tests/config_parser_unittest.cc
    Added new tests for parsing client class definitions:
    TEST_F(Dhcp4ParserTest, clientClassDictionary)
    TEST_F(Dhcp4ParserTest, invalidClientClassDictionary)

src/bin/dhcp4/dhcp4.spec
    Added global "client-classes" element
2015-11-17 13:28:40 -05:00
Thomas Markwalder
559c0a696a [4096] Added client class dictionary to SrvConfig
src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    ClientClassDefListParser::commit() - pushes the newly built local
    dictionary to CfgMgr staging

src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
    Added client class dictionary member to SrvConfig

src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    TEST_F(ClientClassDefListParserTest, simpleValidList) - now
    verifies that ClientClassDefListParser::commit() pushes its
    local dictionary to CfgMgr staging.

src/lib/dhcpsrv/tests/srv_config_unittest.cc
    Added support to test new client class dictionary member
2015-11-17 10:53:05 -05:00