Have slpdiscover avoid doing the same IMM multiple times (due to modified SLP retry logic)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-19 21:13:43 +00:00
parent c7c57c3914
commit 63edb798e9

View File

@ -17,6 +17,7 @@ sub handled_commands {
my $callback;
my $docmd;
my %doneaddrs;
my %ip4neigh;
my %ip6neigh;
my %flexchassismap;
@ -215,6 +216,8 @@ sub configure_hosted_elements {
if ($addr =~ /^fe80/) { #Link local address requires scope index
$addr .= "%".$immdata->{scopeid};
}
if ($doneaddrs{$addr}) { next; }
$doneaddrs{$addr}=1;
setupIMM($node,slpdata=>$immdata,curraddr=>$addr,username=>$user,password=>$pass);
}
}