apinger: improve uci and procd support
authorJaymin Patel <jem.patel@gmail.com>
Wed, 6 Jul 2022 09:45:59 +0000 (15:15 +0530)
committerJaymin Patel <jem.patel@gmail.com>
Tue, 12 Jul 2022 06:57:05 +0000 (12:27 +0530)
commite4e3206f3283e673bfac717e00332deb8dd2c079
treed3e9a2ed5670eafcf89e1fbad12c4774741325c4
parent797945dfaa0e7de8d6b0ada472bda63bb27f0cdc
apinger: improve uci and procd support

- convert apinger into procd instances
- generate instance specific apinger.conf from uci
- hotplug handling for apinger alarms
- restart apinger interface instance on ifup action of interface
- don't exit on packet count mismatch, allows to use apinger as monitor
  for multiple targets handling
- add srcip option to target configuration, allows specifying source ip
  used to monitor target
- allow creating status file in script parseable format

Patches are ported against latest version of apinger and referenced from
https://git.pld-linux.org/?p=packages/apinger.git;a=summary

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
net/apinger/Makefile
net/apinger/files/apinger-hotplug [new file with mode: 0644]
net/apinger/files/apinger.config [new file with mode: 0644]
net/apinger/files/apinger.init
net/apinger/files/iface.hotplug [new file with mode: 0644]
net/apinger/files/user.hotplug [new file with mode: 0644]
net/apinger/patches/030-apinger-no_exit.patch [new file with mode: 0644]
net/apinger/patches/040-srcip.patch [new file with mode: 0644]
net/apinger/patches/050-statusformat.patch [new file with mode: 0644]