Ping default gateways before controllers

It may be necessary, in certain situations when using IPv6,
to ping the default gateways first before attempting to
ping other hosts in the validation script.  This swaps the
order of the pings between the controllers and default gateways.

Change-Id: I14b7fcffb0609aee3f0f53150496461396348322
Closes-Bug: 1793598
This commit is contained in:
Bob Fournier 2018-09-20 17:00:14 -04:00 committed by Dan Sneddon
parent a45a5f7ac6
commit ae3379e070
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- Ping the default gateways before controllers in
validation script. In certain situations when using
IPv6 its necessary to establish connectivity to the
router before other hosts.

View File

@ -120,8 +120,8 @@ function ntp_check() {
fi fi
} }
ping_controller_ips "$ping_test_ips"
ping_default_gateways ping_default_gateways
ping_controller_ips "$ping_test_ips"
if [[ $validate_fqdn == "True" ]];then if [[ $validate_fqdn == "True" ]];then
fqdn_check fqdn_check
fi fi