we should pass the 4 IPs of FSPs/BPAs to fsp-api in DFM, and don't pass them one by one

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-05-24 05:40:17 +00:00
parent 6cba9f824e
commit 7921c1f468

View File

@ -342,31 +342,7 @@ sub lshwconn_parse_args
{
return( ["Failed to open table 'nodehm'.\n"]);
}
#need to transfer CEC/Frame to FSPs/BPAs
my @inodes = ();
my @validnodes = ();
my $pnode;
my $cnode;
if ($request->{node})
{
foreach $pnode(@{$request->{node}})
{
my $ntype = xCAT::DBobjUtils->getnodetype($pnode);
if ($ntype =~ /^(cec|frame)$/)
{
$cnode = xCAT::DBobjUtils->getchildren($pnode);
foreach (@$cnode)
{
push @validnodes, $_;
}
} else
{
push @validnodes, $pnode;
}
}
$request->{node} = \@validnodes;
}
my $nodetype;
for my $node ( @{$request->{node}})
{