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

22653 Commits

Author SHA1 Message Date
Marcin Siodelski
26204c010e [4230] Updated User's Guide per review comment.
Explained that the "duid" parameter is accepted for DHCPv4
reservations but shouldn't be used because will be
misinterpreted.
2015-12-17 15:53:28 +01:00
Thomas Markwalder
f0fb9f35a3 [master] Fixes MySQL InnoDB engine issue, MySQL version bump to 4.1
Merges branch 'trac4237'
2015-12-17 09:20:18 -05:00
Thomas Markwalder
c112be7c66 [4237] Addressed review comments
AUTHORS
    Added pull submitter,https://github.com/isc-projects/kea/pull/16,
    Sebastien Couture.

src/bin/admin/scripts/mysql/dhcpdb_create.mysql
    Fixed "FROm"
2015-12-17 09:05:32 -05:00
Marcin Siodelski
33bb980ff8 [4230] Updated Kea guide that client id based reservations aren't supported. 2015-12-17 13:34:19 +01:00
Marcin Siodelski
1df201142c [master] Added ChangeLog entry for #4236. 2015-12-16 23:15:51 +01:00
Marcin Siodelski
a0574cdab4 [master] Merge branch 'trac4236' 2015-12-16 22:39:30 +01:00
Thomas Markwalder
36e5204eb2 [4237] Fixes #4238, adds lease dump order by, bumps MySQL schema to 4.1
Bumps MySQL schema version from 4.0 to 4.1.

Fixes the issue spelled out in 4238 by adding an entry for hardware
address source of zero. This change was added here to limit the
number of schema version bumps.

Changes the MySQL lease dump functions to order by the lease address.
This ensures the dumps always ordered in a predictable manner.

src/bin/admin/scripts/mysql/upgrade_4.0_to_4.1.sh.in
    New file to upgrade from 4.0 to 4.1

configure.ac
    Added entry for mysql/upgrade_4.0_to_4.1.sh

src/bin/admin/scripts/mysql/Makefile.am
    Added entry form upgrade_4.0_to_4.1.sh

src/bin/admin/scripts/mysql/dhcpdb_create.mysql
    Added insert of HWADDR_SOURCE_UNKNOWN  into lease_hwaddr_source
    Added order by clauses to lease4DumpData and lease6DumpData
    Updated schema version from 4.0 to 4.1

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_test()
        Added test for 4.0 to 4.1 upgrade
        Changed final version check to 4.1
2015-12-16 14:44:16 -05:00
Wlodek Wencel
06a577653e [master] version update 2015-12-16 20:28:09 +01:00
Marcin Siodelski
6d1fbf3ea9 [4236] Updated license text in src/lib/dhcp/dhcp4.h. 2015-12-16 19:44:30 +01:00
Marcin Siodelski
46332c2cae [master] Added ChangeLog entry for #4224. 2015-12-16 19:40:37 +01:00
Marcin Siodelski
94edccc50c [master] Merge branch 'trac4224' 2015-12-16 18:41:45 +01:00
Marcin Siodelski
9a599d5c17 [4224] Addressed review comments.
Minor updates to the commentary for get_pid function.
2015-12-16 18:40:23 +01:00
Marcin Siodelski
3d18318f68 [4236] Updated copyright dates in all files. 2015-12-16 15:28:44 +01:00
Marcin Siodelski
dfe730c773 [4236] Regenerated bison files after license replacement. 2015-12-16 14:03:21 +01:00
Tomek Mrugalski
4f3f0eb44c [master] ChangeLog updated after trac4102 merge. 2015-12-16 13:50:24 +01:00
Tomek Mrugalski
ac33ebf742 [master] Merge branch 'trac4102' (Dev guide updated with client classification) 2015-12-16 13:44:34 +01:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Thomas Markwalder
311d38242c [master] Added ChangeLog entry 1072 for Trac #4247 2015-12-16 07:27:57 -05:00
Thomas Markwalder
27886dadcf [master] Pk6 MAC extraction code now populates HwAddr::source_
Merges in branch 'trac4247'
2015-12-16 07:11:59 -05:00
Francis Dupont
7dc8dc605b [4102] Fixed the substring description 2015-12-16 00:17:42 +01:00
Francis Dupont
153d928436 [4102] Fixed 4 in DHCPv6 doc and 6 in v4 2015-12-16 00:14:09 +01:00
Marcin Siodelski
52bb079ae6 [4224] Removed get_pids function and updated get_pid documentation. 2015-12-15 20:42:36 +01:00
Thomas Markwalder
d7433e8d89 [4247] Pkt6 MAC extraction now sets HWAddr::source_ to the appropriate value
src/lib/dhcp/pkt.cc
    Pkt::getMAC(uint32_t hw_addr_src)
        sets HwAddr.source_ to HWADDR_SOURCE_RAW if appropriate

    Pkt::getMACFromIPv6(const isc::asiolink::IOAddress& addr)
        sets HwAddr.source_ to HWADDR_SOURCE_IPV6_LINK_LOCAL

