[Keepalived-devel] [acassen/keepalived] 6c53c7: Remember more than one interface local address per.
Status: Beta
Brought to you by:
acassen
|
From: Quentin A. <no...@gi...> - 2019-02-12 00:58:53
|
Branch: refs/heads/master Home: https://github.com/acassen/keepalived Commit: 6c53c7ccbf2b38235279cf96ed31547d160c7287 https://github.com/acassen/keepalived/commit/6c53c7ccbf2b38235279cf96ed31547d160c7287 Author: Quentin Armitage <qu...@ar...> Date: 2019-02-12 (Tue, 12 Feb 2019) Changed paths: M keepalived/core/keepalived_netlink.c M keepalived/include/vrrp_if.h M keepalived/vrrp/vrrp.c M keepalived/vrrp/vrrp_if.c M lib/list.c M lib/list.h Log Message: ----------- Remember more than one interface local address per interface Keepalived needs a local address for each interface it sends adverts on. If the address keepalived is using is deleted and another address is configured on the interface, then keepalived should start using that address. To do this, a list of configured address on each interfaces needs to be maintained. Signed-off-by: Quentin Armitage <qu...@ar...> Commit: 6d8fc7bfdf72c3eed0f1a052d93403536637901b https://github.com/acassen/keepalived/commit/6d8fc7bfdf72c3eed0f1a052d93403536637901b Author: Quentin Armitage <qu...@ar...> Date: 2019-02-12 (Tue, 12 Feb 2019) Changed paths: M keepalived/core/keepalived_netlink.c M keepalived/vrrp/vrrp.c M keepalived/vrrp/vrrp_if.c M keepalived/vrrp/vrrp_ipaddress.c M lib/utils.h Log Message: ----------- Don't consider VIPs as local addresses when restart after crash Keepalived maintains a list of addresses per interface that can be used as source adddresses for adverts. To build the list, keepalived reads the addresses configured on interfaces when it starts. However, if keepalived crashed it will have left VIPs configured on interfaces, and we don't want to use them as advert source addresses. This commit makes keepalived compare the addresses on interfaces to VIPs, and ignores any addresses that are VIPs. Signed-off-by: Quentin Armitage <qu...@ar...> Commit: e58a01f6b1d0b9001b927edf49110e71c898c4ca https://github.com/acassen/keepalived/commit/e58a01f6b1d0b9001b927edf49110e71c898c4ca Author: Quentin Armitage <qu...@ar...> Date: 2019-02-12 (Tue, 12 Feb 2019) Changed paths: M keepalived/vrrp/vrrp_ipaddress.c Log Message: ----------- Fix removing left over VIPs at startup Signed-off-by: Quentin Armitage <qu...@ar...> Commit: 47d06fb675fb31edd36b1d7727cf65ef34825ffb https://github.com/acassen/keepalived/commit/47d06fb675fb31edd36b1d7727cf65ef34825ffb Author: Quentin Armitage <qu...@ar...> Date: 2019-02-12 (Tue, 12 Feb 2019) Changed paths: M keepalived/core/keepalived_netlink.c M keepalived/include/vrrp_if.h M keepalived/vrrp/vrrp.c M keepalived/vrrp/vrrp_if.c M keepalived/vrrp/vrrp_ipaddress.c M lib/list.c M lib/list.h M lib/utils.h Log Message: ----------- Merge pull request #1125 from pqarmitage/updates Improve handling of source addresses for adverts Compare: https://github.com/acassen/keepalived/compare/2299165b71dd...47d06fb675fb |