2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 20:47:48 +00:00

22978 Commits

Author SHA1 Message Date
Marcin Siodelski
634cf7a2d4 [4302] Address further review comments.
- cppcheck issues
- Unique index for prefix and prefix length.
2016-04-01 17:44:32 +02:00
Marcin Siodelski
b1ecd2e7ad [4302] Additional indexes added to search for hosts in MySQL. 2016-04-01 09:49:06 +02:00
Stephen Morris
bb60a92508 [4293] Get rid of DHCPSRV_MEMFILE_LFC_UNREGISTER_TIMER_FAILED error message during shutdown
The message may have multiple causes, a shutdown being one of
them.  As the condition leading to the message is benign, the
message has been made a debug message.
2016-03-31 21:29:59 +01:00
Shawn Routhier
ce3d4e3c25 [trac4265] First round of allowing access to v6 relay options via the classification code 2016-03-31 18:48:08 +00:00
Marcin Siodelski
9900e40c3a [4302] MySQL database upgraded to version 4.2.
- Added new table host_identifier_type
- Added foreign key on hosts table referencing
  host_identifier_type
- Indexes on hosts table are now unique
2016-03-31 20:29:20 +02:00
Marcin Siodelski
356f261e36 [4302] Addressed review comments.
- Rename GET_HOST_HWADDR_DUID to GET_HOST_DHCPID
- Fixes and clarifications in doxygen documentation
2016-03-31 13:45:44 +02:00
Marcin Siodelski
497a254512 [4302] Use new functions to retrieve reservations by any identifier. 2016-03-29 16:26:18 +02:00
Marcin Siodelski
f551e0e480 [4302] Refactored host data source classes.
The updated API exposes functions which retrieve hosts
by any identifier and identifier type, rather than DUID
or HW address.
2016-03-24 14:56:36 +01:00
Marcin Siodelski
14cc8ad664 [master] Eliminate doxygen warnings after #4212 and #3696.
Committing on my discretion and with no objections on jabber.
2016-03-24 12:34:43 +01:00
Marcin Siodelski
8c7184577a [master] Added ChangeLog entry for #4212. 2016-03-24 11:46:57 +01:00
Francis Dupont
4b256f80be [master] Updated git hash 2016-03-23 16:47:29 +01:00
Francis Dupont
ba24bd770d [master] Finished merge of trac4267 (final run_one()) 2016-03-23 16:46:35 +01:00
Francis Dupont
2047a44ad5 [master] Merged trac4267 (final run_one()) 2016-03-23 16:42:21 +01:00
Francis Dupont
d6acda356a [4267] Addressed comments 2016-03-23 16:39:44 +01:00
Thomas Markwalder
d8693502eb [master] Added ChangeLog entry 1096 for Trac 4316 2016-03-23 10:54:20 -04:00
Thomas Markwalder
9beca27e3d [master] Primary lease events now log at INFO level
Merges in branch 'trac4316'
2016-03-23 10:34:11 -04:00
Francis Dupont
d92767e4f6 [4268a] Rebased TokenPkt4 code 2016-03-23 15:21:42 +01:00
Francis Dupont
3b5f6d6322 [4268a] Updated and regenerated rebased parser files 2016-03-23 15:00:20 +01:00
Francis Dupont
c5d6c1a644 [4268a] Updated rebased doc 2016-03-23 14:50:23 +01:00
Marcin Siodelski
7948104393 [master] Merge branch 'trac4212' trac4268a_base 2016-03-23 13:51:55 +01:00
Thomas Markwalder
d425c142a7 [4316] Changed primary lease event logging from DEBUG to INFO
src/bin/dhcp4/dhcp4_messages.mes
    - Replaced the word "debug" with "informational" where appropriate

src/bin/dhcp4/dhcp4_srv.cc
    - Changed several lease4_logger messages from DEBUG to INFO
    DHCP4_INIT_REBOOT
    DHCP4_LEASE_ADVERT
    DHCP4_LEASE_ALLOC
    DHCP4_RELEASE
    DHCP4_DECLINE_LEASE

src/bin/dhcp6/dhcp6_messages.mes
    - Replaced the word "debug" with "informational" where appropriate

    - Added two new messages:
    DHCP6_LEASE_RENEW
    DHCP6_PD_LEASE_RENEW