src/lib/dhcp/pkt6.cc
    Pkt6::getMACFromDUID()
        sets HwAddr.source_ to HWADDR_SOURCE_DUID

    Pkt6::getMACFromIPv6RelayOpt()
        sets HwAddr.source_ to HWADDR_SOURCE_CLIENT_ADDR_RELAY_OPTION;

    Pkt6::getMACFromDocsisModem()         sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_MODEM;

    Pkt6::getMACFromDocsisCMTS()
        sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_CMTS;

    Pkt6::getMACFromRemoteIdRelayOption()
        sets HwAddr.source_ to HWADDR_SOURCE_REMOTE_ID;

src/lib/dhcp/tests/pkt6_unittest.cc
    Added checks for correct HWAddr::source_ values to the following tests:
    TEST_F(Pkt6Test, getMAC)
    TEST_F(Pkt6Test, getMAC)
    TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_direct)
    TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_singleRelay)
    TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_multiRelay)
    TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_singleRelay)
    TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_multipleRelay)
    TEST_F(Pkt6Test, getMACFromDUID)
    TEST_F(Pkt6Test, getMACFromDUID)
    TEST_F(Pkt6Test, getMAC_DOCSIS_Modem)
    TEST_F(Pkt6Test, getMAC_DOCSIS_CMTS)
    TEST_F(Pkt6Test, getMACFromRemoteIdRelayOption)
2015-12-15 14:19:50 -05:00
Tomek Mrugalski
acaa62090b [4102] Removed obsolete enabled_features in configure.ac
- this was used in bind10 for enabling SQLite in auth DNS
2015-12-15 19:42:56 +01:00
Tomek Mrugalski
6c9837796d [4102] Configuration backend info removed from configure.ac 2015-12-15 19:33:18 +01:00
Tomek Mrugalski
cd319cf6f4 [4102] Described client classification in detail
- split classification into several subsections
 - removed text explaining configuration backends
