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

Change-Id: I97e14252e48b3f8113dcbb3af867c973f6e4f89e
changes/30/19330/1
Guillem Jover 8 years ago
parent 3af9b793bb
commit 5775b11527

@ -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