display the ip for the rscan command

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2011-12-27 02:12:07 +00:00
parent 93d22d0658
commit 09fe391c8b

View File

@ -1341,12 +1341,12 @@ sub rscan {
#generate the fsp entry base on the rscan result from the telnet command line
if (defined($telnetrscan{$_}{'0'}) && $telnetrscan{$_}{'0'}{'type'} eq "fsp") {
$fspname .= $name."-fsp0";
push @values, join( ",","fsp",$fspname,$_,"$type$model",$serial,"");
push @values, join( ",","fsp",$fspname,$_,"$type$model",$serial,$telnetrscan{$_}{'0'}{'ip'});
$isppcblade = 1;
}
if (defined($telnetrscan{$_}{'1'}) && $telnetrscan{$_}{'1'}{'type'} eq "fsp") {
$fspname = $name."-fsp1";
push @values, join( ",","fsp",$fspname,$_,"$type$model",$serial,"");
push @values, join( ",","fsp",$fspname,$_,"$type$model",$serial,$telnetrscan{$_}{'1'}{'ip'});
$isppcblade = 1;
}
if ($isppcblade) {