2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

332 Commits

Author SHA1 Message Date
Marcin Siodelski
f73fba3cde [master] Merge branch 'trac3180' 2013-10-11 10:57:27 +02:00
Tomek Mrugalski
87b3de01a1 [master] Merge branch 'trac3153' PD support in renew/release
Conflicts:
	src/bin/dhcp6/tests/dhcp6_test_utils.h
2013-10-10 19:01:36 +02:00
Tomek Mrugalski
f42fbaf960 [3153] PD renew and release unit-tests are now passing. 2013-10-08 12:23:54 +02:00
Tomek Mrugalski
a9cd7cf196 [master] Merge branch 'trac3152': PD support in solicit/request
Conflicts:
	ChangeLog
2013-10-07 14:34:27 +02:00
Tomek Mrugalski
be15d12015 [3177] Merge branch 'trac3177' b10-dhcp6 relay traffic UDP port fix.
Conflicts:
	ChangeLog
2013-10-07 14:02:24 +02:00
Tomek Mrugalski
e43c23bc2d [3177] Changes after review
- removed unnecessary filename reference
 - setting Pkt6 fields is now done in a common function
 - methods return shared_ptr instead of raw pointer
2013-10-07 12:26:54 +02:00
Marcin Siodelski
d06b0d68f9 [3180] Implemented support for callback functions to parse options. 2013-10-04 21:17:07 +02:00
Tomek Mrugalski
bec7f21950 [3153] pdReleaseReject unit-test written. 2013-10-04 20:32:41 +02:00
Tomek Mrugalski
a715f62a23 [3153] pdReleaseBasic implemented 2013-10-04 20:04:59 +02:00
Tomek Mrugalski
361505f1c0 [3153] pdRenewReject test implemented. 2013-10-04 19:45:48 +02:00
Tomek Mrugalski
7f464b31a9 [3153] First unit-test for PD renew written 2013-10-04 14:59:39 +02:00
Tomek Mrugalski
23c944640d [3177] Comment update for docsis test with a pointer to #3180 ticket. 2013-10-01 16:55:47 +02:00
Tomek Mrugalski
eee878e781 [3177] Relayed traffic is now being send to the proper port
- Dhcp6Srv fix
 - unit-tests written
 - Added DOCSIS3.0 relayed traffic unit-test
2013-10-01 16:47:00 +02:00
Tomek Mrugalski
1ef8a393e8 [3152] Dhcpv6Srv is now able to allocate prefixes 2013-09-27 12:31:08 +02:00
Tomek Mrugalski
e096608605 [3171] alloc{Address -> Lease} rename, compilation fixes 2013-09-24 11:25:55 +02:00
Tomek Mrugalski
a26a75c948 [3149] Lease6::LeaseType and Pool::PoolType unified. 2013-09-18 15:44:48 +02:00
Tomek Mrugalski
95729b096e [3146] getLease6() methods now have extra param: LeaseType 2013-09-06 14:51:59 +02:00
Marcin Siodelski
51e47dbf6c [3036] Addressed comments from the second review. 2013-08-16 15:36:12 +02:00
Marcin Siodelski
4e902ba369 [3036] Address further review comments. 2013-08-14 13:08:33 +02:00
Marcin Siodelski
646a473854 [3036] Merge branch 'master' into trac3036
Conflicts:
	src/bin/dhcp6/dhcp6_messages.mes
	src/bin/dhcp6/dhcp6_srv.cc
	src/bin/dhcp6/dhcp6_srv.h
	src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
	src/lib/dhcp_ddns/tests/ncr_unittests.cc
	src/lib/dhcpsrv/alloc_engine.cc
	src/lib/dhcpsrv/alloc_engine.h
	src/lib/dhcpsrv/tests/alloc_engine_unittest.cc
2013-08-13 18:59:53 +02:00
Marcin Siodelski
87e43d5dfd [3036] Generate NameChangeRequests for Solicit, Request, Renew and Release. 2013-07-26 17:39:14 +02:00
Tomek Mrugalski
6f304d9ee4 [2984] DHCPv6 hooks tests moved to a separate file. 2013-07-23 13:33:58 +02:00
Tomek Mrugalski
589f61f8a6 [master] Merge branch 'trac2994' (Initial hooks for DHCPv4 server)
Conflicts:
	ChangeLog
	src/bin/dhcp4/dhcp4_messages.mes
	src/bin/dhcp4/dhcp4_srv.cc
	src/bin/dhcp4/dhcp4_srv.h
2013-07-22 18:46:54 +02:00
Marcin Siodelski
76aa17ae5f [3036] Added function to generate NameChangeRequest.
This function is empty now, so it needs to be implemented.
2013-07-22 14:44:14 +02:00
Marcin Siodelski
8c1e879aeb [3036] Added implementation for the FQDN option processing. 2013-07-22 13:13:22 +02:00
Marcin Siodelski
f48a3bff3f [master] Merge branch 'trac1555'
Conflicts:
	src/bin/dhcp6/dhcp6_messages.mes
	src/bin/dhcp6/dhcp6_srv.cc
	src/bin/dhcp6/dhcp6_srv.h
2013-07-22 08:39:06 +02:00
Tomek Mrugalski
01bb436c45 [2994] Minor dhcpv6 corrections:
- not used function removed
 - DHCP6_HOOK_PACKET_RCVD_SKIP message typo fixed
