2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

332 Commits

Author SHA1 Message Date
Marcin Siodelski
58a1b31063 [3705] Changes as a result of the second code review. 2015-03-18 19:49:40 +01:00
Shawn Routhier
23d3c6fd7a [3705] Fix up some typos during review 2015-03-17 14:43:16 -07:00
Thomas Markwalder
c387c4ca70 [3689] Added host reservation tests
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
    added tests:
    TEST_F(Dhcpv6SrvTest, hostReservationWithHostName)
    TEST_F(Dhcpv6SrvTest, hostReservationWithoutHostName)

src/bin/dhcp6/tests/dhcp6_test_utils.h
src/bin/dhcp6/tests/dhcp6_test_utils.cc
    Dhcpv6SrvTest::createHost6() - this method was moved
    here from FqdnDhcpv6SrvTest()

src/bin/dhcp6/tests/fqdn_unittest.cc
    added tests:
    TEST_F(FqdnDhcpv6SrvTest, hostnameReservationSuffix)
    TEST_F(FqdnDhcpv6SrvTest, hostnameReservationNoSuffix)
    TEST_F(FqdnDhcpv6SrvTest, hostnameReservationDdnsDisabled)
2015-03-17 15:58:57 -04:00
Marcin Siodelski
d7fb61910f [3705] Minor fixes for the review. 2015-03-17 10:35:52 +01:00
Marcin Siodelski
b55dd296af [3705] Address review comments. 2015-03-17 10:14:46 +01:00
Shawn Routhier
e09a9fe719 [3705] Fix some typos found during the review. 2015-03-10 00:38:55 -07:00
Tomek Mrugalski
20f8fca7e1 [3705] RSOO support added, unit-tests implemented. 2015-03-05 11:07:50 +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
9ce50790c9 [master] Merge branch 'trac3677' (DHCPv6 renewals with reservations)
Conflicts:
	src/lib/dhcpsrv/tests/alloc_engine_unittest.cc
2015-02-13 22:09:55 +01:00
Tomek Mrugalski
afc1fe7f55 [3565] The v6 server is now able to allocate new leases during Renew 2015-02-12 17:43:18 +01:00
Marcin Siodelski
263be04a7f [3604] The CfgIface is returned by a pointer, not reference. 2015-02-10 14:34:07 +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
Tomek Mrugalski
fa6002afdf [3677] Some progress with unit-tests pass-rate. 2015-02-06 11:43:41 +01:00
Tomek Mrugalski
24666be791 [3677] Code for IA_NA renewal moved to AllocEngine 2015-02-06 11:41:28 +01:00
Tomek Mrugalski
4ed28a79d7 [2949] Severl unit-tests for inf-request implemented. 2015-01-27 20:23:29 +01:00
Tomek Mrugalski
bd9f0c66c3 [3553] Changes after review:
- copyright year updated
- comment clarified
- added @todo in Pkt::setHWAddrMember()
- getMACfromDocsis*() don't use intermediate members, will accept
  options with length 1
2015-01-14 12:22:07 +01:00
Tomek Mrugalski
4f6111afdd [3553] PktCaptures added. 2014-12-31 14:08:02 +01:00
Marcin Siodelski
4a5895b993 [3625] Use CfgSubnets6 to obtain subnet information. 2014-10-30 12:44:37 +01:00
Tomek Mrugalski
62409cd953 [3486] DHCPv6 now processed vendor-class option properly. 2014-10-22 15:55:11 +02:00
Marcin Siodelski
f6ea7face8 [3588] Removed the setCfgOptionDef modifier.
The modifications to the staging configuration are performed on the pointer
returned by getCfgOptionDef.
2014-09-17 07:53:50 +02:00
Marcin Siodelski
31a9ba3941 [3588] Implemented CfgOptionDef class to represent user-defined option defs 2014-09-16 17:54:43 +02:00
Marcin Siodelski
c3b0803c9c [3512] DHCP servers now use the IfaceCfg class for selecting interfaces. 2014-08-20 14:59:58 +02:00
Tomek Mrugalski
9e00f75a5a [3464] DHCPv6 unit tests updated. 2014-07-27 22:32:36 -04:00
Tomek Mrugalski
c8899cc4eb [3400] Initial JSON file read support added in b10-dhcp6
- added --with-kea-config=JSON,BIND10 added to configure.ac
- JSON-file config backend added for b10-dhcp6
- Config file can now be read from a JSON file
2014-04-22 15:21:26 +02:00
Marcin Siodelski
58de1eed51 [3232] Merge branch 'master' into trac3232
Conflicts:
	src/bin/dhcp6/dhcp6_messages.mes
	src/bin/dhcp6/dhcp6_srv.cc
	src/bin/dhcp6/dhcp6_srv.h
	src/bin/dhcp6/tests/dhcp6_test_utils.cc
