Wlodek Wencel
7b5756b58d
[ #477 ] output message changed
2020-05-22 15:37:17 +00:00
Wlodek Wencel
5b322cbe45
[ #477 ] added counter to another place
2020-05-22 15:37:17 +00:00
Wlodek Wencel
4ae38cea3d
[ #477 ] added malformed pkt counter
2020-05-22 15:37:17 +00:00
Wlodek Wencel
610a49ae3e
[ #447 ] exception for incorrect pkt in perfdhcp
2020-05-22 15:37:16 +00:00
Wlodek Wencel
abb5471207
Updated AUTHORS file with recent contribution
2020-05-22 15:45:28 +02:00
Wlodek Wencel
573a988eed
Merge branch 'andrei-pavel-perfdhcp'
2020-05-22 15:39:26 +02:00
Wlodek Wencel
e9d6180084
Resolved merge conflict
2020-05-22 15:33:42 +02:00
Marcin Siodelski
32e012ce96
[ #1205 ] Regenerated HA logs
2020-05-21 20:04:30 +02:00
Marcin Siodelski
e38ee371d5
[ #1205 ] Added ChangeLog entry for #1205
2020-05-21 20:04:26 +02:00
Marcin Siodelski
7827ad759a
[ #1205 ] Added new log message
...
The log message indicates that the server is waiting for the partner to
be restarted. The partner remains in the terminated state.
2020-05-21 20:03:22 +02:00
Marcin Siodelski
24ca3b5b8f
[ #1205 ] Added a note in the ARM
...
The note talks about a new way to restart a pair of terminated servers.
The servers can be now restarted sequentially.
2020-05-21 20:02:03 +02:00
Marcin Siodelski
06e689e67e
[ #1205 ] Improved terminated restart procedure
...
The server being restarted will not transition to the terminated state if
the clocks are in sync. This prevents the servers from returning to the
terminated state when restarting the servers sequentially.
2020-05-21 20:02:03 +02:00
Francis Dupont
3d9186cc34
[ #1219 ] typo2
2020-05-21 18:04:32 +02:00
Francis Dupont
624df55a15
[ #1219 ] typo
2020-05-21 14:35:02 +02:00
Francis Dupont
9b42b902ec
[ #1219 ] Made HA MT compatible
2020-05-21 13:15:33 +02:00
Francis Dupont
34aae5196e
[ #1180 ] Fix attempt
2020-05-21 10:22:33 +02:00
Francis Dupont
f4775a016c
[ #1204 ] Changed beta from stable to development
2020-05-20 22:24:11 +00:00
Francis Dupont
3d607e6128
[ #1204 ] Applied proposed rules
2020-05-20 22:24:11 +00:00
Marcin Siodelski
c44be60b8e
[ #1087 ] Editorial fix in the ARM
...
Per review comments.
2020-05-20 17:50:29 +02:00
Marcin Siodelski
017626ae94
[ #1087 ] ChangeLog update about incompatibility
2020-05-20 17:50:25 +02:00
Marcin Siodelski
65a956f36d
[ #1087 ] Updated status-get description
...
The HA specific part of the status-get command was updated.
2020-05-20 17:49:11 +02:00
Marcin Siodelski
9aba538d28
[ #1087 ] HA status enclosed in a list
...
The HA specific status information is returned in a list rather than map.
This is a preparation for extending HA to support more than one
relationship per server.
2020-05-20 17:49:11 +02:00
Marcin Siodelski
421e163ee9
[ #1087 ] Simplified the unittests
...
Two communication state tests have been simplified as a result of the
review.
2020-05-20 17:49:11 +02:00
Marcin Siodelski
d2208d325e
[ #1087 ] Addressed editorial errors
...
Addressed all editorial errors in the docs and commentary as a result of
the review.
2020-05-20 17:49:10 +02:00
Marcin Siodelski
6ebe99ffa8
[ #1087 ] Added ChangeLog for #1087
2020-05-20 17:49:06 +02:00
Marcin Siodelski
5454f05777
[ #1087 ] Added note in hooks-ha
...
The output for the passive-backup mode is different than in other modes.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
44adb8f979
[ #1087 ] Improved communication interrupted log
...
This log message now include server's name.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
259455918c
[ #1087 ] Updated ARM
...
Described new HA specific parameters returned in response to status-get
command.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
5061cff32c
[ #1087 ] Return ha-mode
...
The HA mode name is returned in response to status-get command.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
8f7d8a4daa
[ #1087 ] HA logs in communication interrupted
...
There are new log messages emitted in the communication interrupted state
to indicate whether the server sees the traffic going to the partner.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
8fd4d8c664
[ #1087 ] Do not include remote server
...
The remote server information must not be included for the backup server
nor for the primary server being in the passive-backup mode.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
1ff6042211
[ #1087 ] Return additional parameters
...
There are additional parameters returned in the response to the status-get
command which indicate the failover status. These parameters are: a bool
value indicating if the communication is interrupted, number of clients
trying to get a lease, number of unacked clients and the number of packets
analyzed.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
72e1d6863c
[ #1087 ] CommunicationState::getReport
...
This function returns various indicators from the communication state to
be returned in the response to the status-get command. The returned report
is in the JSON format.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
02f17f4a46
[ #1087 ] Tracking all connecting clients
...
The HA lib now tracks all clients trying to connect to the partner server
when the communication is interrupted. It is possible see how many clients
have been trying so far. The unacked clients are tracked separately.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
28e56631cb
[ #1087 ] Refactored tracking unacked clients
...
The information about the unacked clients was now extended to track all
clients trying to connect, even when they are not consiered unacked yet.
The new data structures use multi index container rather than
set/multimap.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
cdd7c401ab
[ #1087 ] Return analyzed messages count in HA
...
The new counter is returned via a public method of the communication state.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
886ca05e80
[ #1087 ] Return unacked clients num
...
The HA communication state now returns the number of unacked clients via
a public method.
2020-05-20 17:48:16 +02:00
Marcin Siodelski
d4149617e7
[ #1087 ] Added missing function descriptions
...
Added descriptions to two functions in the communication state in HA.
2020-05-20 17:48:15 +02:00
Francis Dupont
4b8ce14dea
[ #1180 ] Other fixes
2020-05-20 11:00:40 -04:00
Francis Dupont
2a6a46bff9
[ #1180 ] Fixed stat table
2020-05-20 11:00:40 -04:00
Thomas Markwalder
61d4807245
[ #1180 ] Addressed review comments
2020-05-20 11:00:40 -04:00
Thomas Markwalder
098dd18824
[ #1180 ] Added Leasequery hook lib documentation
...
Added a ChangeLog entry
doc/sphinx/arm/hooks-lease-query.rst
new file
doc/sphinx/arm/dhcp4-srv.rst
Added lease-query statistics
doc/sphinx/arm/hooks.rst
Added inclusion of hooks-lease-query.rst
doc/sphinx/arm/logging.rst
Added lease-query logger
2020-05-20 11:00:40 -04:00
Marcin Siodelski
d1da269ae6
[ #1242 ] Updated mysql admin unittest
2020-05-20 13:23:01 +00:00
Marcin Siodelski
0acd534a34
[ #1242 ] Added ChangeLog for #1242
2020-05-20 13:23:01 +00:00
Marcin Siodelski
6210ac31eb
[ #1242 ] Adjusted config backend
...
The new constraints require that we explicitly delete options by subnet id
or subnet prefix upon the subnet update.
2020-05-20 13:23:01 +00:00
Marcin Siodelski
895d7a2404
[ #1242 ] Added missing indexes to options
...
The missing foreign keys have been added to the dhcp4_options and
dhcp6_options tables. This creates new db migration for MySQL, 9.2.
2020-05-20 13:23:01 +00:00
Francis Dupont
f4e514c272
[ #1226 ] Moved rollback and CS
2020-05-20 14:58:23 +02:00
Francis Dupont
523994c7dd
[ #1226 ] Added a MT CS in checkConfig
2020-05-19 22:02:48 +02:00
Francis Dupont
8da66d37ba
[ #1236 ] Added std::
2020-05-19 13:44:06 +00:00
Francis Dupont
b8caf41233
[ #1236 ] Avoid literal literal comparison
2020-05-19 13:44:06 +00:00