Francis Dupont
4e42ee425f
[4091] Implemented, need tests
2015-11-03 10:25:17 +01:00
Francis Dupont
97e6332fd0
[4091] Renamed main (cf #4114 )
2015-11-03 09:48:11 +01:00
Francis Dupont
e7026936c6
[4060a] Cleaned up (partially, i.e., keep ugly but working code)
2015-11-03 07:10:38 +01:00
Shawn Routhier
4f44fea70c
Merge branch 'trac4090' Add support for OptionSubstring to the eval code
trac4116_base
2015-11-02 16:40:38 -08:00
Shawn Routhier
d87d517b8e
[trac4090] Update per second set of review comments
...
Remove change log entry as it isn't needed
Update eval log description in user guide.
2015-11-02 16:38:50 -08:00
Shawn Routhier
358927b0a2
[trac4090] Add the forgotten eval_log.c and eval_log.h files
2015-11-02 13:25:34 -08:00
Shawn Routhier
a32f2a2aaa
[trac4090] Setup logger for eval
2015-11-02 13:10:06 -08:00
Shawn Routhier
b36a613740
[trac4090] Update per review comments.
...
Update per the review comments except for the logging
stuff which will be done next.
2015-11-02 11:22:23 -08:00
Thomas Markwalder
d85076b046
[3601] CSVLeaseFile4 and CSVLeaseFile6 now derive from VersionedCSVFile
...
src/lib/dhcpsrv/csv_lease_file4.h
src/lib/dhcpsrv/csv_lease_file4.cc
- CSVLeaseFile4 now derives from VersionedCSVFile
- initializes schema metadata not just column names
- uses VersionedCSVFile methods rather than CSVFile methods
src/lib/dhcpsrv/csv_lease_file6.h
src/lib/dhcpsrv/csv_lease_file6.cc
- CSVLeaseFile6 now derives from VersionedCSVFile
- initializes schema metadata not just column names
- uses VersionedCSVFile methods rather than CSVFile methods
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
- Added new unit tests:
TEST_F(CSVLeaseFile4Test, mixedSchemaload)
TEST_F(CSVLeaseFile4Test, tooFewHeaderColumns)
TEST_F(CSVLeaseFile4Test, invalidHeaderColumn)
TEST_F(CSVLeaseFile4Test, tooManyHeaderColumns)
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
- Added new unit tests:
TEST_F(CSVLeaseFile6Test, mixedSchemaLoad)
TEST_F(CSVLeaseFile6Test, tooFewHeaderColumns)
TEST_F(CSVLeaseFile6Test, invalidHeaderColumn)
TEST_F(CSVLeaseFile6Test, tooManyHeaderColumns)
2015-11-02 11:14:56 -05:00
Thomas Markwalder
a54b110730
[3601] Added isc::util::VersionedCSVFile
...
src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.cc
New files which implement VersionedCSVFile, CSV file which can
support mulitple schema versions
src/lib/util/tests/versioned_csv_file_unittest.h
src/lib/util/tests/versioned_csv_file_unittest.cc
new files for Unit tests for VersionedCSVFile
src/lib/util/Makefile.am
added new files
src/lib/util/csv_file.cc
includes read error message if header fails to validate
src/lib/util/csv_file.h
removed @todo for 3626, no longer applicable
src/lib/util/tests/Makefile.am
added versioned_csv_file_unittest.cc
2015-11-02 10:49:40 -05:00
Francis Dupont
4a91a45e5b
[master] Fixed 4o6subnetInterfaceId for not 64 bit machines (from hackathon94)
trac4113_base
2015-11-02 05:10:45 +01:00
Marcin Siodelski
81467147e2
[master] Use LeaseMgrFactory::instance() rather than constructor.
...
This fixes issues reported by the coverity scans recently.
2015-11-02 12:30:58 +09:00
JINMEI Tatuya
cb1cb8737c
Merge branch 'trac4111'
2015-11-01 11:19:24 +09:00
JINMEI Tatuya
2f163c531a
[4111] constify
2015-11-01 11:02:02 +09:00
Francis Dupont
7f471c9621
[4111] Added an emptyOptionData unit test
2015-11-01 02:10:57 +01:00
Francis Dupont
12063e9660
[4111] Style in checkEmpty
2015-11-01 02:08:58 +01:00
Francis Dupont
cedbc8083e
[3927] Added a defaultSpaceOptionDefTest unit test
2015-11-01 01:41:15 +01:00
Francis Dupont
2a9eaa438e
[3927] Fixed spurious 4 in DHCPv6 guide
2015-11-01 01:14:11 +01:00
JINMEI Tatuya
febee6bc54
[4111] added a test case for an empty Option6AddrLst.
...
also renamed a local variable to coform to coding guideline (don't use
the camel style for variables)
2015-11-01 08:51:51 +09:00
Tomek Mrugalski
89efd6970a
[master] AUTHORS updated after recent changes.
2015-10-31 20:55:34 +09:00
Tomek Mrugalski
042c5348e4
[master] Merge branch 'trac4105' (4o6 configuration parameters)
2015-10-31 20:36:55 +09:00
Tomek Mrugalski
7e2a376081
[4105] Grammar fixed.
2015-10-31 20:34:38 +09:00
Tomek Mrugalski
115a407148
[4105] config parser now uses getOptionalParam() methods.
2015-10-31 20:33:29 +09:00
Tomek Mrugalski
51d5c00f67
[4105] Changes after review:
...
- getters/setters implemented in Cfg4o6.
- extra space removed.
2015-10-31 20:24:04 +09:00
Francis Dupont
5df470d063
[master] Finished trac4027 aka Pkt4o6 merge
trac4110_base
2015-10-31 11:40:42 +01:00
Tomek Mrugalski
104187287c
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
2015-10-31 19:32:06 +09:00
Tomek Mrugalski
4ff6f946cd
[master] Merge remote-tracking branch 'github/master'
2015-10-31 19:31:13 +09:00
JINMEI Tatuya
47a7a6d11f
[4027] removed an unused variable
...
(besides, this type of file-static definition is dangerious - it can lead to
static initialization fiasco).
2015-10-31 19:02:23 +09:00
JINMEI Tatuya
7709b15393
[4027] added some explanatory comments for Pkt4o6::pack().
2015-10-31 19:01:02 +09:00
JINMEI Tatuya
0fe570f5f1
[4027] added some references
2015-10-31 18:57:59 +09:00
JINMEI Tatuya
2accef346a
Merge branch 'trac4027' of github.com:isc-projects/kea into trac4027
...
with resolving conflict (the HEAD version wasn't complete)
src/lib/dhcp/tests/pkt4o6_unittest.cc
2015-10-31 18:49:53 +09:00
Tomek Mrugalski
b8b57816c2
[4027] Minor corrections.
2015-10-31 18:49:07 +09:00
JINMEI Tatuya
1084fad953
[4027] use a single underscore version of uint8_t for consistency
...
(and perhaps the double-underscore version is non-standard)
2015-10-31 18:47:03 +09:00
Francis Dupont
14a8341a46
[master] Merged trac4107 (HCPv4-over-DHCPv6 message and option definitions)
trac4109_base
2015-10-31 09:52:34 +01:00
Tomek Mrugalski
e15b2e1ebc
[4107] Added several comments.
2015-10-31 17:32:28 +09:00
JINMEI Tatuya
3435b6f64d
[4027] added some more comments for tests
2015-10-31 17:22:49 +09:00
JINMEI Tatuya
6b35611c3b
[4027] added unit tests for Pkt4o6Test
...
(with other some small cleanups)
2015-10-31 17:20:25 +09:00
Tomek Mrugalski
f2147a1214
[4107] Minor comments update for options 100-102
2015-10-31 17:19:37 +09:00
Tomek Mrugalski
e648d36192
[4105] Implement 4o6-interface-id parameter.
2015-10-31 16:47:51 +09:00
Francis Dupont
f2717fcc39
[4107] Added new standard options in the guide table
2015-10-31 06:53:34 +01:00
Francis Dupont
bd535576f1
[4107] Added the 2 private options (now update the doc)
2015-10-31 06:35:23 +01:00
Tomek Mrugalski
75f18d0a63
[4105] Subnet4 parser updated to accept 4o6-interface, 4o6-subnet parameters
2015-10-31 14:08:01 +09:00
Francis Dupont
8c1b9097d8
[4107] Ported changes from fd4o6 (so not finished)
2015-10-31 05:47:08 +01:00
JINMEI Tatuya
5fcb4e02c4
[4027] enable DHCP4o6 option macros
2015-10-31 13:46:05 +09:00
Francis Dupont
9d3df95a21
[fd4o6] Adjusted Pkt6 pointer type
2015-10-31 13:30:38 +09:00
JINMEI Tatuya
72ba32da5f
[4027] incorporated part of c0044e3 from fd4o6 branch
...
(not cherry-picking it because the commit has other irrelevant changes)
2015-10-31 13:29:05 +09:00
Francis Dupont
4e77daebb1
[fd4o6] Added DHCPv4-over-DHCPv6 packet class
2015-10-31 13:21:25 +09:00
Tomek Mrugalski
bdd7b963e9
[4105] 4o6 configuration structure, unit-tests implemented
2015-10-31 13:20:31 +09:00
Tomek Mrugalski
41146ec3a5
[4088] Added flex/bison generated files.
2015-10-30 23:55:38 +09:00
Tomek Mrugalski
49814e67e5
[4088] Minor tweaks in lexer.ll
2015-10-30 22:20:12 +09:00