octavia/octavia/amphorae/backends
Gregory Thiemonge 6354f92ecc Fix netcat option in udp_check.sh for CentOS/RHEL
-w (timeout) option doesn't do anything in nmap-ncat (default netcat in
CentOS/RHEL) for UDP datagrams, and nmap-ncat has a default idle timeout
set to 2 seconds.
We can get the same behavior as netcap-openbsd (Debian/Ubuntu) by
setting that idle timeout (-i) option to 1 second.

This commit detects the flavor of the netcat binary (nmap vs other) and
uses it to adapt the parameters.

Story: 2007688
Task: 39800

Change-Id: I0100aaa428477f011bd39a90dd4ec98199b4bebc
2020-05-19 13:55:08 +02:00
..
agent Fix E741 pep8 errors 2020-05-15 10:58:22 -04:00
health_daemon Remove all usage of six library 2020-03-18 17:15:26 -04:00
utils Fix netcat option in udp_check.sh for CentOS/RHEL 2020-05-19 13:55:08 +02:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00