Thomas Markwalder
f5fe96c6ee
[#104,!290] kea-dhcpv6 now supports fetching config from backends
...
Infrastructure has been added to kea-dhcp6 such that it can
now be configured to fetch full and then periodic updates
from config backends.
Merging the actual fetched content will be done under subsequent
issues.
src/bin/dhcp6
ctrl_dhcp6_srv.*
- ControlledDhcpv6Srv::processConfig() - added logic to schedule CB update timer
- ControlledDhcpv6Srv::cbFetchUpdates() - new callback function for CB updates
dhcp6_lexer.ll
dhcp6_parser.yy
- Added config-fetch-wait-time
dhcp6_messages.mes
- New log messages
dhcp6_srv.*
- Dhcpv6Srv::cb_control_ - new member for config backend access
- Dhcpv6Srv::inTestMode() - new function to test for unit test mode
json_config_parser.cc
- configureDhcp6Server() - invokes full fetch from config backend
src/bin/dhcp6/tests
config_backend_unittest.cc - new file/tests for config backend testing
config_parser_unittest.cc - updated
get_config_unittest.cc - rebuild tests
kea_controller_unittest.cc - added CB control/timer tests
src/lib/dhcpsrv/
dhcpsrv_messages.mes - added log message
cb_ctl_dhcp6.* - new files that provide v6 impl of config backend controller
doc/examples/kea6/all-keys-current.json - added config-fetch-wait-time
2019-03-26 15:12:06 -04:00
Marcin Siodelski
62ad7da5f7
[#103,!277] Regenerated bison files.
2019-03-26 11:21:25 +01:00
Marcin Siodelski
5d53f731a1
[#103,!277] Address two minor review comments.
2019-03-26 03:08:57 -04:00
Marcin Siodelski
3335328351
[#103,!277] Add failure count for the CB fetch timer.
2019-03-26 03:08:57 -04:00
Marcin Siodelski
227bdc64b6
[#103,!277] Use enum instead of boolean in databaseConfigFetch.
...
As a result of review.
2019-03-26 03:08:57 -04:00
Marcin Siodelski
a2ab8f2743
[#103,!277] Added Dhcpv4Srv::inTestMode as a result of review.
2019-03-26 03:08:57 -04:00
Marcin Siodelski
efd70f451d
[#103,!277] Addressed minor review comments.
2019-03-26 03:08:57 -04:00
Marcin Siodelski
e8ac74f355
[#103,!277] Fixing compilation issue on Ubuntu.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
a6d7390f9b
[#103,!277] Fixed unused variable warning.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
20e42e0707
[#103,!277] Updated all-keys-current.json example.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
01f6adc269
[#103,!277] Extended unit tests for databaseConfigApply in DHCPv4.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
e0282b9f72
[#103,!277] Revert last audit entry time in case of merge failure.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
d13c8f51fe
[#103,!277] Update statistics when the configuration is merged into current.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
7db82b0525
[#103,!277] Fixed failing unit test.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
d60636d4e4
[#103,!277] Setup timer for CB config fetch in the DHCPv4 server.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
c6f01c0e81
[#103,!277] Added support for config-fetch-wait-time parameter.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
d8e6e1a017
[#103,!277] Reset CBControl upon DHCPv4 serverreconfiguration.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
67eaad645f
[#103,!277] Implemented CBControlBase::reset function.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
96c63ac17a
[#103,!277] DHCPv4 server is using CBControlDHCPv4.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
2b620e0ac5
[#103,!277] Implemented the CBControlDHCPv4::databaseConfigApply.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
e117c554fa
[#103,!277] Added CBControlBase::fetchConfigElement function.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
007546ad5b
[#103,!277] Use composite key for audit entry object type searches.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
9009e45cc1
[#103,!277] Regenerated message files.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
e3161f4454
[#103,!277] Added stub CBControlDHCPv4.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
cc2a61ac5b
[#103,!277] Disconnect CBs in the CBControlBase destructor.
2019-03-26 03:08:56 -04:00
Marcin Siodelski
ea0881a728
[#103,!277] Include cb_ctl_base.h in the Makefile.am
2019-03-26 03:08:56 -04:00
Marcin Siodelski
658c680352
[#103,!277] Implemented CBControlBase class.
2019-03-26 03:08:56 -04:00
Francis Dupont
319f7709ed
[master] regen flex/bison
2019-03-23 14:44:46 +00:00
Razvan Becheriu
a692e6af44
updated ChangeLog
2019-03-22 16:19:31 +02:00
Razvan Becheriu
5771173d72
updated timestamps
2019-03-22 15:58:10 +02:00
Razvan Becheriu
d6ba3a0ab4
generated parsers
2019-03-22 15:48:13 +02:00
Razvan Becheriu
30db044fd7
removed consistency parameters from translator
2019-03-21 18:27:19 +02:00
Razvan Becheriu
cafb08a0ec
changes after review
2019-03-21 17:56:05 +02:00
Razvan Becheriu
90787d36d3
added supported values and link to documentation
2019-03-21 17:56:05 +02:00
Razvan Becheriu
d4519a8c4e
updated examples and models
2019-03-21 17:50:01 +02:00
Razvan Becheriu
b825815fa7
configure serial consistency as well
2019-03-21 17:50:01 +02:00
Razvan Becheriu
7d8d91be21
fixed compilation with unittests
2019-03-21 17:50:01 +02:00
Razvan Becheriu
1646cb296a
renamed parameter
2019-03-21 17:50:01 +02:00
Razvan Becheriu
38b037be91
added cql-consistency parameter
2019-03-21 17:50:01 +02:00
Francis Dupont
dc366ff73b
[master] Updated ChangeLog entry 1541 for reporters
2019-03-21 12:57:07 +01:00
Francis Dupont
ca2ed7a5a4
[master] Added ChangeLog entry for sip-ua-cs-domains doc fix
2019-03-21 12:30:16 +01:00
Francis Dupont
c128fd9a6b
[536-typo-in-arm-for-option-sip-ua-cs-domains] Fixed sip-ua-cs-domains code point
2019-03-21 06:34:39 -04:00
Thomas Markwalder
49b240f59e
[master] Updated ChangeLog entry 1542.
2019-03-20 15:13:38 -04:00
Thomas Markwalder
7f8c4fc535
[master] Postgresql unit tests now support wipe-data only
...
Merge branch '531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism'
2019-03-20 15:09:54 -04:00
Francis Dupont
aeede66704
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] spelling
2019-03-20 16:23:05 +01:00
Francis Dupont
4a66841c57
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] Grammar
2019-03-20 16:18:00 +01:00
Francis Dupont
5df56610b9
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] Better fix
2019-03-20 16:16:31 +01:00
Francis Dupont
8a3a16c099
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] spelling
2019-03-20 16:15:38 +01:00
Francis Dupont
deed9e6f1d
[474-optionally-disable-collection-host-lookups] Addressed comments
2019-03-20 08:20:36 -04:00
Francis Dupont
cffeb42460
[474-optionally-disable-collection-host-lookups] Removed srandomdev
2019-03-20 08:20:36 -04:00