2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-24 18:57:41 +00:00

20 Commits

Author SHA1 Message Date
Marcin Siodelski
1d77f223f5 [4320] ClientContext6 now holds information about multiple IAs. 2016-06-04 08:20:07 +02:00
Marcin Siodelski
88da7d9cee [4303] Addressed remaining review comments. 2016-04-27 11:29:14 +02:00
Marcin Siodelski
1f0f7c7d21 [4303] Servers now search for host reservations using any identifier. 2016-04-13 12:05:25 +02:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Tomek Mrugalski
e05819fbce [4217] HostMgr now uses exactly one identifier in get4() query
- Includes fix in AllocEngine6Test ctor, provided by Thomas
2015-12-03 17:47:41 +01:00
Tomek Mrugalski
52de9ac39f [3985] Several minor tweaks, docs updated. 2015-10-02 20:35:02 +02:00
Tomek Mrugalski
39aff6266a [3985] Implemented IPv6 declined lease recovery. 2015-10-01 22:08:58 +02:00
Tomek Mrugalski
d6d0a54375 [3984] Changes after review:
- Added comments in AllocEngine
 - decline message clarified
 - counters are now unsigned
 - several asserts added in unit-tests
 - missing doxygen entry added
2015-10-01 14:04:07 +02:00
Tomek Mrugalski
664ac1eaba [3984] Declined IPv4 leases reclaimation implemented 2015-09-22 20:36:47 +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
6c489c3e41 [3913] Allocation engine extends the lifetime of the lease for Request. 2015-06-26 12:29:25 +02:00
Shawn Routhier
7f5186e35e [3799] Updates per review comments
Change the -NAs and -PDs strings to -nas and -pds to be in line with
the rest of the statistic names

Remove @todo from CfgSubnet6::updateStatistics and CfgSubnet6::removeStatistics
2015-06-19 11:08:22 -07:00
Shawn Routhier
f4963266a4 [3799] Add more tests
Update the documents a bit

Fix up handling reservations from outside the subnet

Add more tests
2015-06-17 20:55:15 -07:00
Marcin Siodelski
b043038e7c [3852] Added traces to the allocation engine. 2015-06-12 14:55:08 +02:00
Marcin Siodelski
e0bbec0e10 [3747] Use client identifier over MAC to get existing client's lease. 2015-05-11 17:14:29 +02:00
Thomas Markwalder
3e09b74567 [3689] Addressed primary review comments
doc/guide/dhcp6-srv.xml
    Updated "Reserving a hostname" section
    (also removed trailing spaces)

src/bin/dhcp6/dhcp6_srv.cc
   corrected test and commentary typo in assignIA_NA
   removed second parameter to renewLeases6() calls

src/bin/dhcp6/dhcp6_srv.h
    updated commentary for createContext()

src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
    AllocEngine::createLease6()
        removed find_host parameter and logic which calls
        findReservation and/or alters context hostname

src/lib/dhcpsrv/tests/alloc_engine_utils.cc
    AllocEngine6Test::renewTest() - added call to
    AllocEngine6Test::findReservation()

src/lib/dhcpsrv/tests/alloc_engine_utils.h
    fixed typo
2015-03-18 15:16:09 -04:00
Thomas Markwalder
5493c96924 [3689] Removed call to findReservation from AllocateEngine::allocateLeases6()
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/alloc_engine.cc
    allocateLeases6()
        - removed find_reservation parameter from allocateLeases6
        - removed logic that called findReservation(), this eliminates
        inadvertanly stomping an already populated host in the context.
        Places burden of doing the reservation lookup always on the caller.

src/bin/dhcp6/dhcp6_srv.cc
    removed obsolete boolean parameter from allocateLeases6 calls

src/lib/dhcpsrv/tests/alloc_engine_utils.h
src/lib/dhcpsrv/tests/alloc_engine_utils.cc
   AllocEngine6Test::findReservation() - new method which calls
   engine's findReservation() and fills in context hostname accordingly.

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    added calls to AlloceEnginetTest::findReservation where needed
2015-03-17 17:19:32 -04:00
Tomek Mrugalski
75030024b9 [3565] Unit-tests written for host reservations by MAC 2015-02-12 20:07:10 +01:00
Tomek Mrugalski
ca5d9cc9a5 [3677] Whitespace cleanup, one method moved .h -> .cc 2015-02-09 19:24:00 +01:00
Tomek Mrugalski
16153c9e76 [3677] alloc_engine_unittest.cc split into serveral smaller files. 2015-02-09 19:16:48 +01:00