Marcin Siodelski
b5ef2a85bc
[master] Added ChangeLog for #5306 .
2017-09-21 10:57:03 +02:00
Marcin Siodelski
4f2fca69be
[master] Merge branch 'trac5306_rebase'
2017-09-21 09:54:10 +02:00
Francis Dupont
9c8fd7fe7f
[5073a] Added library unit tests
2017-09-21 09:22:54 +02:00
Francis Dupont
743182ec97
[5073a] Main code finished
2017-09-20 22:48:58 +02:00
Francis Dupont
6a4d93f046
[5073a] Code almost finished (still need tests and doc)
2017-09-20 21:33:52 +02:00
Francis Dupont
042c0b6fc8
[5073a] On the right track (still a lot of code and new tests to do)
2017-09-20 16:59:17 +02:00
Tomek Mrugalski
b9bd0152fd
[5306] Added unit-tests for relay-ip address on subnet level.
2017-09-20 12:44:29 +02:00
Tomek Mrugalski
21a2ff4eea
[5306] Couple more unit-test simplifications.
2017-09-20 12:29:59 +02:00
Tomek Mrugalski
8a51ea99b3
[5306] Unit-tests refactored slightly.
2017-09-20 00:44:10 +02:00
Tomek Mrugalski
67aa56fbce
[5606] Minor tweaks in unit-tests, configurations described
2017-09-20 00:43:48 +02:00
Francis Dupont
74b6b67b79
[trac5073a] regen flex/bison
2017-09-19 18:39:17 +00:00
Francis Dupont
adcb7ca489
[5073a] Augmented syntax
2017-09-19 20:37:03 +02:00
Tomek Mrugalski
33152d1401
[5306] Reworked existing and added new unit-tests.
2017-09-19 16:51:22 +02:00
Tomek Mrugalski
e7fde8c463
[5306] unit-tests refactored.
2017-09-19 15:24:23 +02:00
Tomek Mrugalski
9079ba125e
[5306] Changes after review:
...
- max attempts set to 0 in unit-tests (matching production code)
- couple typos
- new unit-test added (selectSharedNetworkByRelayAddressSubnetLevel)
- ClientContext4 is now noncopyable
- unused network parameter removed
2017-09-19 15:24:01 +02:00
Thomas Markwalder
4109a4015b
[master] Added ChangeLog entry 1296 for 5111.
trac5073a_base
2017-09-19 07:50:22 -04:00
Thomas Markwalder
043d17b068
[master] Added a hook point, "command-processed", to kea-dhcp4, kea-dhcp6 servers
...
Merges in branch 'trac5111'
2017-09-19 07:48:09 -04:00
Thomas Markwalder
de79260ade
[5111] Correct segfault in agent unit test
...
src/lib/config/base_command_mgr.h
src/lib/config/base_command_mgr.cc
Moved the hook point registration ouf of the
BaseCommandMgr ctor and into static module space.
2017-09-18 14:33:59 -04:00
Thomas Markwalder
c8d2505871
[master] Added Changelog entry 1296 for trac 5354.
2017-09-18 10:53:36 -04:00
Thomas Markwalder
9881ef6d77
[master] Fixed sporadic segfault when using mysql backend
...
Merges in 5354.
2017-09-18 10:51:12 -04:00
Thomas Markwalder
44592f2737
[5282] Minor word smithing
2017-09-18 07:54:18 -04:00
Marcin Siodelski
ff6d4ebd1d
[5306] Created unit test for shared network selection based on classes.
2017-09-18 12:51:22 +02:00
Marcin Siodelski
521afdb269
[5306] Use match-client-id defined on shared network level.
2017-09-18 12:11:51 +02:00
Marcin Siodelski
65281a78c4
[5306] Updated DHCPv4 server to use shared networks.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
5ef428aff6
[5306] Added stub unit tests for shared networks in DHCPv4.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
8c0a4b5a5c
[5306] Implemented getNextSubnet() including classes.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
6f994e6f6e
[5306] Client contexts now hold multiple hosts.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
c76416e5d4
[5306] Implemented getNextSubnet() function for subnets.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
c27b6b2475
[5306] Client classification for subnets added to allocation engine.
2017-09-18 10:49:49 +02:00
Marcin Siodelski
253936cc9a
[5306] Subnet selection for shared networks implemented.
2017-09-18 10:49:48 +02:00
Marcin Siodelski
4e8ac9fcb7
[5306] Basic IPv4 shared subnets scenarios implemented in alloc engine.
2017-09-18 10:49:48 +02:00
Tomek Mrugalski
18d31ca1da
[master] parsers regenerated
2017-09-18 08:45:31 +00:00
Francis Dupont
6f9e7adad6
[5282] Added a paragraph about kea-shell / stunnel
2017-09-16 12:55:31 +02:00
Tomek Mrugalski
9f71dcc4b8
[5360] Lexer fixed, unit-tests added.
2017-09-15 23:33:08 +02:00
Tomek Mrugalski
67c386b582
[5360] client-class and match-client-id params on shared-network level
2017-09-15 20:00:40 +02:00
Tomek Mrugalski
29dd276bc5
[master] Parsers regenerated on docs
2017-09-14 12:32:09 +02:00
Tomek Mrugalski
99dede5cb4
[master] ChangeLog updated.
2017-09-14 12:20:33 +02:00
Tomek Mrugalski
74b824cc80
[master] Merge branch 'trac5357' (shared network parsers update)
...
# Conflicts:
# src/bin/dhcp4/dhcp4_lexer.cc
# src/bin/dhcp4/dhcp4_parser.cc
# src/bin/dhcp4/dhcp4_parser.h
# src/bin/dhcp6/dhcp6_lexer.cc
# src/bin/dhcp6/dhcp6_parser.cc
# src/bin/dhcp6/dhcp6_parser.h
2017-09-14 12:02:38 +02:00
Marcin Siodelski
f695a3e4bd
[5357] Corrected comments in examples: shared subnet => shared network.
2017-09-14 11:42:46 +02:00
Tomek Mrugalski
6bd5bda8a7
[5357] Bunch of consts added
2017-09-13 23:12:11 +02:00
Tomek Mrugalski
afd983d727
[5357] Config examples improved.
2017-09-13 23:09:24 +02:00
Tomek Mrugalski
4e8bfc7cca
[5357] Parsers renegerated.
2017-09-13 22:23:57 +02:00
Tomek Mrugalski
3e1e56f151
[5357] Addressed comments after review:
...
- many more parameters are now inherited from shared-network to subnet4
- parameters now passed as const reference
- it is no longer possible to specify echo-client-id on shared-network
level (because it's a global parameter)
- example config commented properly
2017-09-13 22:23:20 +02:00
Marcin Siodelski
de94f82ba0
[5357] Corrected some little typos as a result of review.
2017-09-13 14:17:37 +02:00
Tomek Mrugalski
09f3a80583
[5357] Makefile correction
2017-09-13 10:59:40 +02:00
Tomek Mrugalski
cab5c54f64
[5357] examples improved.
2017-09-13 10:58:36 +02:00
Tomek Mrugalski
596625b540
[5357] Bison code regenerated
2017-09-13 10:54:13 +02:00
Tomek Mrugalski
ac3a069271
[5357] Added test for multiple shared-networks
2017-09-13 10:52:57 +02:00
Tomek Mrugalski
86e2aac444
[5357] Examples added to Makefile
2017-09-13 10:51:29 +02:00
Tomek Mrugalski
a5abebaa0f
[5357] Parser for shared-networks in DHCPv6 implemented.
2017-09-13 10:38:27 +02:00