2015-12-15 19:32:59 +01:00
Tomek Mrugalski
08f7986358 [4102] Extended libeval documentation a bit. 2015-12-15 19:30:49 +01:00
Tomek Mrugalski
8081aedabd [4102] Fixed typo in classify.xml 2015-12-15 19:30:28 +01:00
Marcin Siodelski
b9f7b33e0e [4224] Shell tests now use pid files to check if process is running. 2015-12-15 16:32:33 +01:00
Thomas Markwalder
ed80773fde [master] Added ChangeLog entry 1071 for Trac #4216. trac4242_base 2015-12-15 09:24:49 -05:00
Thomas Markwalder
f0e37cd6d4 Merge branch 'trac4216' 2015-12-15 08:32:30 -05:00
Jeremy C. Reed
a8b0a4813b [3872] comment out "DHCP Performance Guide" add dhcpd.8 to See Also
Performance Guide is gone. See ticket #4077.
Also this tool is not kea specific, so reference legacy man page too.
2015-12-14 17:18:20 -06:00
Jeremy C. Reed
f85527d0ab [3872] add commas to See Also list and also mention the Guide 2015-12-14 17:11:22 -06:00
Jeremy C. Reed
07df297ccb [3872] remove duplicate word 2015-12-14 13:45:53 -06:00
Jeremy C. Reed
59185d50af [3872] fix some misspellings 2015-12-14 13:43:23 -06:00
Jeremy C. Reed
eb5cf6ffdd [3872] fix another misspelled word 2015-12-14 13:40:22 -06:00
Jeremy C. Reed
5874543c5a [3872] remove some doubled words 2015-12-14 13:39:36 -06:00
Jeremy C. Reed
df07a86cab [3872] fix misspellings
note some misspellings are in the short description but the log ID
itself is not changed (no spelling issue there)
2015-12-14 13:33:07 -06:00
Shawn Routhier
657c7a0fe6 [master] Update change log entry number and commit tag 2015-12-14 11:22:47 -08:00
Shawn Routhier
69dd98d038 [master] Correct v6 classification examples to use the correct option tag 2015-12-14 11:21:01 -08:00
Jeremy C. Reed
fcf4833670 [3872] fixed many misspelled words
also added a couple commas or missing spaces
2015-12-14 13:18:30 -06:00
Jeremy C. Reed
473baece23 remove double words 2015-12-14 10:35:33 -06:00
Francis Dupont
e5774e21ed [4234] Fixed stats_mgr.h 2015-12-12 00:06:37 +01:00
Francis Dupont
620c903a5c [4234] cleanup 2015-12-11 23:50:51 +01:00
Francis Dupont
55450013dc [4234] Made UnixCommandSocket::receiveHandler visible to doxygen 2015-12-11 22:50:44 +01:00
Francis Dupont
abc52b5b68 [4234] Added doc/images directory 2015-12-11 22:36:50 +01:00
Francis Dupont
86c4e4096b [4234] Fixed the doxygen issue in asiolink 2015-12-11 22:27:43 +01:00
Francis Dupont
64b6fbb6df [4234] Qualified Type in Lease6 constructor 2015-12-11 21:13:00 +01:00
Francis Dupont
464c1cd863 [4234] Missing doxygen fix 2015-12-11 21:07:45 +01:00
Thomas Markwalder
6bd7ac72bc [4237] Added MySQL ENGINE to all table creates, fixed hosts table not dropping
All MySQL text to create tables sets ENGINE to INNODB
MySQL unit tests now reliably drop the "hosts" table

src/bin/admin/scripts/mysql/dhcpdb_create.mysql
    Added "ENGINE = INNODB" table creates where needed

src/bin/admin/scripts/mysql/upgrade_1.0_to_2.0.sh.in
src/bin/admin/scripts/mysql/upgrade_2.0_to_3.0.sh.in
    Added "ENGINE = INNODB" table creates where needed

src/bin/admin/tests/data/mysql.lease6_dump_test.reference.csv
    Reversed order of reference file to match INNODB result

src/bin/admin/tests/dhcpdb_create_1.0.mysql
    Added "ENGINE = INNODB" table creates where needed

src/bin/admin/tests/mysql_tests.sh.in
    Removed unnecessary explicit drop of ipv6_reservations

src/lib/dhcpsrv/tests/mysql_schema.cc
    Added MySQL error output on statement failures

src/lib/dhcpsrv/tests/schema_mysql_copy.h
    const char* destroy_statement[]
        Added statement to turn off referential integrity checks, so all
        tables will get dropped.  "hosts" table was being left behind.

    const char* create_statement[]
        Added "ENGINE = INNODB" table creates where needed
2015-12-11 14:51:18 -05:00