src/bin/dhcp6/dhcp6_srv.cc
    - Changed several lease6_logger messages from DEBUG to INFO
    DHCP6_LEASE_ADVERT
    DHCP6_LEASE_ALLOC
    DHCP6_PD_LEASE_ADVERT
    DHCP6_PD_LEASE_ALLOC
    DHCP6_RELEASE_NA
    DHCP6_RELEASE_PD
    DHCP6_DECLINE_LEASE

    - Dhcpv6Srv::extendIA_NA() - added new log for DHCP6_LEASE_RENEW
    - Dhcpv6Srv::extendIA_PD() - added new log for DHCP6_PD_LEASE_RENEW
2016-03-23 08:28:29 -04:00
Marcin Siodelski
34d21432a4 [4212] Addressed review comments. 2016-03-23 12:29:15 +01:00
Francis Dupont
c54beb5f6e [master] Updated git hash 2016-03-22 17:49:45 +01:00
Francis Dupont
ad1f442ee4 [master] Finished merge of trac4326 (small Coverity fixes) 2016-03-22 17:48:50 +01:00
Francis Dupont
139c1d3018 [master] Merged trac4326 (small Coverity fixes) 2016-03-22 17:46:40 +01:00
Francis Dupont
b9a4336d80 [4326] Changed ULL by an inline cast 2016-03-22 17:45:19 +01:00
Francis Dupont
9f47b6511d [4326] untabified 2016-03-22 17:31:30 +01:00
Shawn Routhier
b079f96f92 [trac4269] add ChangeLog entry 2016-03-21 23:02:51 -07:00
Shawn Routhier
2a01de22f2 [trac4269] Add documentation and test for handling pkt4 as input 2016-03-21 22:56:07 -07:00
Shawn Routhier
72859969fc [trac4269] regen parser.h and parser.cc 2016-03-22 04:53:21 +00:00
Shawn Routhier
f6c8fa1b54 [trac4269] Add unit tests and move the parse code to the right place 2016-03-21 21:50:08 -07:00
Shawn Routhier
ca6962112f [trac4269] Add code for handling constant length fields in DHCPv6 messages 2016-03-22 02:54:04 +00:00
Marcin Siodelski
035843d3b9 [master] Added ChangeLog entry for #4339. 2016-03-21 23:57:03 +01:00
Marcin Siodelski
a065144663 [master] Merge branch 'trac4339a' 2016-03-21 23:45:30 +01:00
Francis Dupont
bb5a6b70fe [4339a] grammar 2016-03-21 22:45:33 +01:00
Marcin Siodelski
a2c08f8317 [4339] Addressed review comments.
- Replace rand() with random()
- Use i++ rather than ++i
2016-03-21 19:17:28 +01:00
Francis Dupont
e1beae1b9e [master] Updated git hash 2016-03-21 15:49:31 +01:00
Francis Dupont
0b7388891e [master] Finished merge of trac4306 (overflow in pkt4::set{File,Name}()) 2016-03-21 15:48:57 +01:00
Francis Dupont
54dc3f7948 [master] Merged trac4306 (overflow in pkt4::set{File,Name}()) 2016-03-21 15:46:24 +01:00
Francis Dupont
9a83f3a12a [4306] Added comments about uninitilaized too big arrays 2016-03-21 15:41:51 +01:00
Marcin Siodelski
feb96847e1 [4339] Fixed issues with hostname generation in new unit test. 2016-03-21 14:07:04 +01:00
Marcin Siodelski
a0e78f7c11 [4339] Corrected issues with updating lease indexes in Memfile. 2016-03-21 13:58:26 +01:00
Tomek Mrugalski
9bd45528fd [4339] Unit-test for updating lease indexes implemented.
Also updated tests for Lease6::toText function.
2016-03-21 13:08:09 +01:00
Francis Dupont
3114642b99 [4326] Fixed CID 1341464 2016-03-19 17:46:37 +01:00
Francis Dupont
ca6f46f317 [4326] Fixed CID 132738[1-4] 2016-03-19 17:42:56 +01:00
Francis Dupont
da131a9b8d [4306] Added/improved unit tests 2016-03-19 16:54:03 +01:00
Marcin Siodelski
0795ac9d0e [master] Removed linking with gtest in libdhcpsrvtest.
This change was okayed on jabber by Thomas. The issue
occurred when static linking was enabled on OSX.

Linking a static lib from statically linked lib causes
various issues and isn't generally considered a good
idea.
trac4339_base trac4248_base
2016-03-18 15:26:26 +01:00
Marcin Siodelski
7cc8a92cce [master] Added ChangeLog entry for #4319. 2016-03-18 12:49:30 +01:00
Marcin Siodelski
069dd7c248 [master] Merge branch 'trac4319' 2016-03-18 12:32:17 +01:00
Marcin Siodelski
b2b3cb0b93 [4319] Updated comments for empty options in host tests. 2016-03-18 12:30:48 +01:00