Thomas Markwalder
d3f60e3f23
[4249] Fixed naming issue in dhcp_test_lib.sh.in
...
src/lib/testutils/dhcp_test_lib.sh.in
renamed kill_processes to kill_processes_by_name
replaced call to kill_pids with call to kill_processes_by_name
2015-12-21 10:14:10 -05:00
Marcin Siodelski
6540d59fc3
[4249] Fixed race conditions when killing kea-lfc.
2015-12-18 17:40:00 +01:00
Marcin Siodelski
9eb61a4468
[master] Merge branch 'trac4230'
2015-12-17 17:45:04 +01:00
Thomas Markwalder
df4a437d95
[master] Added ChangeLog entry 1073 for Github #16,Trac #4237,#4238
2015-12-17 11:41:20 -05:00
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
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
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
Marcin Siodelski
afcbbda770
[4206b] Fixed two typos in the Pkt4 and Pkt6 methods.
trac4241_base
trac4240_base
2015-12-11 16:26:17 +01:00
Marcin Siodelski
cea271d0ee
[4206b] Added unit tests for malfromed client id in getLabel.
2015-12-11 16:13:18 +01:00
Marcin Siodelski
a158b3d5f2
[4206b] Minor updates to the Pkt4::getLabel method.
...
The warning about malformed client-id is separated by a single
space character from the actual label. Also, used stream object
to concatenate label with suffix to be consistent with the
convention used in makeLabel.
2015-12-11 16:11:26 +01:00
Thomas Markwalder
dea9eb2c42
[4216] Fixed up log message
...
Added mention of hosts db to message text for DHCPSRV_MYSQL_HOST_DB_GET_VERSION
2015-12-11 09:03:44 -05:00
Tomek Mrugalski
dc498ad0d7
[4206b] Added unit-tests for too long client-id/DUID.
2015-12-11 15:00:43 +01:00
Tomek Mrugalski
97b5297868
[4206b] Pkt{4,6}::getLabel() methods are now exception safe.
2015-12-11 15:00:15 +01:00
Thomas Markwalder
39525b943c
[4216] Addressed review comments
...
src/lib/dhcpsrv/host_data_source_factory.cc
HostDataSourceFactory::create(const std::string& dbaccess)
- Removed logging from exception throwing conditions
- Minor clean up of the method itself
src/lib/dhcpsrv/dhcpsrv_messages.mes
Removed obsoleted error messages:
DHCPSRV_HOSTDB_NOTYPE
DHCPSRV_UNKNOWN_HOST_DB
2015-12-11 07:00:18 -05:00
Marcin Siodelski
6bc8c1cb7d
Revert "[master] Merge branch 'trac4106'"
...
This reverts commit 8f2a1f8a7a
, reversing
changes made to ed7edadcbd
.
This merge introduced regressions in our build farm and revealed
issues in the DHCP4o6 IPC code. It also revealed some differences
in sockets handling under Linux and BSD. Rather than continue
patching this here, we should work on the branch to resolve all
issues and then merge 1.1.
trac3923a_base
trac4234_base
2015-12-10 23:08:59 +01:00
Marcin Siodelski
b3ae8e4787
[master] Fix compilation issue on RHEL6.
...
Added missing fctnl.h include. Okayed on jabber.
2015-12-10 15:57:52 +00:00
Tomek Mrugalski
2ec7992843
[master] ChangeLog updated.
2015-12-10 14:59:45 +01:00
Tomek Mrugalski
2c94f80e30
[master] Merge branch 'trac4206' (empty DUID/client-id fix)
2015-12-10 13:58:19 +01:00
Tomek Mrugalski
5b9ff9b86d
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
2015-12-10 13:56:38 +01:00