2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

23982 Commits

Author SHA1 Message Date
Francis Dupont
90d4113bcb [5077] Added lambda (and auto as a side effect) C++ feature check 2016-12-16 13:01:55 +01:00
Francis Dupont
7f4b80deb7 [5077] indent 2016-12-16 12:49:04 +01:00
Francis Dupont
8d65faf798 [5077] Replaced auto 2016-12-16 12:43:19 +01:00
Francis Dupont
dec446930d [5077] Fixed LDADDs 2016-12-16 00:14:46 +01:00
Francis Dupont
030ec48eea [5077] spelling & co (i.e., only cosmetics) 2016-12-16 00:11:02 +01:00
Francis Dupont
122afa7a69 [5075] Fixed LDADDs 2016-12-16 00:00:03 +01:00
Francis Dupont
751ef927e0 [5077] reindent 2016-12-15 22:46:06 +01:00
Thomas Markwalder
354e68adec [5046] Move apply logging and config commit from processConfig to set-config handler
src/bin/dhcp4/ctrl_dhcp4_srv.cc
    commandConfigReloadHandler() - use commandSetConfigHandler()
    instead of processConfig() to account for logging config

    commandSetConfigHandler() - apply logging config and commit config here instead of
    in processConfig()

src/bin/dhcp4/tests/dhcp4_test_utils.h
     ~NakedDhcpv4Srv() - removed unecesary initLogger call

src/bin/dhcp4/tests/kea_controller_unittest.cc
     ~JSONFileBackendTest() - removed unecessary call to setDefaultLogging

src/bin/dhcp6/ctrl_dhcp6_srv.cc
    commandConfigReloadHandler() - use commandSetConfigHandler()
    instead of processConfig() to account for logging config

    commandSetConfigHandler() - apply logging config and commit config here instead of
    in processConfig()

src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
    createUnixChannelServer() -  added config commit so command channel behavior
    is correct

    TEST_F(CtrlDhcpv6SrvTest, configReload)
        Wrap configuration in Dhcp6 element

    TEST_F(CtrlChannelDhcpv6SrvTest, set_config)
        Turn off timers in config

src/lib/dhcpsrv/srv_config.cc
    SrvConfig::applyLoggingCfg() - remove logic added to not call manager.process
    when there are no specs.
2016-12-15 16:15:26 -05:00
Francis Dupont
a5d19e3949 [5075] spelling 2016-12-15 22:13:01 +01:00
Francis Dupont
f913f2104d [5075] spelling 2016-12-15 21:49:33 +01:00
Francis Dupont
b6ae7c0930 [3238] spelling 2016-12-15 21:21:25 +01:00
Tomek Mrugalski
0901a0ca7c [master] ChangeLog updated. fd_json_bench_base 2016-12-15 17:57:24 +01:00
Tomek Mrugalski
aa3199aeb5 [5017] Added generated flex/bison files. 2016-12-15 16:54:01 +01:00
Tomek Mrugalski
3f050858c7 [5017] Doc updated, doxygen warnings removed. 2016-12-15 16:53:35 +01:00
Tomek Mrugalski
cf4362196f [5072] Two small corrections in example configs. 2016-12-15 15:21:47 +01:00
Tomek Mrugalski
1b782cabfc [5072] lfc-interval has been added to the example configs. 2016-12-15 15:05:56 +01:00
Tomek Mrugalski
bdfcf8c886 [5017] The new parser is now being used. 2016-12-15 00:17:56 +01:00
Tomek Mrugalski
e38b37ac03 [5017] Dhcp4 bison parser implemented. 2016-12-15 00:15:49 +01:00
Marcin Siodelski
67e69191f8 [5077] Removed extraneous state transitions in HTTP request parser. 2016-12-14 17:43:22 +01:00
Tomek Mrugalski
039622a485 [master] Addressed doxygen warnings raised. trac5017_base 2016-12-13 14:21:57 +01:00
Tomek Mrugalski
b49799a899 [master] ChangeLog updated 2016-12-13 13:57:39 +01:00
Marcin Siodelski
0fc1359eba [5077] Implemented HTTP request parser. 2016-12-13 13:52:08 +01:00
Marcin Siodelski
f7c734bbb7 [5077] Created libkea-http library. 2016-12-13 13:52:08 +01:00
Tomek Mrugalski
4c5902da95 [master] Merge branch 'trac5036' (Dhcp6 bison parser) 2016-12-13 13:30:38 +01:00
Tomek Mrugalski
0bbc1df7d0 [5039] Parameters inheritance implemented, doc updated 2016-12-12 20:28:27 +01:00
Francis Dupont
70a2c40e11 trac5085: regen 2016-12-12 16:22:50 +00:00
Tomek Mrugalski
5b7aaae74d [5036] Changes after review:
- clarified JSON usage in admin guide (True/False not allowed)
 - fixed incorrect reference to hosts4-storage
 - clarified that empty mac-sources entry is not allowed
 - added extra text about syntactic contexts
 - corrected several typos
