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
Francis Dupont
a18bc2241e
[ #1224 ] Reverted ChangeLog
2020-05-19 15:35:25 +02:00
Francis Dupont
2033fdec04
[ #1224 ] Temporary removed (development) to make Jenkins happy
2020-05-19 10:00:23 +02:00
Francis Dupont
cfc299dc07
[ #1224 ] Regen bison files with 3.6.2
2020-05-19 07:21:03 +00:00
Francis Dupont
eecae69512
[ #1239 ] typo
2020-05-18 20:58:46 +02:00
Razvan Becheriu
806d5abcf1
[ #1239 ] addressed comments
2020-05-18 21:15:33 +03:00
Razvan Becheriu
a55deb9819
[ #1239 ] addressed comments
2020-05-18 20:59:29 +03:00
Razvan Becheriu
d1932afef6
[ #1239 ] added MT unit tests
2020-05-18 20:59:29 +03:00
Razvan Becheriu
197fd46d1e
[ #1239 ] make http client ConnectionPool thread safe
2020-05-18 20:59:29 +03:00
Razvan Becheriu
64a443b937
[ #1239 ] make http client ConnectionPool thread safe
2020-05-18 20:59:29 +03:00
Razvan Becheriu
c1d3395ec5
[ #1239 ] make http client ConnectionPool thread safe
2020-05-18 20:59:29 +03:00
Francis Dupont
bc6303e526
[ #1219 ] Removed left work marker
2020-05-18 19:44:09 +02:00
Francis Dupont
1e34c8f967
[ #1219 ] Moved shared code to fixture methods
2020-05-18 19:07:12 +02:00
Razvan Becheriu
61218cd1a4
[ #1219 ] added unit tests
2020-05-18 18:16:20 +03:00
Francis Dupont
4223be5089
[ #1219 ] Addressed comments
2020-05-18 15:03:04 +02:00
Francis Dupont
661360f1e9
[ #1219 ] Added spaces
2020-05-17 13:08:29 +02:00
Francis Dupont
68667a10a9
[ #1219 ] Finished rebase
2020-05-16 15:53:01 +02:00
Francis Dupont
2cababe790
[ #1219 ] Addressed comments
2020-05-16 15:01:53 +02:00
Francis Dupont
bee3e709b7
[ #1219 ] Made pending_requests_ thread safe
2020-05-16 15:01:53 +02:00
Razvan Becheriu
1b67c46465
[ #1227 ] added ChangeLog
2020-05-15 21:27:40 +03:00
Razvan Becheriu
4673400489
[ #1227 ] addressed review
2020-05-15 21:21:41 +03:00