[acassen/keepalived] cd1873: Adding libipvs flags support

pqarmitage <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <57d9d47182183_b6c3fd467a9b14c8574f@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: cd187390255ce1fce85b10943321d548b6ca2c46
      https://github.com/acassen/keepalived/commit/cd187390255ce1fce85b10943321d548b6ca2c46
  Author: root <[email protected]>
  Date:   2016-08-31 (Wed, 31 Aug 2016)

  Changed paths:
    M keepalived/check/check_data.c
    M keepalived/check/check_parser.c
    M keepalived/check/ipvswrapper.c
    M keepalived/include/check_data.h
    M lib/vector.h

  Log Message:
  -----------
  Adding libipvs flags support

Support passing libipvs flags by configuration file.
keyword for flags is lb_flags
for example:
lb_flags flag-1 flag-2 hashed


  Commit: b531076e36c1b6833dcbb1b8ea4315b46eef8826
      https://github.com/acassen/keepalived/commit/b531076e36c1b6833dcbb1b8ea4315b46eef8826
  Author: nirs <[email protected]>
  Date:   2016-09-01 (Thu, 01 Sep 2016)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/check/check_data.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_snmp.c
    M keepalived/check/ipvswrapper.c
    M keepalived/include/check_data.h
    M lib/vector.h

  Log Message:
  -----------
  IPVS flags V2


  Commit: 67f3a0cd33b1120750373306af83f01a4c0c03cf
      https://github.com/acassen/keepalived/commit/67f3a0cd33b1120750373306af83f01a4c0c03cf
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    A doc/.gitignore

  Log Message:
  -----------
  Make git ignore doc/build directory

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


  Commit: 0f74eecc6e99a28d2159a97a8265c2a6c95078bf
      https://github.com/acassen/keepalived/commit/0f74eecc6e99a28d2159a97a8265c2a6c95078bf
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/check/check_data.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_snmp.c
    M keepalived/check/ipvswrapper.c
    M keepalived/include/check_data.h

  Log Message:
  -----------
  Merge remote-tracking branch 'nirshatsmellanox/master' into queue-1.2.24


  Commit: e6594f9f30ef559b53c4a9dfa295e3bba0780b6a
      https://github.com/acassen/keepalived/commit/e6594f9f30ef559b53c4a9dfa295e3bba0780b6a
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M keepalived/check/check_parser.c

  Log Message:
  -----------
  Remove duplicated keyword "hashed"

Commit b531076 added the "hashed" keyword twice.

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


  Commit: 03dc1c76362c84a58aa0f6539c53cbd4d766c7ab
      https://github.com/acassen/keepalived/commit/03dc1c76362c84a58aa0f6539c53cbd4d766c7ab
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c

  Log Message:
  -----------
  Make one packet scheduling to work again

Commit b531076 changed the logic to clear the one packet scheduling flag
if the protocol is UDP; it should be cleared if the protocol is NOT UDP.

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


  Commit: 8f846afa1c8b8aac6f07128bc1dacb2798f718ef
      https://github.com/acassen/keepalived/commit/8f846afa1c8b8aac6f07128bc1dacb2798f718ef
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/check/check_data.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_snmp.c
    M keepalived/check/ipvswrapper.c

  Log Message:
  -----------
  Various fixes re LVS scheduling flags additions

Fix typos, standardise code layout and optimise string comparision
tests.

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


  Commit: 3714befcc934248f3cedb421283c483a1cb0a58c
      https://github.com/acassen/keepalived/commit/3714befcc934248f3cedb421283c483a1cb0a58c
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/check/check_data.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_snmp.c
    M keepalived/check/ipvswrapper.c
    M lib/config.h.in

  Log Message:
  -----------
  Enable compilation with LVS scheduling flags on Linux prior to 3.11

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


  Commit: cdb9366afaa1760882c61dc5cfa024e0aa0faf7d
      https://github.com/acassen/keepalived/commit/cdb9366afaa1760882c61dc5cfa024e0aa0faf7d
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M doc/KEEPALIVED-MIB
    M keepalived/check/check_snmp.c

  Log Message:
  -----------
  Add SNMP support for new LVS scheduler flags

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


  Commit: 5b1ed0afa0196fd070bd01dc46b95260484b11ae
      https://github.com/acassen/keepalived/commit/5b1ed0afa0196fd070bd01dc46b95260484b11ae
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_if.c

  Log Message:
  -----------
  Trivial conditional compilation tidyup

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


  Commit: 7c677ea600c97866bc17baa0b4837ae56d90bc94
      https://github.com/acassen/keepalived/commit/7c677ea600c97866bc17baa0b4837ae56d90bc94
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  Streamline use of vrrp_update_priority()

Don't call vrrp_update_priorty() on a VRRP instance that is the address
owner, since it won't update the effective priority anyway.

