Razvan Becheriu
75573c504a
[ #1073 ] added unittests
2020-01-27 16:57:36 +02:00
Razvan Becheriu
bfca2dbd15
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
61ffb5eab7
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
00225a6d8f
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
76d0b1dc1e
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
e09f24cd97
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
0d59372c73
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
2d323180d9
[ #1073 ] implemented connection pool for mysql host mgr
2020-01-27 16:57:36 +02:00
Francis Dupont
1f819a415a
[ #724 ] Added ChangeLog entry
2020-01-27 15:14:56 +01:00
Francis Dupont
010c44af22
[ #724 ] Regenerated after rebase
2020-01-27 15:13:55 +01:00
Francis Dupont
62d408dc0b
[724-subnet-and-shared-network-default-and-inheritance-are-not-consistent] Removed other variables which can be handled by getProperty only
2020-01-27 15:13:55 +01:00
Francis Dupont
c7454f18f6
[724-subnet-and-shared-network-default-and-inheritance-are-not-consistent] Checkpoint: removed version specific variables
2020-01-27 15:13:55 +01:00
Marcin Siodelski
5aee9f6069
[ #946 ] Added ChangeLog entry for 946
2020-01-27 14:55:44 +01:00
Marcin Siodelski
b724d75323
[ #946 ] Documented ddns parameters in CB
...
The DDNS specific parameters are now included in the tables that list
parameters supported/not supported by the CB.
2020-01-27 13:52:07 +00:00
Francis Dupont
950f6455e0
[ #946 ] Created new MySQL schema version
2020-01-27 13:52:07 +00:00
Francis Dupont
fe85bbc16b
[ #946 ] Addressed comments
2020-01-27 13:52:07 +00:00
Francis Dupont
d6d883a62e
[ #946 ] Added tests
2020-01-27 13:52:07 +00:00
Francis Dupont
619d7c30bb
[ #946 ] Checkpoint: code done, new tests to add
2020-01-27 13:52:07 +00:00
Francis Dupont
cb75f05bf5
[ #946 ] Updated MySQL schema
2020-01-27 13:52:07 +00:00
Tomek Mrugalski
506185f632
[ #1079 ] ChangeLog added
2020-01-27 14:31:10 +01:00
Tomek Mrugalski
76298e9e4f
[ #1079 ] Typo fixed after review
2020-01-27 14:30:58 +01:00
Tomek Mrugalski
f65f3a5e79
[ #1079 ] Reworded the text slightly
2020-01-27 14:28:13 +01:00
Tomek Mrugalski
ccfb9d4f0e
[ #1079 ] Comments vs user-context documented
2020-01-27 14:28:13 +01:00
Marcin Siodelski
57eee8e7a1
[ #1024 ] Warn about direct use of HA command
...
The ha-maintenance-notify command is used for internal communication
between the HA servers. The ARM now warns about it. Per review comments.
2020-01-27 13:59:02 +01:00
Marcin Siodelski
2f9ae10437
[ #1024 ] Fixed a typo in header file
...
Per review comments.
2020-01-27 13:59:02 +01:00
Marcin Siodelski
15133fd79a
[ #1024 ] Added ChangeLog for #1024
2020-01-27 13:59:02 +01:00
Marcin Siodelski
4243076f38
[ #1024 ] Edits in the Kea ARM
...
Remove some superfluous occurences of "being". Removed "the" before
"server1" per review comments.
2020-01-27 13:55:18 +01:00
Marcin Siodelski
0a68d09c69
[ #1024 ] Renamed the new states
...
- maintained to in-maintenance
- partner-maintained to partner-in-maintenance
2020-01-27 13:55:18 +01:00
Marcin Siodelski
94deb851e0
[ #1024 ] Improved processMaintenanceNotify test
...
Apart from checking the transition from the invalid states also check that
transitions from all of the supported states is possible.
2020-01-27 13:55:18 +01:00
Marcin Siodelski
a6f61c0805
[ #1024 ] Prevent getting back to maintenance
...
After canceling the maintenance the server used to come back seeing its
partner still in the maintenance state. Now we prevent it by posting an
event.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
8ca1dfa4bb
[ #1024 ] Corrected ha-maintenance-cancel API doc
2020-01-27 13:55:17 +01:00
Marcin Siodelski
8ee00cbf73
[ #1024 ] Documented ha-maintenance-cancel command
2020-01-27 13:55:17 +01:00
Marcin Siodelski
16a48e5add
[ #1024 ] Implemented canceling maintenance
...
There is a new ha-maintenance-cancel command to be sent to the partner
in the partner-maintained state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
a115fa9e4f
[ #1024 ] Added cancel option to ha-maintenance-notify
...
The cancel option is set to true to cancel the maintained state and
transition the server back to the previous state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
0f879c9150
[ #1024 ] Clarify upgrades from older HA versions
...
Added a section which explains how to benefit from the maintenance
mechanism during the upgrade from the old HA versions.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
1b25687150
[ #1024 ] Documented HA maintenance mechanism
2020-01-27 13:55:17 +01:00
Marcin Siodelski
312d2bc9d4
[ #1024 ] Enhance partner-maintained to partner-down
...
Added support for cases when the server receiving the ha-maintenance-start
command transitions to the partner-down state when the remote control
agent responds with an error, presumably because the DHCPv4 server behind
it is offline. There is a new error code 10001 returned in response to the
ha-maintenance-notify command which indicates that the remote server is
alive but can't transition to the maintained state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
f07d6716f1
[ #1024 ] Implemented ha-maintenance-start command
2020-01-27 13:55:17 +01:00
Marcin Siodelski
67cfb7810f
[ #1024 ] Implemented ha-maintenance-notify
...
This command transitions the receiving partner into the maintained state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
0cdfa6693a
[ #1024 ] Added unit test for new state transitions
...
Checking transitions from the maintained and partner-maintained states.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
22d64dbce6
[ #1024 ] Implemented state handlers
...
There are now new handlers for the maintained and partner-maintained state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
3f5acda310
[ #1024 ] Test state transitions
...
Covers the cases when partner reports maintained or partner-maintained
state.
2020-01-27 13:55:17 +01:00
Marcin Siodelski
fcad0aef12
[ #1024 ] Defined two new HA states
...
The new states are:
- partner-maintained
- maintained
2020-01-27 13:55:17 +01:00
Tomek Mrugalski
9df62fcd40
[ #1064 ] Added ChangeLog
2020-01-26 20:54:29 +01:00
Tomek Mrugalski
6d49218fdd
[ #1064 ] Minor typo corrected
2020-01-26 20:52:05 +01:00
Tomek Mrugalski
f58a7c2d2b
[ #1064 ] Added couple comments in unit-tests
2020-01-26 20:47:32 +01:00
Tomek Mrugalski
7b756fbbc0
[ #1064 ] Updated ARM text
2020-01-26 20:16:14 +01:00
Francis Dupont
ed9a42c6e5
[ #1064 ] Updated documentation
2020-01-26 19:42:44 +01:00
Francis Dupont
e04ff33c18
[ #1064 ] Updated tests
2020-01-26 19:42:44 +01:00
Francis Dupont
193caed341
[ #1064 ] Added pkt4_send code (tests to do)
2020-01-26 19:42:44 +01:00