2016-12-12 14:59:57 +01:00
Francis Dupont
8b853a9e70 [5085] Enforced lower case JSON keywords 2016-12-12 14:24:36 +01:00
Francis Dupont
a082bb9fa8 trac5085: regen 2016-12-11 17:49:27 +00:00
Francis Dupont
757d1f48cb [5085] Implemented \u00xy escapes in toJSON and lexer 2016-12-11 18:47:58 +01:00
Francis Dupont
1c6f0831cc [5085] Fixed control char test for signed chars trac5085_base 2016-12-11 16:43:05 +01:00
Francis Dupont
af79ebabdc [5036] Fixed control char test for signed chars 2016-12-11 16:41:56 +01:00
Francis Dupont
4a559a5940 trac5036: regen 2016-12-11 10:15:45 +00:00
Francis Dupont
546f87e5ad [5036] Added \r as a valid whitespace (cf JSON standard) 2016-12-11 11:14:30 +01:00
Francis Dupont
aef276b92f [5036] Optional exception display and case sensitive JSON unit tests 2016-12-10 11:52:02 +01:00
Francis Dupont
b7837f8945 Merge branch 'trac5036' of ssh://git.kea.isc.org/git/kea into trac5036 2016-12-10 10:20:16 +00:00
Francis Dupont
eb68451c83 trac5036: regen 2016-12-10 10:19:43 +00:00
Francis Dupont
8bc9302468 [5036] Ignore parser generated files 2016-12-10 11:19:11 +01:00
Francis Dupont
7b0d7c25ab [5036] Improved parser and include files 2016-12-10 11:11:21 +01:00
Francis Dupont
a3ca4ab1a2 [5036] Improved dhcp6.dox 2016-12-10 10:03:45 +01:00
Thomas Markwalder
6ea58aa99a [5046] Minor cleanups 2016-12-09 16:15:25 -05:00
Thomas Markwalder
44d38ce10a [5046] Implement set-config command in kea-dhcp4
Mirror the changes made in kea-dhcp6.
2016-12-09 16:08:24 -05:00
Thomas Markwalder
767bf1503f [5046] Avoid wiping logging when config is empty
src/lib/dhcpsrv/srv_config.cc
    SrvConfig::applyLoggingCfg() - now only calls LoggerManager::process()
    if the logger config isn't empty

src/bin/dhcp6/ctrl_dhcp6_srv.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
    Minor clean up and commentary

src/bin/dhcp6/kea_controller.cc
    configure(const std::string& file_name)
    - Removed initial rollback, now done in commandSetConfigHandler()

src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
   - Removed unnecessary call to initLogger
2016-12-09 16:06:38 -05:00
Francis Dupont
8d9f4d2ea9 [master] Replaced a NULL ... better pointer type trac5077_base 2016-12-09 16:57:30 +01:00
Francis Dupont
9fd4f1158b [master] Replaced a NULL ... typo 2016-12-09 16:48:05 +01:00
Francis Dupont
56858b2561 [master] Replaced a NULL ... again 2016-12-09 16:37:52 +01:00
Francis Dupont
22d0c2205a [master] Replaced a NULL not accepted by old GCC in C++0x mode by a cast 2016-12-09 16:05:09 +01:00
Thomas Markwalder
cb8f8ae36e [5046] Fixed logger setup on set-config
src/bin/dhcp6/ctrl_dhcp6_srv.cc
    ControlledDhcpv6Srv::commandSetConfigHandler()
    - Add logger config
    - Use processConfig() directly instead of config-reload command

src/bin/dhcp6/kea_controller.cc
    configure(const std::string& file_name)
      - Remove logger config
      - Use set-config command instead of config-reload

src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
    createUnixChannelServer()
    - added call to initLogger() to revert logging to unit test logger

src/bin/dhcp6/tests/dhcp6_test_utils.cc
    BaseServerTest::~BaseServerTest() {
    - added call to initLogger() to revert logging to unit test logger
2016-12-08 14:56:17 -05:00
Francis Dupont
ee6790024b [master] Updated git hash 2016-12-08 18:00:44 +01:00
Francis Dupont
a060d4a983 [master] Finished merge of trac5066 (enforce C++11) 2016-12-08 17:59:50 +01:00