vrrp_update_priority() also doesn't need to check for sync group or
global tracking, since it will only be called if !sync || global_tracking.

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


  Commit: b391c6c6f758d61be1244a88ab3c7a0b2a09bdb1
      https://github.com/acassen/keepalived/commit/b391c6c6f758d61be1244a88ab3c7a0b2a09bdb1
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M ChangeLog
    M configure.ac

  Log Message:
  -----------
  Merge branch 'master' into fixes


  Commit: 745e9b353baaa6558db64259a50ddbe03b10103b
      https://github.com/acassen/keepalived/commit/745e9b353baaa6558db64259a50ddbe03b10103b
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M ChangeLog
    M configure.ac

  Log Message:
  -----------
  Merge branch 'fixes' into queue-1.2.24


  Commit: 1761ed8fa87bfe1514eb31630adb0ade3cf30e32
      https://github.com/acassen/keepalived/commit/1761ed8fa87bfe1514eb31630adb0ade3cf30e32
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  Update configure for 1.2.24

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


  Commit: f3e24d76cac85d242597932f1ec5b2aa5832bf26
      https://github.com/acassen/keepalived/commit/f3e24d76cac85d242597932f1ec5b2aa5832bf26
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  Merge branch 'fixes' into queue-1.2.24


  Commit: 5133512f937eefd07fde671596957559d44dc326
      https://github.com/acassen/keepalived/commit/5133512f937eefd07fde671596957559d44dc326
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  Fix compilation failure introduced in 7c677ea

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


  Commit: f76a84be6ae5312d3ea21421329bb3e781e82f3c
      https://github.com/acassen/keepalived/commit/f76a84be6ae5312d3ea21421329bb3e781e82f3c
  Author: Lorenzo Martinico <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M keepalived/core/namespaces.c

  Log Message:
  -----------
  Clarified namespace set up instructions


  Commit: b7b2534a75bcd53600abf291dfa710caec4d60fc
      https://github.com/acassen/keepalived/commit/b7b2534a75bcd53600abf291dfa710caec4d60fc
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    M doc/KEEPALIVED-MIB
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/Makefile.am
    M keepalived/Makefile.in
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M keepalived/core/snmp.c
    A keepalived/dbus/.gitignore
    A keepalived/dbus/Makefile.am
    A keepalived/dbus/Makefile.in
    A keepalived/dbus/org.keepalived.Vrrp1.Instance.xml
    A keepalived/dbus/org.keepalived.Vrrp1.Vrrp.xml_template
    A keepalived/dbus/org.keepalived.Vrrp1.conf
    M keepalived/include/global_data.h
    A keepalived/include/vrrp_dbus.h
    M keepalived/vrrp/Makefile.am
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    A keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_notify.c
    M lib/config.h.in

  Log Message:
  -----------
  Add DBus functionality to VRRP

Add new pthread off VRRP to expose DBUs service org.keepalived.Vrrp1
through a GMainLoop.
Create a general /org/keepalived/Vrrp1/Vrrp DBus
object and a /org/keepalived/Vrrp1/Instance/#interface#/#group# object for
each VRRP instance.
Interface org.keepalived.Vrrp1.Vrrp implements methods PrintData,
PrintStats and signal VrrpStopped.
Interface com.keepalived.Vrrp1.Instance implements method SendGarp
(sends a single Gratuitous ARP from the given Instance),
signal VrrpStatusChange, and properties Name and State (retrievable
through calls to org.freedesktop.DBus.Properties.Get)

Interface files are located at location /usr/share/dbus-1/interfaces/
A policy file, which determines who has access to the service, is
located at /etc/dbus-1/system.d/

Patch from: Lorenzo Martinico <[email protected]> with a variety
of updates.

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


  Commit: 07a5a81ad570628360c127cbbcfb0f91922ac552
      https://github.com/acassen/keepalived/commit/07a5a81ad570628360c127cbbcfb0f91922ac552
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M lib/scheduler.c

  Log Message:
  -----------
  Resolve DBus working after a reload

thread_destroy_list() was closing file descriptors of read and write
threads, but we wanted the DBus pipes to remain open. It transpires that
closing the fds in thread_destroy_list() is unnecessary, since they are
closed elsewhere anyway, so stop closing the fds in thread_destroy_list().

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


  Commit: 518126752799d6e301178cf25f6d56df6aea3f4c
      https://github.com/acassen/keepalived/commit/518126752799d6e301178cf25f6d56df6aea3f4c
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    M genhash/layer4.c
    M genhash/main.c
    M keepalived/check/check_daemon.c
    M keepalived/check/check_http.c
    M keepalived/check/check_misc.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_smtp.c
    M keepalived/check/check_snmp.c
    M keepalived/check/check_ssl.c
    M keepalived/check/check_tcp.c
    M keepalived/check/ipvswrapper.c
    M keepalived/check/libipvs.c
    M keepalived/core/global_parser.c
    M keepalived/core/layer4.c
    M keepalived/core/main.c
    M keepalived/core/smtp.c
    M keepalived/core/snmp.c
    M keepalived/include/check_http.h
    M keepalived/include/layer4.h
    M keepalived/include/vrrp.h
    M keepalived/include/vrrp_data.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_data.c
    M keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/parser.c
    M lib/parser.h
    M lib/scheduler.c
    M lib/timer.h

  Log Message:
  -----------
  Add stronger compiler warnings (-Wextra)

The following bugs were discovered:
check_smnp_realserver_weight()
	comparison if unsigned value < 0