2014-03-12 09:41:05 +01:00
Tomek Mrugalski
dbedf1862b [master] Merge branch 'trac3322' (relay override in client classification)
Conflicts:
	ChangeLog
	src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
2014-02-24 19:20:15 +01:00
Marcin Siodelski
f1a406e4d2 [3232] Implemented support for Rebind. 2014-02-24 19:16:05 +01:00
Tomek Mrugalski
71c8ce2938 [3322] Couple DHCPv6Srv unit-tests cleaned up. 2014-02-20 16:47:48 +01:00
Tomek Mrugalski
4a4c099967 [3322] PktFilter6TestStub implemented. 2014-02-20 16:37:01 +01:00
Tomek Mrugalski
8174421f66 [3322] Changes after review:
- Unit-tests for DHCPv4 now use configure() method.
 - Typo fixed in DHCPv6 unit-tests.
 - Removed, updated comments in cfgmgr
 - Guide updated
2014-02-19 17:54:37 +01:00
Marcin Siodelski
e8cd634195 [3316] Merge branch 'master' into trac3316
Conflicts:
	src/bin/dhcp4/tests/dhcp4_test_utils.h
	src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
	src/bin/dhcp6/tests/dhcp6_test_utils.h
2014-02-18 15:11:27 +01:00
Tomek Mrugalski
c7114baba9 [3316] Vendor class content is now prefixed with VENDOR_CLASS_PREFIX. 2014-02-18 13:49:50 +01:00
Marcin Siodelski
d1c6e7d8b5 [3316] Addressed review comments. 2014-02-17 18:27:49 +01:00
Tomek Mrugalski
6975ad04e8 [3322] Unit-tests for DHCPv4 implemented. 2014-02-13 19:10:18 +01:00
Marcin Siodelski
20784067f5 [3316] Use OptionVendorClass to encapsulate DHCPv6 option 16. 2014-02-13 14:17:03 +01:00
Mukund Sivaraman
670eae8907 Merge branch 'trac2536' 2014-02-11 11:18:09 +05:30
Marcin Siodelski
f665cef1bc [3316] Implemented unit test to cover packet with short Vendor Class. 2014-02-10 15:54:58 +01:00
Tomek Mrugalski
f2c1e775f7 [3274] Changes after review:
- Copyright years updated
 - Minor corrections in BINDX Guide
 - dhcp4.spec relay structure description updated.
 - new unit-test for DHCPv4 client classification added
 - new unit-test for DHCPv6 client classification added
 - fixed Doxygen errors
 - comments for CfgMgr::getSubnet{4,6} updated
2014-02-06 20:40:02 +01:00
Mukund Sivaraman
b0297a13fc [2536] Remove "using namespace" from headers (DHCP code) 2014-02-05 03:14:27 +05:30
Wlodek Wencel
3bd69e9b4a [2892] Merge branch 'trac2892' 2014-01-27 16:49:25 +01:00
Tomek Mrugalski
acc4ba2011 [master] Merge branch 'trac3203' (DHCP client classification, part 1)
Conflicts:
	src/bin/dhcp4/dhcp4_srv.cc
	src/bin/dhcp4/tests/dhcp4_test_utils.h
	src/bin/dhcp6/dhcp6_srv.cc
	src/lib/dhcp/pkt4.cc
	src/lib/dhcp/tests/pkt4_unittest.cc
2014-01-21 15:34:30 +01:00
Wlodek Wencel
ffbbf037b8 [2892] added comments to testServerID unitest 2014-01-16 12:48:10 +01:00
WlodekWencel
caf297138d [2892] Test for testServerID function for couple cases 2014-01-14 19:20:59 +01:00
wlodek
f95358d6ac unitest for testServerid function 2014-01-13 22:11:01 +01:00
Mukund Sivaraman
7607200420 [1283] Remove toText() calls where IOAddress should be used directly 2014-01-07 11:32:31 +05:30
Tomek Mrugalski
71965bcfe5 [3203] v6 vendor class is not intepreted as client class. 2013-12-31 15:09:57 +01:00
Marcin Siodelski
138fa31d02 [3220] Moved DHCPv6 Client FQDN specific tests to a separate file. 2013-11-21 18:02:11 +01:00
Marcin Siodelski
48b7ddcc06 [3220] Bugfix: the FQDN option was not appended to the server's response 2013-11-21 15:07:57 +01:00
Tomek Mrugalski
639db0b57a [3194] Changes after review:
- config parsers updated
 - new unit-tests for vendor options written
 - libdhcp++ cleaned up
 - fixes in option_vendor.cc
 - comments added and cleaned up
2013-10-23 21:23:14 +02:00
Marcin Siodelski
0764a74e46 [3194] Implemented basic vendor options support. 2013-10-22 12:27:07 +02:00