Marcin Siodelski
97003370e9
[4204] Runtime option definitions created using set/commit process.
2015-11-24 20:26:08 +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
Francis Dupont
3029c65e56
[3927] spurious indents
2015-10-17 21:05:18 +02:00
Marcin Siodelski
0be32c7229
[3975] Unregister timers prior to reconfiguration.
2015-10-12 18:26:11 +02:00
Marcin Siodelski
cfbd62e006
[3974] Attached parser for expired leases processing to global parser.
2015-10-02 15:36:40 +02:00
Tomek Mrugalski
6b10d119c8
[master] Merge branch 'trac3983' (Decline parameters in v4 and v6)
2015-09-08 14:56:57 +02:00
Tomek Mrugalski
cca862a017
[3983] defaults.h moved to src (after Marcin's review)
2015-09-08 14:56:20 +02:00
Tomek Mrugalski
4b379092a7
[3983] Changes after review:
...
- commitGlobalParameters renamed to setGlobalParameters
- const added
- Comments updated
2015-09-02 13:29:56 +02:00
Tomek Mrugalski
91bfb283b0
[3983] Support for 'decline-probation-period' implemented.
2015-08-20 20:51:28 +02:00
Marcin Siodelski
ddb442f78b
[3947] Removed the new-leases-on-renew config parameter.
...
This change removes ability to disable allocation new leases new
Renew/Rebind, specified in RFC7550. The behavior specified in this
RFC is the only supported behavior.
2015-07-30 14:49:21 +02:00
Marcin Siodelski
8564e578c4
[3947] Implemented 'new-leases-on-renew' parameter.
2015-07-13 19:35:28 +02:00
Francis Dupont
408193e6a4
[3919] moved local variables in their block
2015-06-24 12:53:26 +02:00
Thomas Markwalder
e103da1162
[3797] Added support for Control Channel to DHCPv6
...
src/bin/dhcp6/ctrl_dhcp6_srv.cc
ControlledDhcpv6Srv::ControlledDhcpv6Srv()
added CommandMgr init and handler registration
ControlledDhcpv6Srv::~ControlledDhcpv6Srv() {
added CommandMgr shutdown and handler deregistration
src/bin/dhcp6/json_config_parser.cc
- createGlobal6DhcpConfigParser()
added support for "control-socket" element
- configureDhcp6Server()
added logic to configure CommandMgr based on
control-socket configuration element
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
- UnixControlClient - new class that acts as UnixCommandSocket client - CtrlChannelDhcpv6SrvTest - new test fixture for testing a DHCPv6 server
with a Control Channel
- Added the following tests:
TEST_F(CtrlDhcpv6SrvTest, commandsRegistration)
TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelNegative)
TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelShutdown)
TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelStats)
2015-06-18 15:11:22 -04:00
Francis Dupont
7173c099f7
[master] spelling
2015-06-12 16:20:44 +02:00
Marcin Siodelski
a6b6156aaa
[master] Merge branch 'trac3070'
2015-06-11 07:36:59 +02:00
Tomek Mrugalski
d3da062d51
[master] Merge branch 'trac3796' (statistics interface, part 1)
...
Conflicts:
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
2015-06-10 13:36:06 +02:00
Tomek Mrugalski
89c0130ed4
[3796] command_interpreter.cc|h|tests moved: src/lib/config => src/lib/cc
2015-06-10 10:48:24 +02:00
Marcin Siodelski
87d22f85c3
[3070] Parse rapid-commit parameter for subnet6.
2015-06-09 12:35:14 +02:00
Tomek Mrugalski
aa10ecc86f
[3796] ccsession.cc|h renamed to command_interpreter.cc|h
2015-05-20 16:14:41 +02:00
Marcin Siodelski
d21a9b2bd6
[3747] Renamed parameter record-client-id to match-client-id.
...
Also fixed a couple of failing unit tests.
2015-05-13 19:41:48 +02:00
Francis Dupont
f73b5b359d
[master] JSON summary trivial typo
2015-04-18 15:01:25 +02:00
Francis Dupont
ea6e9d166f
[master] remove '#include <config.h' from include files ( #3782 )
2015-04-18 01:39:43 +02:00
Shawn Routhier
480971bab6
[3735] Fix up a number of warnigns in the Doxygen comments.
2015-03-20 12:10:37 -07:00
Marcin Siodelski
4772ee5897
[master] Merge branch 'trac3705'
2015-03-18 19:51:44 +01:00
Shawn Routhier
23d3c6fd7a
[3705] Fix up some typos during review
2015-03-17 14:43:16 -07:00
Marcin Siodelski
81b5979918
[3744] Minor comments update in the JSON parsers.
2015-03-17 12:34:28 +01:00
Marcin Siodelski
b35be4576f
[3744] Lease database parser executed as the last one for DHCPv6 server.
2015-03-17 12:22:54 +01:00
Marcin Siodelski
b55dd296af
[3705] Address review comments.
2015-03-17 10:14:46 +01:00
Marcin Siodelski
6ed885b735
[3736] Removed a bunch of unused functions.
2015-03-12 12:01:16 +01:00
Tomek Mrugalski
4495b7a713
[3705] ""relay-supplied-options" parameter added.
2015-03-03 23:20:13 +01:00
Francis Dupont
2b9665c1a5
[master] v4/v6 typos in comments
2015-02-20 12:43:28 +01:00
Tomek Mrugalski
cfbe13ad05
[master] Merge branch 'trac3565' (host reservations mac+dhcpv6)
...
Conflicts:
src/bin/dhcp6/dhcp6_srv.cc
2015-02-16 20:26:38 +01:00
Tomek Mrugalski
b505c120fb
[3565] Changes after review:
...
- Documentation for reservation-mode added
- spec files updated
- unit-tests for HR no longer use eth0 or eth1
- @todos added when allow_new_leases_in_renewals_ is expected to be used
- HR unit-test no longer uses at()
- Copyright years updated
- getOptionalParam() used when handling reservation-mode
- hrModeFromText() moved to SubnetConfigParser
- hrModeFromText() starts with lowercase and has its documentation expanded
2015-02-16 17:30:15 +01:00
Tomek Mrugalski
34e62083eb
[3565] reservation-mode is now configurable
2015-02-12 19:33:06 +01:00
Marcin Siodelski
e994b57ca4
[3604] Use new interface configuration format where applicable.
...
Also, renamed interface-config to interfaces-config (plural form).
2015-02-09 13:50:17 +01:00
Marcin Siodelski
f783c80336
[3604] Going over the unit test to use the new iface config structure.
2015-02-06 20:36:14 +01:00
Tomek Mrugalski
f643dc9f47
[3554] Configurable MAC sources implemented.
2014-12-16 14:53:57 +01:00
Marcin Siodelski
aacdfadac9
[3628] Host reservation parser is now connected to the subnet parsers.
2014-11-27 15:24:08 +01:00
Marcin Siodelski
043dac653d
[3628] Moved configuration parsers to dhcpsrv/parsers.
2014-11-26 19:23:32 +01:00
Marcin Siodelski
4a5895b993
[3625] Use CfgSubnets6 to obtain subnet information.
2014-10-30 12:44:37 +01:00
Marcin Siodelski
04cb6e8afc
[3589] Option data configuration parsers store parsed data into cfgmgr.
2014-09-30 19:33:28 +02:00
Marcin Siodelski
08c3a4aee4
[3589] Moved subnet-specific option configuration to CfgOption class.
2014-09-30 19:33:28 +02:00
Marcin Siodelski
1bab6f8b6b
[3534] Refactored Configuration to SrvConfig.
...
This change affects many files using the Configuration object and types
derived from it.
2014-09-15 19:27:53 +02:00
Marcin Siodelski
615df6d2fd
[3534] Commit and rollback the staging configuration.
2014-09-02 20:47:10 +02:00
Marcin Siodelski
892a60a777
[3534] Renamed CfgMgr::getCurrent to CfgMgr::getCurrentCfg.
2014-08-29 11:58:46 +02:00
Marcin Siodelski
3b2c3ac043
[3534] Removed CfgMgr::getConfiguration.
2014-08-29 11:19:27 +02:00
Marcin Siodelski
59cd21bb28
[3534] Basic implementation of staging and rolling back configurations.
2014-08-29 09:28:30 +02:00
Marcin Siodelski
05d934f2eb
[3501] Corrected error messages reported when configuration error occurs.
...
Also, removed multiple references to DHCP4_CONFIG_LOAD_FAIL from the
DHCPv4 server and DHCP6_CONFIG_LOAD_FAIL from the DHCPv6 server.
2014-08-25 20:10:39 +02:00
Marcin Siodelski
5763fe88d7
[3477] Report configuration summary when configuration is complete.
...
This change affects DHCP servers and D2.
2014-08-18 18:43:51 +02:00
Tomek Mrugalski
b7fb6a8c3d
[3464] PoolsListParser class added, PoolParser modified, DHCPv6 updated
2014-07-27 21:43:45 -04:00