TT#30355 Ignore duplicate IP for dummy interfaces on network validator

Change-Id: I97e14252e48b3f8113dcbb3af867c973f6e4f89e
(cherry picked from commit 5775b11527)
changes/35/19435/1
Guillem Jover 8 years ago
parent 27219b3849
commit 66cbb1a6d4

@ -124,7 +124,8 @@ foreach my $hostname (sort keys %{$yaml->{hosts}}) {
foreach my $iface (sort @{$host->{interfaces}}) {
# Manual interface checks.
if (defined $host->{$iface}->{ip} and
$host->{$iface}->{ip} ne '127.0.0.1') {
$host->{$iface}->{ip} ne '127.0.0.1' and
$iface !~ m/^dummy/) {
push @{$dupe_ip{$host->{$iface}->{ip}}}, "$hostname/$iface";
}
if (defined $host->{$iface}->{hwaddr} and

Loading…
Cancel
Save