Francis Dupont
cf9c4f395b
[master] Merged trac5066 (enforce C++11)
2016-12-08 17:57:08 +01:00
Francis Dupont
37555482f3
[5066] Simplified the C++11 for loop
2016-12-08 17:56:04 +01:00
Francis Dupont
e348313f54
[master] Merged trac4631b (C++11 2nd phase)
2016-12-08 17:31:52 +01:00
Tomek Mrugalski
9be11b7336
[master] added link to contributor's guide
2016-12-08 16:00:25 +01:00
Marcin Siodelski
abb14bd353
[master] Added ChangeLog entry for #3175 .
2016-12-08 14:18:36 +01:00
Marcin Siodelski
270ec379ae
[master] Merge branch 'trac3175'
2016-12-08 14:17:47 +01:00
Tomek Mrugalski
58e7eba199
[5036] Regenerated flex/bison files added.
2016-12-08 13:21:00 +01:00
Tomek Mrugalski
78659fde90
[5036] Unit-tests cleanup.
2016-12-08 13:20:28 +01:00
Tomek Mrugalski
e1c561b356
[5036] Doc updated.
2016-12-08 13:20:07 +01:00
Thomas Markwalder
a9a3d0d5dd
[5046] kea-dhcp6 now implements set-config command
...
src/bin/dhcp6/ctrl_dhcp6_srv.h
src/bin/dhcp6/ctrl_dhcp6_srv.cc
ControlledDhcpv6Srv::commandSetConfigHandler() - new method to process
the set-config command.
ControlledDhcpv6Srv::processCommand() - call new set-config handler
ControlledDhcpv6Srv::processConfig() - added logic to apply logging
and commit configuration after successful reconfig
ControlledDhcpv6Srv::ControlledDhcpv6Srv(uint16_t port) - added registration
of set-config command
ControlledDhcpv6Srv::~ControlledDhcpv6Srv() - unregisters set-config command
src/bin/dhcp6/json_config_parser.cc
configureCommandChannel() - extracted logic to reconfigure command channel
to its own fucntion
src/bin/dhcp6/kea_controller.cc
configure() - removed logic to apply logging and commit config, now done
in ControlledDhcpv6Srv::processConfig()
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
TEST_F(CtrlChannelDhcpv6SrvTest, set_config) - new test to exercise the
set-config command
2016-12-07 10:32:22 -05:00
Tomek Mrugalski
00d65ea699
[5036] Comments added.
2016-12-07 15:07:48 +01:00
Tomek Mrugalski
dfac5a62ce
[5036] excluded-prefix{-len} implemented in the bison parser
2016-12-06 21:43:11 +01:00
Tomek Mrugalski
0d97d2c0b5
[5036] readonly support added in hosts-database
2016-12-06 20:49:46 +01:00
Tomek Mrugalski
c19f1840cc
[5036] Support for parameters in hooks-libraries added.
2016-12-06 20:29:31 +01:00
Tomek Mrugalski
fab8be8e25
[5036] Comments added, some constants removed.
2016-12-06 20:28:55 +01:00
Marcin Siodelski
ab7c9a978b
[3175] Moved StateModel class from D2 to libkea-util.
2016-12-06 19:59:52 +01:00
Tomek Mrugalski
39919c3bd3
[5036] Code cleanup
2016-12-06 19:16:03 +01:00
Stephen Morris
80abf3c933
[master] ChangeLog for Trac #5069
2016-12-05 11:00:33 -08:00
Stephen Morris
5949d7056f
[master] Merge branch 'trac5069'
2016-12-05 10:56:07 -08:00
Marcin Siodelski
5d84486ea3
[5075] Fixed typo in Makefile.am
2016-12-05 18:38:56 +01:00
Marcin Siodelski
de425560b7
[5075] Created man page for Kea Control Agent.
2016-12-05 16:55:07 +01:00
Marcin Siodelski
ceb361c79c
[5075] Created Control Agent application stub.
2016-12-05 15:55:51 +01:00
Stephen Morris
14a78caaf3
[5069] Update Hooks developer documentation
...
In the section "Building the Library", made it clearer where the
Kea include files and libraries are located.
2016-12-02 15:49:19 +00:00
Marcin Siodelski
16be7fe34c
[master] Added ChangeLog entry for #5074 .
trac5075_base
trac5046_base
2016-12-02 16:41:22 +01:00
Marcin Siodelski
4563925f79
[master] Merge branch 'trac5074'
2016-12-02 16:39:51 +01:00
Marcin Siodelski
bd7aa52f3a
[5074] Removed spurious whitespace.
2016-12-02 16:38:50 +01:00
Thomas Markwalder
3ffc91a9eb
[trac5074] Minor rewording in libprocess.dox
2016-12-02 10:09:02 -05:00
Marcin Siodelski
8107a4912b
[5074] A couple of trivial fixes in the comments.
2016-12-01 18:26:20 +01:00
Marcin Siodelski
71d45704c0
[5074] Split developer's documentation of CPL and D2.
2016-12-01 16:29:07 +01:00
Marcin Siodelski
2a1d9f495a
[5074] Fix doxygen refs after migration to isc::process namespace.
2016-12-01 14:55:25 +01:00
Marcin Siodelski
7fdcecdb78
[5074] Files in libkea-process moved to isc::process namespace.
2016-12-01 14:43:01 +01:00
Marcin Siodelski
070672ba4e
[5074] Rename d2_logger to dctl_logger in libkea-process.
2016-12-01 13:43:58 +01:00
Marcin Siodelski
db92b54da7
[5074] Set environment variable for pid files within libkea-process tests.
2016-12-01 13:29:47 +01:00
Marcin Siodelski
91e39181ca
[5074] Created libkea-process library.
2016-12-01 12:40:12 +01:00
Francis Dupont
818d58d73c
[5066] Enforced C++11 following #4631 discussion
2016-11-30 15:39:42 +01:00
Francis Dupont
3b8787a7a8
[4631b] Applied the not unique_ptr stuff
trac5066_base
2016-11-30 14:13:57 +01:00
Francis Dupont
a529c56dad
[5014_phase2] Easier C++11 stuff
trac5039_base
2016-11-29 20:09:43 +01:00
Tomek Mrugalski
f9abab4bd0
[5014_phase2] SimpleParser implemented, 4 parsers converted
...
- SimpleParser concept implemented
- Converted 4 parsers (option data, option data list, option defintion,
option definition list)
- updated unit-tests
- converted other parsers (HostReservationParser{4,6}, ClientClassDefParser)
to use those new parsers
- converted kea-dhcp{4,6} to use those new parsers
Conflicts:
src/bin/dhcp6/json_config_parser.cc
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
2016-11-29 20:09:14 +01:00
Tomek Mrugalski
04fa0d3f0b
[5014_phase2] ListElement can now be modified
...
It now contains vector of ElementPtr, rather than ConstElementPtr
2016-11-29 20:04:01 +01:00
Francis Dupont
4204443ad1
[5014_phase2] Use Dhcp6 (vs JSON) parser as much as possible in unit tests
trac5036_base2
2016-11-29 19:58:37 +01:00
Francis Dupont
55ad23aa80
[5014_phase2] Use parser in place of fromJSON
2016-11-29 19:58:37 +01:00
Francis Dupont
a97417d5c5
[5014_phase2] Added a JSON value subparser
2016-11-29 19:58:37 +01:00
Francis Dupont
ad2c19f990
[5014_phase2] Defined some config subparsers (to be used for tests)
2016-11-29 19:58:37 +01:00
Francis Dupont
8d5dca26e6
[5014_phase2] Added Element position
2016-11-29 19:58:37 +01:00
Francis Dupont
07f4340e30
[5014_phase2] Added recursive include unit test
2016-11-29 19:58:37 +01:00
Francis Dupont
58bb8f3445
[5014_phase2] Fixed lexer cleanup on any exit (note parser uses try-catch)
2016-11-29 19:58:37 +01:00
Francis Dupont
b4264859fd
[5014_phase2] Moved back context variables from lexer
2016-11-29 19:58:37 +01:00
Francis Dupont
0fecb75a3d
[5014_phase2] Renamed Dhcp4 and DhcpDdns entries
2016-11-29 19:58:37 +01:00
Francis Dupont
652bb17f31
[5014_phase2] Implemented string escape (but not unicode) cf ECMA 404
2016-11-29 19:58:37 +01:00
Francis Dupont
a55f3fafb2
[5014_phase2] Add Dhcp4 and DhcpDdns toplevel configs to pass all tests
2016-11-29 19:58:37 +01:00