2013-07-16 13:25:31 +02:00
Tomek Mrugalski
d6de376f97 [2995] Subnet6Collection is now passed as pointer to const object 2013-07-12 14:47:51 +02:00
Tomek Mrugalski
14018a4e7e [2995] Changes after review:
- callouts called using HooksManager::callCallouts
- removed Dhcp6Srv::getServerHooks() and getHooksManager() declarations.
- updated sendPacket comment (reception->transmission)
- documented getCalloutHandle()
- indentation fixed for getSubnets6()
2013-07-12 14:28:01 +02:00
Marcin Siodelski
339d60a7b7 [1555] Implemented configuration parameter to select interfaces for DHCPv6. 2013-07-11 10:25:46 +02:00
Tomek Mrugalski
0d98fbf5f9 [2995] Changes after review. 2013-07-10 11:57:43 +02:00
Tomek Mrugalski
682cac0da7 [2995] Hook point registration now matches guide document. 2013-07-09 19:23:05 +02:00
Tomek Mrugalski
19c93b0845 [2995] Merge branch 'trac2980' into trac2995
- Also code updated to match changes from 2980

Conflicts:
	src/lib/hooks/callout_handle.h
2013-07-05 20:24:52 +02:00
Tomek Mrugalski
c6b3ce6d16 [2995] Dhcpv4Srv tests are now passing again. 2013-06-27 14:15:37 +02:00
Tomek Mrugalski
ef242ca52d [2995] Remaining test for subnet6_select implemented. 2013-06-26 17:55:13 +02:00
Tomek Mrugalski
5e4b2f06b8 [2995] First unit-test for subnet6_select hook implemented. 2013-06-26 17:36:48 +02:00
Tomek Mrugalski
cdb34f7deb [2995] Four unit-tests for pkt6_send implemented. 2013-06-26 11:24:07 +02:00
Tomek Mrugalski
328ab84c1d [2995] pkt6_receive callout is now fully tested. 2013-06-25 19:33:02 +02:00
Tomek Mrugalski
eff9543714 [2995] 4 hook points implemented:
- pkt6_receive, subnet6_select, lease6_select, pkt6_send
 - framework updated
 - some unittests implemented
2013-06-21 19:26:54 +02:00
Tomek Mrugalski
04c159afd7 [master] Merge branch 'trac2898' (DHCPv6 relayed traffic)
Conflicts:
	src/lib/dhcp/tests/pkt6_unittest.cc
2013-05-09 17:12:18 +02:00
Tomek Mrugalski
bc6af598cf [2898] pair<a,b> replaced with make_pair 2013-05-08 11:22:40 +02:00
Tomek Mrugalski
a19cdcff7a [2898] First set of changes after review 2013-05-07 19:46:57 +02:00
Stephen Morris
55dd08057c [2467] Miscellaneous minor changes as a result of review 2013-04-30 13:57:22 +01:00
Tomek Mrugalski
b82db9d608 [2898] Support for v6 relayed traffic added. 2013-04-11 14:05:25 +02:00
Thomas Markwalder
88d5e6c5a7 [2721] Added test of post Option6IA fetch in Dhcpv6SrvTest::checkIA_NA()
per review comments.
2013-03-25 13:14:39 -04:00
Thomas Markwalder
03b6bd8461 [2721] Addressed review comments. Corrected spacing, function descriptions,
and replaced use of local variable tmp in checkNakResponse.
2013-03-25 08:13:43 -04:00
Thomas Markwalder
c533897b58 [2721] - The existing tests use the Dhcp6SvrTest test_fixture class. This class provides
functionaliy for conducting tests based upon a canned, preconfigured v6 subnet.
Since the new tests needed to be performed against an "empty" configuration,
I split out the common functionaliy into a base class text fixture, NakedDhcp6SvrTest,
and altered Dhcp6SvrTest to derive from it.   The new base class has no
preconfiguation.  What remains in Dhcp6SvrTest is geared soley towards tests against
a valid, canned, configuration.

The new test_fixture NakedDhcp6SrvTest is used for the following new tests:

    SolicitNoSubnet - checks response to a SOLICT w/o subnet defined
    RequestNoSubnet - checks response to a REQUEST w/o subnet defined
    RenewNoSubnet - checks response to a RENEW w/o subnet defined
    ReleaseNoSubnet - checks response to a RELEASE w/o subnet defined
2013-02-28 12:24:37 -05:00
Stephen Morris
c274bccc9c [2673] Further changes to fix build problems under g++
The previous commit disabled unused parameter warnings in the DHCP
code  when compiling with clang.  g++ picked up some additional
warnings/errors, and this fix corrects those.
2013-01-31 16:03:37 +00:00
Stephen Morris
d117d87200 [2559] Merge branch 'master' into trac2559
Conflicts:
	src/bin/dhcp4/config_parser.cc
	src/bin/dhcp6/config_parser.cc
	src/bin/dhcp6/dhcp6_srv.h
	src/lib/dhcpsrv/dhcpsrv_messages.mes
	src/lib/dhcpsrv/tests/Makefile.am
2013-01-21 20:57:57 +00:00
Tomek Mrugalski
6167f31e01 [master] Merge branch 'trac2597' (server-id is now stored by dhcpv{4,6})
Conflicts:
	ChangeLog
	src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
2013-01-21 13:56:57 +01:00