[acassen/keepalived] e64af4: Streamline socket use with linkbeat

Quentin Armitage <[email protected]> Fri, 01 Feb 2019 20:11:38 +0000 (UTC)
Newsgroups gmane.linux.keepalived.devel
Message-ID <acassen/keepalived/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: e64af4038bb31c948ca7e8b03edd0c040ec522a7
      https://github.com/acassen/keepalived/commit/e64af4038bb31c948ca7e8b03edd0c040ec522a7
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_if.c

  Log Message:
  -----------
  Streamline socket use with linkbeat

Previously the socket used for ioctls was opened and closed twice per
poll if using MII or ETHTOOL polling, and once per poll if using ioctl
polling. This commit opens the socket once at startup, uses that socket
for all linkbeat polls, and closes it on termination.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 681b921786d82538a04f82445c111cc9f3776a6b
      https://github.com/acassen/keepalived/commit/681b921786d82538a04f82445c111cc9f3776a6b
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M keepalived/vrrp/vrrp_if.c

  Log Message:
  -----------
  Enable linkbeat polling to work with dynamic interfaces

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 026dede041ca12db71fd3a515a7e8477015339fc
      https://github.com/acassen/keepalived/commit/026dede041ca12db71fd3a515a7e8477015339fc
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M doc/man/man5/keepalived.conf.5
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c

  Log Message:
  -----------
  Add linkbeat_interfaces configuration block

It was not possible to indicate that an interface that wasn't used
as the interface of a vrrp instance, but was used either as a track
interface, or for virtual/static ip addresses or routes should use
linkbeat. This commit adds that capability.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 366297cabbe1345d7ab4390f39c73028163d538a
      https://github.com/acassen/keepalived/commit/366297cabbe1345d7ab4390f39c73028163d538a
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M doc/man/man5/keepalived.conf.5
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c

  Log Message:
  -----------
  Add ability to specify linkbeat type in linkbeat_interfaces block

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 81953e80ed4476caad9bada7acd8c163d7b3cddd
      https://github.com/acassen/keepalived/commit/81953e80ed4476caad9bada7acd8c163d7b3cddd
  Author: Quentin Armitage <[email protected]>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M .travis.yml
    M configure.ac
    M keepalived/core/global_parser.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/snmp.c
    M keepalived/include/global_data.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c

  Log Message:
  -----------
  Add --disable-linkbeat configure option

Does anyone use linkbeat anymore? This commit enables keepalived to
be build without the linkbeat code.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: bef1c1a350124e6c54156ad2e7478679d25195ce
      https://github.com/acassen/keepalived/commit/bef1c1a350124e6c54156ad2e7478679d25195ce
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M keepalived/core/keepalived_netlink.c

  Log Message:
  -----------
  Don't remove link local IPv6 address from VMAC that isn't keepalived's

If IFLA_INET6_ADDR_GEN_MODE isn't supported and a macvlan interface
already had a (non-default) link local addresss and the link local
address that matched the interface's MAC address was added, keepalived
was removing it as soon as it was added. This commit stop keepalived
removing the address when we shouldn't.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 9c94b4081bfe96936c37845889128b0e4da55a3e
      https://github.com/acassen/keepalived/commit/9c94b4081bfe96936c37845889128b0e4da55a3e
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M keepalived.spec.in

  Log Message:
  -----------
  Set configure init type correctly in keepalived.spec file

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 6317bb7ddacf53241e0fac5c54d1427d6ab3577b
      https://github.com/acassen/keepalived/commit/6317bb7ddacf53241e0fac5c54d1427d6ab3577b
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M .travis.yml
    M configure.ac
    M doc/man/man5/keepalived.conf.5
    M keepalived.spec.in
    M keepalived/core/global_parser.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/snmp.c
    M keepalived/include/global_data.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_parser.c

  Log Message:
  -----------
  Merge pull request #1123 from pqarmitage/updates

Linkbeat tidying up and set init type correctly in rpm spec file


Compare: https://github.com/acassen/keepalived/compare/954cee8dc6e9...6317bb7ddacf