Marcin Siodelski
68bfa90266
[3744] Parse lease db after subnets configuration
...
This patch runs the database parser last (after subnets have been parsed).
This allows, for example, to access the subnets staging configuration
when leases are being loaded from disk.
2015-03-17 12:22:14 +01:00
Marcin Siodelski
6ed885b735
[3736] Removed a bunch of unused functions.
2015-03-12 12:01:16 +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
Francis Dupont
2409c6c40b
spelling
2015-01-22 11:28:13 +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
feb21c04b9
[3587] Use CfgSubnets4 object to obtain information about subnets.
2014-10-21 11:23:53 +02: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
Jeremy C. Reed
48cb017161
trivial typo fix in comment
2014-08-11 19:12:37 +00:00
Tomek Mrugalski
d65024a771
[3464] DHCPv4 parsers updated, fix in common parsers.
2014-07-27 21:47:35 -04:00
Marcin Siodelski
7322535564
[master] Merge branch 'master' into trac3336
2014-06-03 19:06:09 +02:00
Tomek Mrugalski
d8ebb8039b
[3399] Bundy controller implemented.
2014-05-21 16:16:18 +02:00