Tomek Mrugalski
502e648327
[5350] Parsers regenerated.
2017-09-04 13:58:52 +02:00
Tomek Mrugalski
eb57dac13f
[5350] Documentation updated.
2017-09-04 13:58:22 +02:00
Tomek Mrugalski
28558468b2
[5350] User contexts implemented for subnets.
2017-09-04 13:57:23 +02:00
Marcin Siodelski
53bfb9543f
[master] Added ChangeLog entry for #5340 .
trac5124a_base
trac5282_base
2017-08-25 18:20:39 +02:00
Marcin Siodelski
2fdc7efcb8
[master] Merge branch 'trac5340'
2017-08-25 17:38:17 +02:00
Marcin Siodelski
3036e88d4f
[master] Added ChangeLog entry for #5336 .
2017-08-21 20:06:29 +02:00
Marcin Siodelski
db251cb66a
[master] Merge branch 'trac5336'
2017-08-21 19:46:12 +02:00
Marcin Siodelski
d5fbef0914
[5340] Fixed invalid use of Pkt4::setFile and Pkt4::setSname functions.
2017-08-21 14:51:33 +02:00
Thomas Markwalder
33dbf01602
[master] Added ChangeLog 1288 for trac 5315.
2017-08-16 09:10:34 -04:00
Thomas Markwalder
d259f330a1
[5315] Documented subnet_cmds library in the Kea User's Guide
...
Merge branch 'trac5315_rebase'
2017-08-16 09:05:45 -04:00
Thomas Markwalder
98196abcdf
[5315] Wording and whitespace in guide
...
Replaced subnet-ids with subnets, and subnet-id with id in
subnet commands text, and removed trailing whitespace in
doc/guide/hooks.xml
2017-08-15 14:57:11 -04:00
Tomek Mrugalski
0bf132390a
[5315_rebase] Changes after rebase and review:
...
- Renamed SubnetIdIndexTag to avoid collision
- Moved OptionDataParser to option_data_parser.cc|h
- Updated hooks.xml to reflect recent changes
2017-08-15 18:58:04 +02:00
Thomas
eac94fb823
[5336] Fix EAGAIN/EWOULDBLOCK handling in UnixDomainSocket
2017-08-15 11:40:09 -04:00
Thomas Markwalder
e8396cf5bd
[5315] Minor wording edits in doc/guide/hooks.xml
2017-08-15 14:10:59 +02:00
Marcin Siodelski
33c398a71a
[5315] Updated Kea User's Guide with subnet_cmds information.
2017-08-15 14:10:59 +02:00
Marcin Siodelski
03e1804d39
[5315] Added functions that remove subnets from a configuration.
2017-08-15 14:00:56 +02:00
Marcin Siodelski
a43f9155f6
[5315] Option data parser checks for runtime definitions in LibDHCP.
...
Previously, it checked for them in the staging configuration but this is
not going to work for control commands which bypass the staging
configuration step.
2017-08-15 14:00:56 +02:00
Marcin Siodelski
6094638e34
[5315] Check for subnet prefix duplicates when subnet is added.
2017-08-15 14:00:56 +02:00
Marcin Siodelski
5e0bc0d720
[5315] Moved DHCPv4 and DHCPv6 simple parsers to libdhcpsrv.
2017-08-15 14:00:29 +02:00
Marcin Siodelski
0a61518acf
[5315] Moved Subnet parsers from DHCP binaries to libdhcpsrv.
2017-08-15 14:00:29 +02:00
Marcin Siodelski
433313ef4c
[5315] Config Manager now returns non-const pointer to current config.
2017-08-15 13:58:42 +02:00
Thomas Markwalder
c885228d13
[master] Added Changelog entry 1287 for Trac 5324.
2017-08-11 11:10:59 -04:00
Thomas Markwalder
75f148458b
[master] Log rotation now functions and is on by default
...
Merge branch 'trac5324'
2017-08-11 11:08:45 -04:00
Thomas Markwalder
3493d04122
[5324] Upped the default log size to 10MB
2017-08-11 10:26:58 -04:00
Thomas Markwalder
299c452bde
[master] Added Changelog entry 1286 for Trac 5314
2017-08-10 13:57:43 -04:00
Thomas Markwalder
894aeb048b
[master] Added subnet manipulation support
...
Merge branch 'trac5314'
2017-08-10 13:54:51 -04:00
Tomek Mrugalski
fde84942ed
[master] ChangeLog updated after #5280 (lease commands) merge.
2017-08-10 15:51:51 +02:00
Tomek Mrugalski
ac93de2923
[5314] Regenerated get_config unit-tests in dhcp4 and dhcp6
2017-08-10 15:38:14 +02:00
Tomek Mrugalski
b0572c95a8
[5314] Empty status added
...
- it's a copy 5272 code added that's already on master,
but it seems easier to add it on a branch than go through
the whole rebase process.
2017-08-10 15:02:41 +02:00
Tomek Mrugalski
94ff2448c8
[5280] Changes after review:
...
- added missing comments for couple handlers
- duplicated leaseX-update check removed, unit-test added
- added missing parameters in lease_mgr_unitest.cc
- added sanity check for state when adding and updating leases
- not possibly anymore to sneak v4 addresses when v6 is expected
(and vice versa)
2017-08-10 13:51:47 +02:00
Thomas Markwalder
7bbf47ef72
[5280] Wordsmithing on doc/guide/hooks.xml
2017-08-09 14:45:21 -04:00
Thomas Markwalder
cb8fec2766
[5280] A bit of wordsmithing on lease_cmds.dox
2017-08-09 14:02:07 -04:00
Tomek Mrugalski
378a8eda83
[5280] User's Guide for lease_cmds written.
2017-08-09 00:21:06 +02:00
Thomas Markwalder
2e2cb37a35
[5324] Log file rotation now works when configured to do so
...
doc/guide/logging.xml
Updated logging section with more explanation of maxsize and maxver
src/lib/dhcpsrv/logging_info.cc
LoggingInfo::toSpec()
Now sets maxsize and maxver in created spec
src/lib/dhcpsrv/tests/logging_info_unittest.cc
TEST_F(LoggingInfoTest, defaults)
Added checks for default maxsize and maxver
src/lib/dhcpsrv/tests/logging_unittest.cc
LoggingTest:
Added support for log files
TEST_F(LoggingTest, logRotate) - new test the ensures
logs rotate when configured to do so
src/lib/testutils/dhcp_test_lib.sh.in
Added code to remove log lock file. When rotation is enabled,
lock files are automatically enabled.
2017-08-08 11:17:09 -04:00
Tomek Mrugalski
e6bf8498c7
[5280] Doxygen for lease commands added.
2017-08-08 14:40:10 +02:00
Thomas Markwalder
be51c927fe
[5324] Add log rotation test to dhcpsrv lib
...
src/lib/dhcpsrv/tests/logging_unittest.cc
TEST_F(LoggingTest, logRotate) - new test the verifies log rotation works.
2017-08-07 14:34:53 -04:00
Tomek Mrugalski
ffaff5b53a
[5280] lease4-wipe, lease6-wipe commands implemented.
2017-08-07 18:25:27 +02:00
Tomek Mrugalski
574356fa9e
[5280] leaseWipe4,6 implemented in lease managers (base and memfile)
2017-08-07 18:25:27 +02:00
Tomek Mrugalski
d1be21aa57
[5280] leaseX-update, leaseX-del implemented.
2017-08-07 18:25:27 +02:00
Tomek Mrugalski
244d7a3720
[master] lib build order fix, ChangeLog updated after merge.
2017-08-07 15:41:59 +02:00
Tomek Mrugalski
785c2e521b
[master] Merge branch 'trac5272' (lease_cmds hook added)
2017-08-07 15:11:06 +02:00
Francis Dupont
bd8f1b29c1
[master] Updated git hash
2017-08-07 09:56:16 +02:00
Francis Dupont
cef2b630c7
[master] regen
2017-08-07 07:55:00 +00:00
Francis Dupont
3e99671764
[master] Finished merge of trac5241 (always-send)
2017-08-07 09:53:27 +02:00
Francis Dupont
4c7bf159bc
[5241] wording
2017-08-07 09:46:54 +02:00
Tomek Mrugalski
2bda0e203f
[5272] Libs order improved, added missing dependencies, .dox removed
2017-08-04 16:15:49 +02:00
Tomek Mrugalski
c43189719c
[5272] LIB_SO renamed to LEASE_CMDS_LIB_SO
2017-08-04 16:11:19 +02:00
Tomek Mrugalski
392e75023c
[5272] getAddress moved to SimpleParser
2017-08-04 16:04:15 +02:00
Tomek Mrugalski
1300562b43
[5272] Comments improved for handlers and Parameters struct
2017-08-04 15:03:20 +02:00
Tomek Mrugalski
94ab0dd4da
[5272] toElement tests migrated to runToElementTest macro
2017-08-04 15:02:25 +02:00