]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
9 years ago[4125] Fixed variable init (BTW a false positive as ctx.error throws)
Francis Dupont [Sat, 14 Nov 2015 20:54:29 +0000 (21:54 +0100)] 
[4125] Fixed variable init (BTW a false positive as ctx.error throws)

9 years ago[4125] Made the parser target dependent on --enable-generate-parser
Francis Dupont [Sat, 14 Nov 2015 19:17:01 +0000 (20:17 +0100)] 
[4125] Made the parser target dependent on --enable-generate-parser

9 years ago[master] Added *.hh files as sources
Francis Dupont [Sat, 14 Nov 2015 18:18:38 +0000 (19:18 +0100)] 
[master] Added *.hh files as sources

9 years ago[master] Restored *.hh timestamps trac4201_base
Francis Dupont [Sat, 14 Nov 2015 14:28:01 +0000 (15:28 +0100)] 
[master] Restored *.hh timestamps

9 years ago[master] Changed *.hh timestamps
Francis Dupont [Sat, 14 Nov 2015 14:27:30 +0000 (15:27 +0100)] 
[master] Changed *.hh timestamps

9 years ago[master] Minor fix to configure.ac
Francis Dupont [Sat, 14 Nov 2015 14:23:00 +0000 (15:23 +0100)] 
[master] Minor fix to configure.ac

9 years ago[master] Updated git hash
Francis Dupont [Sat, 14 Nov 2015 14:10:58 +0000 (15:10 +0100)] 
[master] Updated git hash

9 years ago[master] Finished merge of trac4088 (client classification expression parser)
Francis Dupont [Sat, 14 Nov 2015 14:09:06 +0000 (15:09 +0100)] 
[master] Finished merge of trac4088 (client classification expression parser)

9 years ago[master] Merged trac4088 (client classification expression parser)
Francis Dupont [Sat, 14 Nov 2015 14:06:22 +0000 (15:06 +0100)] 
[master] Merged trac4088 (client classification expression parser)

9 years ago[4088] Merged trac4088fd private branch
Francis Dupont [Sat, 14 Nov 2015 14:03:35 +0000 (15:03 +0100)] 
[4088] Merged trac4088fd  private branch

9 years ago[4088fd] Added a generated date comment to avoid the "no commit because unchanged...
Francis Dupont [Sat, 14 Nov 2015 07:39:27 +0000 (08:39 +0100)] 
[4088fd] Added a generated date comment to avoid the "no commit because unchanged" #4125 issue

9 years ago[4088fd] Changed the syntax to unquote integers
Francis Dupont [Fri, 13 Nov 2015 15:53:23 +0000 (16:53 +0100)] 
[4088fd] Changed the syntax to unquote integers

9 years ago[4088fd] Added protection against integer overflow trac4088fd_before_unquote
Francis Dupont [Fri, 13 Nov 2015 15:16:23 +0000 (16:16 +0100)] 
[4088fd] Added protection against integer overflow

9 years ago[4088fd] cleanup grammar (indent, no untyped)
Francis Dupont [Fri, 13 Nov 2015 15:01:32 +0000 (16:01 +0100)] 
[4088fd] cleanup grammar (indent, no untyped)

9 years ago[master] ChangeLog for trac3259 trac4121_base
Stephen Morris [Thu, 12 Nov 2015 12:50:53 +0000 (12:50 +0000)] 
[master] ChangeLog for trac3259

9 years ago[master] Merge branch 'trac3259'
Stephen Morris [Thu, 12 Nov 2015 12:48:30 +0000 (12:48 +0000)] 
[master] Merge branch 'trac3259'

