aboutsummaryrefslogtreecommitdiff
path: root/net/keepalived
Commit message (Collapse)AuthorAge
...
* net/keepalived: add procd_add_reload_triggerFlorian Eckert2018-01-22
| | | | | | Do service reload handling by procd. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: change use_vmac to booleanFlorian Eckert2018-01-22
| | | | | | | | Append use_vmac with no_val_ so that the uci generation will treat this as an boolean option. If the option is set then a interface with vrrp.{virtual_router_id} is added to the system. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: update keepalived.conf generation headerFlorian Eckert2018-01-22
| | | | | | Add date info to keepalived config generated. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: on virtual IP allow empty device optionFlorian Eckert2018-01-22
| | | | | | | | If ip is referenced in the instance section it is not necessary to add a device option on every "ip_address". In most sitution it es enough to add only an ip. Allow empty device option will solve this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: fix kmod-macvlan dependencyFlorian Eckert2018-01-22
| | | | | | | | | | | | If the option 'use_vmac' is selected in a keepalived config and kmod-macvlan is not installed then keepalived raise an error. Netlink: error: Not supported, type=(16), seq=1510647577, pid=0 vmac: Error creating VMAC interface vrrp.42 for vrrp_instance xxx!!! Add 'kmod-macvlan' to the package dependency list fixes this error. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: add keepalived.user script handlingFlorian Eckert2017-11-08
| | | | | | Add keepalived.user script handling which are also saved during sysupgrade. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: add notify hotplug-call script handlingFlorian Eckert2017-11-08
| | | | | | | | During keepalived config generation for the vrrp_instance and vrrp_sync_group the notify_* sections are automatic added to the runtime keepalived.conf. This could be used for service which want to react on keepalived notifications. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: comment alt_config_fileFlorian Eckert2017-11-07
| | | | | | Comment alt_config_file option in default config Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: move track_interface generation into own sectionFlorian Eckert2017-10-30
| | | | | | | | | | | | In a vrrp_instance the track_interface could not be referenced similar to a track_script. The uci track_interface section must be always set into every vrrp_instance. During config generation use the already prepared function "print_track_elem_indent" to write the track_interface section into every vrrp_instance which references this. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: add quoting for print_elems_indent functionFlorian Eckert2017-10-30
| | | | | | | | | If you add a notify_* script which is not only a path to a script or to a bin file, it is necessary to quote to whole string. If you do not quote this the config will not get accepted by keepalived and so will not start. This will fix this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: preserve keepalived uci file over sysupgradeFlorian Eckert2017-10-30
| | | | | | Preserve keepalived uci file over sysupgrade. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: update CONFIGURE_ARGSFlorian Eckert2017-10-30
| | | | | | | | | | Remove unused and unrecognized (outdated) configure options in Makefile. --enable-vrrp --enable-fwmark --disable-debug --disable-profile Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: update version to 1.3.9Florian Eckert2017-10-30
| | | | | | update keepalived to version 1.3.9 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/keepalived: remove patches for version 1.2.19Florian Eckert2017-10-30
| | | | | | This patches are already upstream. Not needed anymore. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* keepalived: switch maintainer to Ben Kelly (@scrpi)Alexandru Ardelean2017-01-09
| | | | | | | | | | Talked it over with Ben (@scrpi). He said he'd be fine with taking over maintainership of this. @scrpi: please confirm this on PR. Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #3759 from commodo/keepalived-default-old-confStijn Tintel2017-01-04
|\ | | | | keepalived: use old keepalived.conf by default
| * keepalived: use old keepalived.conf by defaultAlexandru Ardelean2017-01-04
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | keepalived: fix recvmsg/sendmsg on mips64 againStijn Tintel2017-01-04
|/ | | | | | | | | | Commit e73964fa8fae94473e9046dfd8fd505206b50ab3 incorrectly dropped the patch 101-update-struct-msghdr.patch. Add it again, and while add it also add the follow-up patch that was added upstream. Fixes #3757. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* keepalived: upgrade to version 1.2.19Alexandru Ardelean2016-12-31
| | | | | | | | | | | | Dropped patches, unrequired. There is a newer version released, but I cannot vouch for it yet. We've been using this one for about a year now. Since, I only recently became maintainer of `keepalived`, I will push this as the current stable one, and start using a newer version internally, before releasing it to the public. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: add myself as maintainerAlexandru Ardelean2016-12-31
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: suppress reloads when config md5 has no changeBen Kelly2016-12-31
| | | | | Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: Fix ordering of config sectionsBen Kelly2016-12-31
| | | | | | | | | | | | | | | | | keepalived seems to be rather particular about which config parameters come before others. When defining a virtual IP address, keepalived will check to see if the vrrp instance is associated with a valid interface. Previously, the interface parameter was declared after the virtual IP address which caused an error when keepalived tried to run this check. Keepalived tries to fall back to checking if 'eth0' exists. The fix is to re-order the config stanzas so that the interface parameter comes before the virtual IP address definitions. Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: Fix track_* option in vrrp_instance defnBen Kelly2016-12-31
| | | | | | | | | | | | | | | | | Also fix ordering of config stanzas We were parsing the track_script and track_interface definitions to include the weight param when configuring a vrrp_instance. This is not correct, as the weight param inside a vrrp instance is used to augment the one defined in the script. We were also not taking into account vrrp_script stanzas This commit skips the parsing and simply lists the name of the track/vrrp object Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: add uci config supportAlexandru Ardelean2016-12-31
| | | | | | | | | | Adding @scrpi (Ben Kelly). Initial UCI config support was written by me (@commodo) Updates & fixes added by Ben. Signed-off-by: Ben Kelly <ben@benjii.net> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: convert init script to procd formatAlexandru Ardelean2016-12-31
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: make the use of libnl optionalAlexandru Ardelean2016-12-31
| | | | | | | | | | keepalived seems to work fine without it. There is fall-back code that kicks in when it's not present. So, we will build against (or pull) the libnl package only if there is another package that pulls it. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: fix recvmsg/sendmsg on mips64Stijn Tintel2016-06-09
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* keepalived: update to use only libnl-genlAlexandru Ardelean2015-10-01
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* keepalived: fix musl compatibilityJo-Philipp Wich2015-06-17
| | | | | | - Add missing sys/types.h include to provide u_short type under musl Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* keepalived: update to 1.2.16Nicolas Thill2015-04-06
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* keepalived: import from old packages feedNicolas Thill2015-02-07
- update to latest version (v1.2.15) - add license info - add myself as maintainer Signed-off-by: Nicolas Thill <nico@openwrt.org>