2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

26976 Commits

Author SHA1 Message Date
Tomek Mrugalski
ea11b24469 [gitlab1] ChangeLog updated 2018-08-21 12:20:42 +02:00
Tomek Mrugalski
4a550247b8 [gitlab3] make distcheck fix 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
672a128641 [gitlab3] configure.ac fix (it works without sysrepo now) 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
3427d99ef6 [gitlab1] shell tests for kea-netconf implemented. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
1740704a3f [gitlab1] pid file, signals support implemented for kea-netconf 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
f1ebc54cea [gitlab1] Makefiles updated 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
b516cf883e [gitlab3] Man pages updated. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
fee5382a0a [gitlab9] Minor aestetic fixed in configure.ac 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
d34e38db89 [gitlab9] Docs updated 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
43a491c55d [gitlab9] Skeleton unit-tests for kea-netconf implemented. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
3aae164d4d [gitlab3] Implemented bare skeleton for kea-netconf 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
f3f2c8be22 [gitlab9] Detection of Sysrepo-cpp implemented. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
6c5f7f3f13 [gitlab9] v4 model renamed. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
e4bdcb9504 [gitlab3] v4 model renamed. 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
ffd2ad47b6 [gitlab3] Imported models from IETF Hackathon 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
30a7dc7a55 Mac address format issue 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
b4da2671a3 Vendor in v4 not mandatory anymore 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
e9e003896e Some other things made optional 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
02d42cd23a One more try ;-) 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
59cc4e5c0b Making hostname-option optional 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
3f2070b1e5 Case removed 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
70e3e6294d Small error corrected 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
5a83c58d2d Minimal v4 example config 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
4d692b7bb3 One more thing made optional 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
38af24cb1f Making some things optional 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
8a38840f2f Initial version of one of v4 example configs 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
b1b4e0dae9 Units change 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
d32e3991f8 Errors corrected 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
4f22442012 Initial version of YANG DHCPv4 server model 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
6e5b5fdc6e - some typos 2018-08-21 12:18:56 +02:00
Piotr Strzy¿ewski
cfefe50a63 Initial version of files for DHCPv4 & YANG 2018-08-21 12:18:56 +02:00
Andrei PAVEL
f9c44b24a8 use pkg-config for sysrepo 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
5419a51f83 [gitlab9] Preparation for cherry-pick 2018-08-21 12:18:56 +02:00
thomson
3ed3b2bc12 .gitignore added. 2018-08-21 12:18:56 +02:00
Razvan Becheriu
8a8e9a8538 add configure parameters for sysrepo 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
85fec0c435 [gitlab9] Minor conflict resolution 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
08b3439495 [gitlab3] Initial Netconf section written in user's guide 2018-08-21 12:18:56 +02:00
Tomek Mrugalski
6abb5e174a initial makefiles and some skeleton code for kea-netconf 2018-08-21 12:18:56 +02:00
Thomas Markwalder
7f351007d1 Merge branch '13-global-host-reservations-task-3-add-v6-support-for-new-hr_global-mode' of gitlab.isc.org:isc-projects/kea into 13-global-host-reservations-task-3-add-v6-support-for-new-hr_global-mode 2018-08-20 14:59:05 -04:00
Thomas Markwalder
ac87dd2585 [#13,!6] - Added unit tests to bin/dhcp6 to verify global HRs
src/bin/dhcp6/tests/dhcp6_test_utils.cc
    Minor mods to emit configuration/parsing errors

src/bin/dhcp6/tests/host_unittest.cc
    HostTest::sarrTest() - new function for testing a
    SARR that should result in a lease

    TEST_F(HostTest, globalReservationsNA)
    TEST_F(HostTest, globalReservationsPD) - new tests
    to verify global HRs
2018-08-20 14:46:07 -04:00
Francis Dupont
e57a011986 [master] Avoid unused warnings 2018-08-17 21:36:00 +02:00
Thomas Markwalder
2a90f95de0 [#13,!6] allocation engine modifications to support v6 global host reservations
src/lib/dhcpsrv/alloc_engine.cc
    New functions:
        AllocEngine::ClientContext6::globalHost()
        AllocEngine::ClientContext6::hasGlobalReservation()
        AllocEngine::findGlobalReservation()
        AllocEngine::allocateGlobalReservedLeases6()

    Modified functions:
        AllocEngine::ClientContext6::currentHost() - modified to take
        into account a global host

        AllocEngine::findReservation() - modified to use findGlobalReservation()
        AllocEngine::allocateLeases6() - modified to use allocateGlobalReservation()
        AllocEngine::removeNonmatchingReservedLeases6() - modified to
        retain global reservations

        AllocEngine::extendLease6() - modified to bypass range and client
        mismatch disqualification for global reservations

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    TEST_F(AllocEngine6Test, globalHostDynamicAddress)
    TEST_F(AllocEngine6Test, globalHostReservedAddress)
    TEST_F(AllocEngine6Test, globalHostReservedPrefix)

src/lib/dhcpsrv/tests/alloc_engine_utils.cc
    testStatistics() - changed to test against SUBNET_ID_UNSUSED

src/lib/dhcpsrv/tests/alloc_engine_utils.h
    testStatistics() - changed subnet_id default
2018-08-17 14:32:45 -04:00
Thomas Markwalder
7cb7013bfb [#13,!6] allocation engine modifications to support v6 global host reservations
src/lib/dhcpsrv/alloc_engine.cc
    New functions:
        AllocEngine::ClientContext6::globalHost()
        AllocEngine::ClientContext6::hasGlobalReservation()
        AllocEngine::findGlobalReservation()
        AllocEngine::allocateGlobalReservedLeases6()

    Modified functions:
        AllocEngine::ClientContext6::currentHost() - modified to take
        into account a global host

        AllocEngine::findReservation() - modified to use findGlobalReservation()
        AllocEngine::allocateLeases6() - modified to use allocateGlobalReservation()
        AllocEngine::removeNonmatchingReservedLeases6() - modified to
        retain global reservations

        AllocEngine::extendLease6() - modified to bypass range and client
        mismatch disqualification for global reservations

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    TEST_F(AllocEngine6Test, globalHostDynamicAddress)
    TEST_F(AllocEngine6Test, globalHostReservedAddress)
    TEST_F(AllocEngine6Test, globalHostReservedPrefix)

src/lib/dhcpsrv/tests/alloc_engine_utils.cc
    testStatistics() - changed to test against SUBNET_ID_UNSUSED

src/lib/dhcpsrv/tests/alloc_engine_utils.h
    testStatistics() - changed subnet_id default
2018-08-17 14:27:57 -04:00
Francis Dupont
be5a6dd431 [master] missing reference in catch 2018-08-17 10:21:22 +02:00
Francis Dupont
561753ac8e [master] Avoid unwanted fallthrough 2018-08-17 10:20:26 +02:00
Francis Dupont
8d906b588a Replaced gitlab issue number by merge request one. 2018-08-16 12:05:21 -04:00
Francis Dupont
ee391e2c7c [master] Update git hash 2018-08-16 16:02:24 +02:00
Francis Dupont
a8c385e150 [master] Finishing merge of gitlab#11 (keactrl version on macOS) 2018-08-16 16:01:27 +02:00
Francis Dupont
f7bf2223dd [11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] updated Changelog before merge 2018-08-16 15:57:35 +02:00
Francis Dupont
a34b690491 [11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] spurious extra space 2018-08-16 15:37:09 +02:00