9 years ago[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Francis Dupont [Wed, 11 Nov 2015 21:55:38 +0000 (22:55 +0100)] 
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea

9 years ago[master] Trivial comment fix
Francis Dupont [Wed, 11 Nov 2015 21:55:18 +0000 (22:55 +0100)] 
[master] Trivial comment fix

9 years ago[master] Added ChangeLog entry 1046 for #3601
Thomas Markwalder [Wed, 11 Nov 2015 20:24:43 +0000 (15:24 -0500)] 
[master] Added ChangeLog entry 1046 for #3601

9 years ago[master] Removed periods from log messages
Thomas Markwalder [Wed, 11 Nov 2015 20:19:38 +0000 (15:19 -0500)] 
[master] Removed periods from log messages

    src/lib/dhcpsrv/dhcpsrv_messages.mes

9 years ago[master] MemfileLeaseMgr now supports upgrading/downgrading lease files
Thomas Markwalder [Wed, 11 Nov 2015 19:58:12 +0000 (14:58 -0500)] 
[master] MemfileLeaseMgr now supports upgrading/downgrading lease files

    Merged in branch 'trac3601'

9 years ago[3601] More review comments
Thomas Markwalder [Wed, 11 Nov 2015 19:55:57 +0000 (14:55 -0500)] 
[3601] More review comments

Minor log message and comment wording

9 years ago[master] Added ChangeLog entry 1045 for #4095 trac4097_base
Thomas Markwalder [Wed, 11 Nov 2015 16:23:44 +0000 (11:23 -0500)] 
[master] Added ChangeLog entry 1045 for #4095

9 years ago[4088fd] Removed unused File functions
Francis Dupont [Wed, 11 Nov 2015 16:13:54 +0000 (17:13 +0100)] 
[4088fd] Removed unused File functions

9 years ago[master] Added client class storgae classes to libdhcpsrv
Thomas Markwalder [Wed, 11 Nov 2015 16:05:28 +0000 (11:05 -0500)] 
[master] Added client class storgae classes to libdhcpsrv

    Merged in #4095.

9 years ago[master] Added a check on rcode avoiding unused errors
Francis Dupont [Wed, 11 Nov 2015 16:02:12 +0000 (17:02 +0100)] 
[master] Added a check on rcode avoiding unused errors

9 years ago[4095] reindent
Francis Dupont [Wed, 11 Nov 2015 15:21:04 +0000 (16:21 +0100)] 
[4095] reindent

9 years ago[4095] spelling & co
Francis Dupont [Wed, 11 Nov 2015 15:11:15 +0000 (16:11 +0100)] 
[4095] spelling & co

9 years ago[4095] spelling
Francis Dupont [Wed, 11 Nov 2015 15:01:01 +0000 (16:01 +0100)] 
[4095] spelling

9 years ago[3601] Addressed additional review comments
Thomas Markwalder [Wed, 11 Nov 2015 14:59:40 +0000 (09:59 -0500)] 
[3601] Addressed additional review comments

doc/guide/admin.xml
src/lib/dhcpsrv/dhcpsrv_messages.mes
src/lib/dhcpsrv/lease_file_loader.h
    minor clean up, typos

src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
    removed unnecessary use of scoped_ptr

src/lib/util/csv_file.cc
    CSVRow::trim() - replaced use of std::vector<>::erase with resise

src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.cc
    VersionedCSVFile::next() - reorganized to use input_schema_state_
    VersionedCSVFile::columnCountError() - new convenience method
    minor cleanups

9 years ago[master] Updated git hash (forgotten)
Francis Dupont [Wed, 11 Nov 2015 14:56:56 +0000 (15:56 +0100)] 
[master] Updated git hash (forgotten)

9 years ago[4088fd] Moved option code range check to the parser, freeing INTEGER tokens
Francis Dupont [Wed, 11 Nov 2015 14:33:00 +0000 (15:33 +0100)] 
[4088fd] Moved option code range check to the parser, freeing INTEGER tokens

9 years ago[master] Merge remote-tracking branch 'github/master'
Stephen Morris [Wed, 11 Nov 2015 14:08:25 +0000 (14:08 +0000)] 
[master] Merge remote-tracking branch 'github/master'

Merged in change made to GitHub for ticket trac4111.

9 years ago[master] Finished merge of trac4060a (Kea multi-threaded)
Francis Dupont [Wed, 11 Nov 2015 12:52:55 +0000 (13:52 +0100)] 
[master] Finished merge of trac4060a (Kea multi-threaded)

9 years ago[master] Merged trac4060a (Kea multi-threaded)
Francis Dupont [Wed, 11 Nov 2015 12:50:07 +0000 (13:50 +0100)] 
[master] Merged trac4060a (Kea multi-threaded)

9 years ago[4095] Implemented new classes for storing client class definitions
Thomas Markwalder [Tue, 10 Nov 2015 20:40:00 +0000 (15:40 -0500)] 
[4095] Implemented new classes for storing client class definitions

src/lib/dhcpsrv/client_class_def.cc
src/lib/dhcpsrv/client_class_def.h
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
    New files that define client class storage classes and tests

src/lib/dhcp/classify.h
    Amended commentary to reflect how these classes are now being used.

src/lib/dhcp/option.h
    Added typedefs:
        boost::shared_ptr<Option> OptionPtr;
        boost::shared_ptr<OptionCollection> OptionCollectionPtr;

src/lib/dhcpsrv/Makefile.am
    Added entries for new files

src/lib/dhcpsrv/tests/Makefile.am
    Added entries for new file

src/lib/eval/token.h b/src/lib/eval/token.h
    Added typedef:
        boost::shared_ptr<Expression> ExpressionPtr;

9 years ago[3601] Addressed review comments, added ability to downgrade
Thomas Markwalder [Tue, 10 Nov 2015 14:20:44 +0000 (09:20 -0500)] 
[3601] Addressed review comments, added ability to downgrade

Several minor cleanup items based on review comments.  Implemented
support for downgrading files from newer schema versions:

doc/guide/admin.xml
    amended text on upgrading memfile to discuss downgrading

src/lib/dhcpsrv/dhcpsrv_messages.mes
src/lib/dhcpsrv/lease_file_loader.h
    revamped log messages to accomodate downgrading

src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/memfile_lease_mgr.h
    added commentary to MemfileLeaseMgr ctor
    automatic conversion logic accomdates both upgrading and downgrading

src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
    replaced tooManyHeaderColumns test with downGrade test

src/lib/util/csv_file.h
src/lib/util/csv_file.cc
    added CSVRow::trim()

src/lib/util/tests/csv_file_unittest.cc
    added CSVRow.trim test

src/lib/util/tests/versioned_csv_file_unittest.cc
    added VersionedCSVFileTest.currentSchemaTest test
    replaced tooManyHeaderColumns test with downGrading test
    revamped tests to check  getInputSchemaState() and needsConversion()

src/lib/util/versioned_csv_file.h
    Updated commentary to describe downgrade support

src/lib/util/versioned_csv_file.cc
    enum InputSchemaState
    input_schema_state_
    input_header_count_
    getInputHeaderCount()
    getInputSchemaState()
    needsConversion()

    next(CSVRow& row) - now supports downgrading rows
    validateHeder() -  now throws if called when no schema has been defined,
    and supports downgrading rows

9 years ago[4088fd] Added number unit tests
Francis Dupont [Mon, 9 Nov 2015 12:49:05 +0000 (13:49 +0100)] 
[4088fd] Added number unit tests

9 years ago[3259] Changes after review
Stephen Morris [Mon, 9 Nov 2015 12:41:52 +0000 (12:41 +0000)] 
[3259] Changes after review

1. Updated Kea guide to note that removing the hooks-libraries
   configuration element does not always have the expected effect.
2. Moved some documentation from the dhcp_parsers.cc file to the .h file.
3. Expanded checking of the contents of the hooks-libraries configuration
   element.

9 years ago[4088fd] Added more new unit tests
Francis Dupont [Mon, 9 Nov 2015 12:19:14 +0000 (13:19 +0100)] 
[4088fd] Added more new unit tests

9 years ago[4088fd] Added hexstring parsing unit tests
Francis Dupont [Mon, 9 Nov 2015 12:03:13 +0000 (13:03 +0100)] 
[4088fd] Added hexstring parsing unit tests

9 years ago[4088fd] Assume the parser produces only well typed expressions trac4088fd_fulltyped
Francis Dupont [Fri, 6 Nov 2015 13:08:09 +0000 (14:08 +0100)] 
[4088fd] Assume the parser produces only well typed expressions

9 years ago[4088fd] Split the syntax into untyped/typed trac4088fd_typed
Francis Dupont [Fri, 6 Nov 2015 12:38:09 +0000 (13:38 +0100)] 
[4088fd] Split the syntax into untyped/typed

9 years ago[4088fd] Added some parser unit tests trac4088fd_untyped
Francis Dupont [Fri, 6 Nov 2015 10:05:22 +0000 (11:05 +0100)] 
[4088fd] Added some parser unit tests

9 years ago[4088fd] Fixed error handling trac4088fd_error
Francis Dupont [Fri, 6 Nov 2015 08:29:44 +0000 (09:29 +0100)] 
[4088fd] Fixed error handling

9 years ago[4088fd] Added substring parsing
Francis Dupont [Fri, 6 Nov 2015 06:49:54 +0000 (07:49 +0100)] 
[4088fd] Added substring parsing

9 years ago[4088fd] Fixed most of C++ problems trac4088fd_cpp
Francis Dupont [Fri, 6 Nov 2015 06:29:41 +0000 (07:29 +0100)] 
[4088fd] Fixed most of C++ problems

9 years ago[4088fd] Renamed file to file_
Francis Dupont [Fri, 6 Nov 2015 03:00:23 +0000 (04:00 +0100)] 
[4088fd] Renamed file to file_

9 years ago[4088fd] Regenerated flex/bison trac4088fd_option
Francis Dupont [Fri, 6 Nov 2015 02:32:26 +0000 (03:32 +0100)] 
[4088fd] Regenerated flex/bison

9 years ago[4088fd] Moved option from scanner to parser
Francis Dupont [Fri, 6 Nov 2015 02:31:53 +0000 (03:31 +0100)] 
[4088fd] Moved option from scanner to parser

9 years ago[4088fd] Regenerated flex/bison trac4088fd_hexstring
Francis Dupont [Fri, 6 Nov 2015 02:08:40 +0000 (03:08 +0100)] 
[4088fd] Regenerated flex/bison

9 years ago[4088fd] Added hexstring support
Francis Dupont [Fri, 6 Nov 2015 02:05:49 +0000 (03:05 +0100)] 
[4088fd] Added hexstring support

9 years ago[4088fd] Regenerated flex/bison trac4088fd_namespace
Francis Dupont [Fri, 6 Nov 2015 01:39:56 +0000 (02:39 +0100)] 
[4088fd] Regenerated flex/bison

9 years ago[4088fd] Added new eval_context_decl.h include
Francis Dupont [Fri, 6 Nov 2015 01:39:30 +0000 (02:39 +0100)] 
[4088fd] Added new eval_context_decl.h include

9 years ago[4088fd] [4088fd] Fixed namespace
Francis Dupont [Fri, 6 Nov 2015 01:22:53 +0000 (02:22 +0100)] 
[4088fd] [4088fd] Fixed namespace

9 years ago[4088fd] [4088fd] Updated lexer.cc to flex 2.5.39
Francis Dupont [Fri, 6 Nov 2015 01:22:53 +0000 (02:22 +0100)] 
[4088fd] [4088fd] Updated lexer.cc to flex 2.5.39

9 years ago[4088] Finished merge of trac4091 from master trac4088fd_base
Francis Dupont [Fri, 6 Nov 2015 00:45:20 +0000 (01:45 +0100)] 
[4088] Finished merge of trac4091 from master

9 years ago[master] Updated git hash trac4115_base
Francis Dupont [Thu, 5 Nov 2015 22:40:42 +0000 (23:40 +0100)] 
[master] Updated git hash

9 years ago[master] Finished merge of trac4091 (hex strings)
Francis Dupont [Thu, 5 Nov 2015 22:37:26 +0000 (23:37 +0100)] 
[master] Finished merge of trac4091 (hex strings)

9 years ago[master] Merged trac4091 (hex strings)
Francis Dupont [Thu, 5 Nov 2015 22:35:24 +0000 (23:35 +0100)] 
[master] Merged trac4091 (hex strings)

9 years ago[4091] Changed to require at least one hexdigit
Francis Dupont [Thu, 5 Nov 2015 22:32:15 +0000 (23:32 +0100)] 
[4091] Changed to require at least one hexdigit

9 years ago[4088] spelling
Francis Dupont [Thu, 5 Nov 2015 22:12:01 +0000 (23:12 +0100)] 
[4088] spelling

9 years ago[4088] Miscellaneous edits to the developer documentation
Stephen Morris [Thu, 5 Nov 2015 17:47:58 +0000 (17:47 +0000)] 
[4088] Miscellaneous edits to the developer documentation

9 years ago[4088] Trivial fix to make it compile
Francis Dupont [Thu, 5 Nov 2015 05:03:03 +0000 (06:03 +0100)] 
[4088] Trivial fix to make it compile

9 years ago[4088] Some trivial fixes
Francis Dupont [Thu, 5 Nov 2015 04:46:24 +0000 (05:46 +0100)] 
[4088] Some trivial fixes

9 years ago[4091] Addressed comments (0x prefix, deciding in constructor)
Francis Dupont [Thu, 5 Nov 2015 01:39:28 +0000 (02:39 +0100)] 
[4091] Addressed comments (0x prefix, deciding in constructor)

9 years ago[4091] Better odd check
Francis Dupont [Thu, 5 Nov 2015 00:58:13 +0000 (01:58 +0100)] 
[4091] Better odd check

9 years ago[4091] Missed changes
Francis Dupont [Wed, 4 Nov 2015 22:41:05 +0000 (23:41 +0100)] 
[4091] Missed changes

9 years ago[4088] Exceptions added.
Tomek Mrugalski [Wed, 4 Nov 2015 15:43:56 +0000 (00:43 +0900)] 
[4088] Exceptions added.

9 years ago[4088] General smallish improvements in evaluation code
Tomek Mrugalski [Wed, 4 Nov 2015 15:34:12 +0000 (00:34 +0900)] 
[4088] General smallish improvements in evaluation code

9 years ago[4088] Unnecessary makefile rule removed.
Tomek Mrugalski [Wed, 4 Nov 2015 14:29:08 +0000 (23:29 +0900)] 
[4088] Unnecessary makefile rule removed.

9 years ago[4088] Developer's guide written
Tomek Mrugalski [Wed, 4 Nov 2015 14:27:48 +0000 (23:27 +0900)] 
[4088] Developer's guide written

9 years ago[4088] Bison version is now detected during configure.
Tomek Mrugalski [Wed, 4 Nov 2015 13:03:51 +0000 (22:03 +0900)] 
[4088] Bison version is now detected during configure.

9 years ago[master] Updated git hash
Francis Dupont [Wed, 4 Nov 2015 05:14:54 +0000 (06:14 +0100)] 
[master] Updated git hash

9 years ago[master] Finished merge of trac3927 (default in option-def)
Francis Dupont [Wed, 4 Nov 2015 05:13:50 +0000 (06:13 +0100)] 
[master] Finished merge of trac3927 (default in option-def)

9 years ago[master] Merged trac3927 (default in option-def)
Francis Dupont [Wed, 4 Nov 2015 04:55:49 +0000 (05:55 +0100)] 
[master] Merged trac3927 (default in option-def)

9 years ago[3927] Fixed typo in previous change
Francis Dupont [Wed, 4 Nov 2015 04:02:40 +0000 (05:02 +0100)] 
[3927] Fixed typo in previous change

9 years ago[3259] Corrected a typo.
Marcin Siodelski [Wed, 4 Nov 2015 02:31:57 +0000 (11:31 +0900)] 
[3259] Corrected a typo.

9 years ago[3927] Addressed minor comments
Francis Dupont [Wed, 4 Nov 2015 02:24:03 +0000 (03:24 +0100)] 
[3927] Addressed minor comments

9 years ago[3601] Added discussion of memfile lease file upgrading to admin guide
Thomas Markwalder [Tue, 3 Nov 2015 19:51:21 +0000 (14:51 -0500)] 
[3601] Added discussion of memfile lease file upgrading to admin guide

9 years ago[3601] Added unit tests for automatic LFC upgrade
Thomas Markwalder [Tue, 3 Nov 2015 19:21:02 +0000 (14:21 -0500)] 
[3601] Added unit tests for automatic LFC upgrade

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    Added two new unit tests to verify lease file upgrade
    via automatic LFC invocation:
        TEST_F(MemfileLeaseMgrTest, leaseUpgrade4)
        TEST_F(MemfileLeaseMgrTest, leaseUpgrade6)

9 years ago[3601] Memfile_LeaseMgr now runs LFC automatically if lease files need upgrading
Thomas Markwalder [Tue, 3 Nov 2015 15:53:28 +0000 (10:53 -0500)] 
[3601] Memfile_LeaseMgr now runs LFC automatically if lease files need upgrading

Memfile_LeaseMgr loads the lease files during instantiation. If it detects
that any of the files loaded are out of date, it will invoke LFC directly,
whether or not LFC is enabled.

src/lib/dhcpsrv/dhcpsrv_messages.mes
    added two new log messages:
        DHCPRSV_MEMFILE_UPGRADING_LEASE_FILES
        DHCPSRV_MEMFILE_NEEDS_UPGRADING

src/lib/dhcpsrv/lease_file_loader.h
    LeaseFileLoader::load() - emits DHCPSRV_MEMFILE_NEEDS_UPGRADING log
    when an out of date file is detected

src/lib/dhcpsrv/memfile_lease_mgr.cc
    LFCSetup::setup() - added run_once_now parameter, which causes the
    method to invoke the LFC callback immediately, regardless of the value
    of LFC interval.
    Memfile_LeaseMgr::Memfile_LeaseMgr() - added logic to track if
    files loaded need upgrading and pass that into lfcSetup()

    Memfile_LeaseMgr::loadLeasesFromFiles() - change to return a boolean
    true if any of the files loaded need upgrading.

    Memfile_LeaseMgr::lfcSetup() - added upgrade_needed parameter, which
    is passed through to LFCSetup::setup() as "run_once_now"

9 years ago[3601] Added methods to VersionedCSVFile for tracking when updating is needed
Thomas Markwalder [Tue, 3 Nov 2015 15:03:26 +0000 (10:03 -0500)] 
[3601] Added methods to VersionedCSVFile for tracking when updating is needed

src/lib/util/csv_file.h
    Made recreate() virtual

src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.cc
    Added several methods to VersionedCSVFile:

    getValidColumnCount() - returns number of valid columns in header

    recreate() - wraps base class method, ensuring valid column
    count gets set to number of defined columns for new files

    needsUpgrading() - returns bool true if file schema is out of date

    getInputSchemaVersion() - returns schema version found in file

    getSchemaVersion() - returns current schema version

    getVersionedColumn() - returns the column definition for a given index

src/lib/util/tests/versioned_csv_file_unittest.cc
    Added checks for new methods to existing tests

9 years ago[4091] Implemented, need tests
Francis Dupont [Tue, 3 Nov 2015 09:25:17 +0000 (10:25 +0100)] 
[4091] Implemented, need tests

9 years ago[4091] Renamed main (cf #4114)
Francis Dupont [Tue, 3 Nov 2015 08:48:11 +0000 (09:48 +0100)] 
[4091] Renamed main (cf #4114)

9 years ago[4060a] Cleaned up (partially, i.e., keep ugly but working code)
Francis Dupont [Tue, 3 Nov 2015 06:10:38 +0000 (07:10 +0100)] 
[4060a] Cleaned up (partially, i.e., keep ugly but working code)

9 years agoMerge branch 'trac4090' Add support for OptionSubstring to the eval code trac4116_base
Shawn Routhier [Tue, 3 Nov 2015 00:40:38 +0000 (16:40 -0800)] 
Merge branch 'trac4090'  Add support for OptionSubstring to the eval code

9 years ago[trac4090] Update per second set of review comments
Shawn Routhier [Tue, 3 Nov 2015 00:38:50 +0000 (16:38 -0800)] 
[trac4090] Update per second set of review comments

Remove change log entry as it isn't needed

Update eval log description in user guide.

9 years ago[trac4090] Add the forgotten eval_log.c and eval_log.h files
Shawn Routhier [Mon, 2 Nov 2015 21:25:34 +0000 (13:25 -0800)] 
[trac4090] Add the forgotten eval_log.c and eval_log.h files

9 years ago[trac4090] Setup logger for eval
Shawn Routhier [Mon, 2 Nov 2015 21:10:06 +0000 (13:10 -0800)] 
[trac4090] Setup logger for eval

9 years ago[trac4090] Update per review comments.
Shawn Routhier [Mon, 2 Nov 2015 19:22:23 +0000 (11:22 -0800)] 
[trac4090] Update per review comments.

Update per the review comments except for the logging
stuff which will be done next.

9 years ago[3601] CSVLeaseFile4 and CSVLeaseFile6 now derive from VersionedCSVFile
Thomas Markwalder [Mon, 2 Nov 2015 16:14:56 +0000 (11:14 -0500)] 
[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)

9 years ago[3601] Added isc::util::VersionedCSVFile
Thomas Markwalder [Mon, 2 Nov 2015 15:49:40 +0000 (10:49 -0500)] 
[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

9 years ago[master] Fixed 4o6subnetInterfaceId for not 64 bit machines (from hackathon94) trac4113_base
Francis Dupont [Mon, 2 Nov 2015 04:10:45 +0000 (05:10 +0100)] 
[master] Fixed 4o6subnetInterfaceId for not 64 bit machines (from hackathon94)

9 years ago[master] Use LeaseMgrFactory::instance() rather than constructor.
Marcin Siodelski [Mon, 2 Nov 2015 03:30:58 +0000 (12:30 +0900)] 
[master] Use LeaseMgrFactory::instance() rather than constructor.

This fixes issues reported by the coverity scans recently.

9 years agoMerge branch 'trac4111'
JINMEI Tatuya [Sun, 1 Nov 2015 02:19:24 +0000 (11:19 +0900)] 
Merge branch 'trac4111'

9 years ago[4111] constify
JINMEI Tatuya [Sun, 1 Nov 2015 02:02:02 +0000 (11:02 +0900)] 
[4111] constify

9 years ago[4111] Added an emptyOptionData unit test
Francis Dupont [Sun, 1 Nov 2015 01:10:57 +0000 (02:10 +0100)] 
[4111] Added an emptyOptionData unit test

9 years ago[4111] Style in checkEmpty
Francis Dupont [Sun, 1 Nov 2015 01:08:58 +0000 (02:08 +0100)] 
[4111] Style in checkEmpty

9 years ago[3927] Added a defaultSpaceOptionDefTest unit test
Francis Dupont [Sun, 1 Nov 2015 00:41:15 +0000 (01:41 +0100)] 
[3927] Added a defaultSpaceOptionDefTest unit test