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

29646 Commits

Author SHA1 Message Date
Marcin Siodelski
ca9d972fa7 [#826,!479] Moved list of new cb_cmds out of the Makefile.am. 2019-08-14 22:36:12 +02:00
Marcin Siodelski
26024b6739 [#826,!479] Removed empty section title. 2019-08-14 22:36:12 +02:00
Marcin Siodelski
bad7a4a73b [#826,!479] Updated cb_cmds hooks doc describing the embedded option cmds. 2019-08-14 22:36:11 +02:00
Marcin Siodelski
870ff27152 [#826,!479] Corrected some little errors in the new API files.
Remove repeated lines and corrected some of the descriptions.
2019-08-14 22:36:11 +02:00
Francis Dupont
f4705d6207 [826-documentation-of-cb_cmds-embedded-commands] Added API files 2019-08-14 22:36:11 +02:00
Michal Nowikowski
ee22043fff added pattern field to config files in src/bin/keactrl/*conf.pre but commented to be used for deb/rpm packaging 2019-08-14 16:40:34 +02:00
Tomek Mrugalski
82d024e544 [#665,!460] Updated ChangeLog with commit-id 2019-08-14 11:40:50 +02:00
Tomek Mrugalski
2add51ecf0 [#665] Regenerated parsers using bison 3.4.1 2019-08-14 11:36:46 +02:00
Thomas Markwalder
aa86ae13b0 [#665,!460] Added ChangeLog entry 2019-08-14 10:58:33 +02:00
Thomas Markwalder
293a173751 [#665,!460] Implemented support in netconf agent
doc/examples/netconf/simple-dhcp4.json
doc/examples/netconf/simple-dhcp6.json

src/bin/netconf/netconf_lexer.ll
src/bin/netconf/netconf_parser.yy

src/bin/netconf/location.hh
src/bin/netconf/netconf_lexer.cc
src/bin/netconf/netconf_parser.cc
src/bin/netconf/netconf_parser.h
src/bin/netconf/position.hh
src/bin/netconf/stack.hh
2019-08-14 10:57:56 +02:00
Thomas Markwalder
3bbac71905 [#665,!460] Implemented support in agent
doc/examples/agent/simple.json

src/bin/agent/agent_lexer.ll
src/bin/agent/agent_parser.yy

src/bin/agent/agent_lexer.cc
src/bin/agent/agent_parser.cc
src/bin/agent/agent_parser.h
src/bin/agent/location.hh
src/bin/agent/position.hh
src/bin/agent/stack.hh
2019-08-14 10:57:56 +02:00
Thomas Markwalder
d4c4461923 [#665,!460] Implemented support in D2
doc/examples/ddns/sample1.json
doc/examples/kea4/advanced.json

src/bin/d2/d2_lexer.ll
src/bin/d2/d2_parser.yy

src/bin/d2/d2_lexer.cc
src/bin/d2/d2_parser.cc
src/bin/d2/d2_parser.h
src/bin/d2/location.hh
src/bin/d2/position.hh
src/bin/d2/stack.hh

src/bin/d2/tests/testdata/get_config.json
2019-08-14 10:57:56 +02:00
Thomas Markwalder
986c23c029 [#665,!460] Implemented support in kea-dhcp6
doc/examples/kea6/advanced.json
doc/examples/kea6/all-keys-current.json

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy

src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
2019-08-14 10:57:56 +02:00
Thomas Markwalder
e91372f274 [#665,!460] Updated following preliminary review
doc/examples/kea4/all-keys-current.json
    Added pattern

doc/sphinx/arm/logging.rst
    Revamped a bit

src/lib/process/tests/log_parser_unittests.cc
    Updated to test pattern parsing
2019-08-14 10:57:56 +02:00
Thomas Markwalder
007e866a79 [#665,!460] Addressed review comments
alloc_engine6_unittest.cc
    Removed extraneous spaces.
2019-08-14 10:57:56 +02:00
Thomas Markwalder
5cd58bdfb0 [#665,!460] Updated ARM 2019-08-14 10:57:56 +02:00
Thomas Markwalder
784d55996c [#665,!460] Initial implementation, kea-dhcp4 only
Added an optional "pattern" parameter to logger output options. It supports
any combination of content described here:

https://log4cplus.sourceforge.io/docs/html/classlog4cplus_1_1PatternLayout.html

src/lib/log/output_option.*
    Added constants to define default patterns:
        OutputOption::DEFAULT_CONSOLE_PATTERN = "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n";
        OutputOption::DEFAULT_FILE_PATTERN = "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n";
        OutputOption::DEFAULT_SYSLOG_PATTERN = "%-5p [%c] %m\n";

    OutputOption::pattern_ - new member for conveying pattern string

src/lib/log/logger_manager_impl.*
    LoggerManagerImpl::createConsoleAppender()
    LoggerManagerImpl::createFileAppender()
    LoggerManagerImpl::createSyslogAppender() uses either
    paramater, option.pattern, or the appropriate default pattern

    LoggerManagerImpl::setAppenderLayout() - new, common method to
    set the layout, accepts a pattern string parameter

    LoggerManagerImpl::setConsoleAppenderLayout()
    LoggerManagerImpl::setSyslogAppenderLayout() - deleted

src/lib/process/log_parser.cc
    LogConfigParser::parseOutputOptions() - now supports pattern

src/lib/process/logging_info.*
    LoggingDestination::pattern_  - new member for conveying pattern string

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
    Added "pattern" to the parser grammar
2019-08-14 10:57:56 +02:00
Tomek Mrugalski
1ec3aca6ea [#150,!473] ChangeLog updated 2019-08-14 10:48:04 +02:00
Tomek Mrugalski
70bb412f20 [#150,!385] Addressed review comments:
- extra checks for parent pointer
- comments corrected
2019-08-14 10:13:02 +02:00
Tomek Mrugalski
fa3d60af36 [#150] Basic documentation added. 2019-08-14 10:13:02 +02:00
Francis Dupont
212e163abe [150-add-sub-option-classification] Added unit tests and fixed logs 2019-08-14 10:13:02 +02:00
Francis Dupont
355facff55 [#150,!385] regen bison 2019-08-14 10:13:02 +02:00
Francis Dupont
63a74b7a77 [150-add-sub-option-classification] Declared sub_option_code 2019-08-14 10:13:02 +02:00
Francis Dupont
31a7cba643 [150-add-sub-option-classification] Accept only integers for sub-option codes 2019-08-14 10:13:02 +02:00
Francis Dupont
4aaa3db0e1 [#150,!385] regen bison 2019-08-14 10:13:02 +02:00
Francis Dupont
1ef44a79d2 [150-add-sub-option-classification] Checkpoint: code done, todo regen and tests 2019-08-14 10:13:02 +02:00
Tomek Mrugalski
eda0c2f35f [#433,!473] ChangeLog updated. 2019-08-13 23:45:29 +02:00
Tomek Mrugalski
c46e8da156 [#433] Added an explanation why a test could fail and how to fix it. 2019-08-13 17:43:06 -04:00
Tomek Mrugalski
c2edd80284 [#433,!473] Improved error message when sysrepod is down. 2019-08-13 17:43:06 -04:00
Francis Dupont
2ff8d3db8b [433-update-yang-models] Moved to fabs to near double equal 2019-08-13 17:43:06 -04:00
Francis Dupont
6ae3245f23 [433-update-yang-models] Removed spurious brackets 2019-08-13 17:43:06 -04:00
Tomek Mrugalski
6bad8cf444 [#433] configure.ac better detects sysrepo (and errors out when missing) 2019-08-13 17:43:06 -04:00
Francis Dupont
a14b705fb7 [433-update-yang-models] Restore all-keys-stable.json headers 2019-08-13 17:43:06 -04:00
Francis Dupont
551c124d6e [433-update-yang-models] Enabled (and fixed) more tests 2019-08-13 17:43:06 -04:00
Francis Dupont
d9114c2210 [433-update-yang-models] Updated code and tests 2019-08-13 17:43:06 -04:00
Francis Dupont
7344aca1d1 [433-update-yang-models] Updated modules (todo update code) 2019-08-13 17:43:06 -04:00
Michal Nowikowski
65c25b93fd sphinx docs: disabled generating 2nd pdf with kea messages when building is made on ReadTheDocs site - attempt 2 2019-08-13 15:09:52 +02:00
Michal Nowikowski
87e6c840c5 sphinx docs: disabled generating 2nd pdf with kea messages when building is made on ReadTheDocs site 2019-08-13 15:02:50 +02:00
Michal Nowikowski
4b72e2cc22 list of api and mes files are independently available in Makefile.am and conf.py now 2019-08-13 07:14:39 -04:00
Marcin Siodelski
ef929284ce [master] Fix building issue with gcc.
Removed consts in the templates passed to the CB pool.
2019-08-12 19:44:16 +02:00
Tomek Mrugalski
ebc1f54693 [#746,!476] Missing files in libdns are now distributed 2019-08-12 13:05:19 -04:00
Francis Dupont
e7795641a2 [804-cb-doc-never-says-clearly-how-to-configure-server-tag-on-a-server] Removed spuriuous tabs and ending spaces 2019-08-12 09:30:45 -04:00
Tomek Mrugalski
9b9b6f511a [#804,!468] Updated server-tag references. 2019-08-12 09:30:45 -04:00
Francis Dupont
40c751cab4 [804-cb-doc-never-says-clearly-how-to-configure-server-tag-on-a-server] First attempt to deocument server-tag 2019-08-12 09:30:45 -04:00
Francis Dupont
dd45c6cc17 [418-cb_cmds-embedded-commands] Added hasNoTags 2019-08-12 09:04:30 -04:00
Francis Dupont
640e370dbf [418-cb_cmds-embedded-commands] Fixed the pd pool methods 2019-08-12 09:04:30 -04:00
Francis Dupont
43703b06b5 [418-cb_cmds-embedded-commands] Fixed pool type 2019-08-12 09:04:30 -04:00
Tomek Mrugalski
9b094db6f6 [#623,!442] Change after review: added RFC4703 2019-08-12 08:54:11 -04:00
Tomek Mrugalski
9017ed0ef2 [#623,!442] Added RFCs related to DNS updates 2019-08-12 08:54:11 -04:00
Tomek Mrugalski
038a88f4c9 [#623,!442] List of supported RFCs updated. 2019-08-12 08:54:11 -04:00