alloc_ipaddress()
	comparison of unsigned == -1 and not checking
	return status of find_rttables_scope() correctly

read_line()
	accessing element buf[18446744073709551615]
	  ie. buf[2^64-1], which is the same as buf[-1].

The following improvements to the code were made:

Many unused function parameters
	either removed or marked unused

Many signed vs. unsigned comparisons
	In most cases variables change to be unsigned

Lengths being stored in signed variables

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


  Commit: b0dc3b4f110ef6b8c532c12f7fc1ed73ad78557b
      https://github.com/acassen/keepalived/commit/b0dc3b4f110ef6b8c532c12f7fc1ed73ad78557b
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M keepalived/dbus/Makefile.am
    M keepalived/dbus/Makefile.in

  Log Message:
  -----------
  Clean up make output for DBus

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


  Commit: 2efddaaeebdbe1381572bc71edd1c46cb6555e61
      https://github.com/acassen/keepalived/commit/2efddaaeebdbe1381572bc71edd1c46cb6555e61
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    M lib/config.h.in

  Log Message:
  -----------
  Rationalise checking of libnl-3

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


  Commit: 7016c55f713002ccd251dd15edcd1f0d31189004
      https://github.com/acassen/keepalived/commit/7016c55f713002ccd251dd15edcd1f0d31189004
  Author: Quentin Armitage <[email protected]>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    R doc/KEEPALIVED-MIB
    A doc/KEEPALIVED-MIB.txt
    M doc/Makefile.am
    M doc/Makefile.in
    R doc/VRRP-MIB
    A doc/VRRP-MIB.txt
    R doc/VRRPv3-MIB
    A doc/VRRPv3-MIB.txt
    M keepalived.spec.in
    M keepalived/Makefile.am
    M keepalived/Makefile.in
    A keepalived/etc/init.d/keepalived
    R keepalived/etc/init.d/keepalived.init
    R keepalived/etc/init.d/keepalived.sysconfig
    A keepalived/etc/init/keepalived.conf
    A keepalived/etc/sysconfig/keepalived

  Log Message:
  -----------
  Bring generation of rpmbuild keepalived.spec file up to date

The keepalived.spec file is now created to match the options passed
to configure. It also detects if the system init process is systemd,
upstart or the traditional SYSV init system.

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


  Commit: cd107ec7b32841421a4bd442091f814bd6731bee
      https://github.com/acassen/keepalived/commit/cd107ec7b32841421a4bd442091f814bd6731bee
  Author: pqarmitage <[email protected]>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M configure
    M configure.ac
    A doc/.gitignore
    R doc/KEEPALIVED-MIB
    A doc/KEEPALIVED-MIB.txt
    M doc/Makefile.am
    M doc/Makefile.in
    R doc/VRRP-MIB
    A doc/VRRP-MIB.txt
    R doc/VRRPv3-MIB
    A doc/VRRPv3-MIB.txt
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M genhash/layer4.c
    M genhash/main.c
    M keepalived.spec.in
    M keepalived/Makefile.am
    M keepalived/Makefile.in
    M keepalived/check/check_daemon.c
    M keepalived/check/check_data.c
    M keepalived/check/check_http.c
    M keepalived/check/check_misc.c
    M keepalived/check/check_parser.c
    M keepalived/check/check_smtp.c
    M keepalived/check/check_snmp.c
    M keepalived/check/check_ssl.c
    M keepalived/check/check_tcp.c
    M keepalived/check/ipvswrapper.c
    M keepalived/check/libipvs.c
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M keepalived/core/layer4.c
    M keepalived/core/main.c
    M keepalived/core/namespaces.c
    M keepalived/core/smtp.c
    M keepalived/core/snmp.c
    A keepalived/dbus/.gitignore
    A keepalived/dbus/Makefile.am
    A keepalived/dbus/Makefile.in
    A keepalived/dbus/org.keepalived.Vrrp1.Instance.xml
    A keepalived/dbus/org.keepalived.Vrrp1.Vrrp.xml_template
    A keepalived/dbus/org.keepalived.Vrrp1.conf
    A keepalived/etc/init.d/keepalived
    R keepalived/etc/init.d/keepalived.init
    R keepalived/etc/init.d/keepalived.sysconfig
    A keepalived/etc/init/keepalived.conf
    A keepalived/etc/sysconfig/keepalived
    M keepalived/include/check_data.h
    M keepalived/include/check_http.h
    M keepalived/include/global_data.h
    M keepalived/include/layer4.h
    M keepalived/include/vrrp.h
    M keepalived/include/vrrp_data.h
    A keepalived/include/vrrp_dbus.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/Makefile.am
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_data.c
    A keepalived/vrrp/vrrp_dbus.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_notify.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/config.h.in
    M lib/parser.c
    M lib/parser.h
    M lib/scheduler.c
    M lib/timer.h

  Log Message:
  -----------
  Merge pull request #420 from pqarmitage/fixes

Updates queued for 1.2.24


Compare: https://github.com/acassen/keepalived/compare/622ef5a932e0...cd107ec7b328

------------------------------------------------------------------------------

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.