firstly, rflash supports for single FSP or BPA

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-03-17 09:50:22 +00:00
parent 9df05a1a5d
commit d3d73a885a

View File

@ -471,13 +471,19 @@ sub rflash {
}
dpush ( \@value, [$name, $msg]);
}
my $res = xCAT::FSPUtils::fsp_api_action( $name, $d, $action );
push(@value,[$name, @$res[1], @$res[2]]);
return (\@value);
my $nodes = get_related_fsp_bpa( $mtm, $serial);
#print Dumper($nodes);
my $i = 0;
my $flag = 0;
my $c = @$nodes;
my $name2 = undef;
if ($c == 1 && $role == 0x01 ) {
my @dt;
if ($c == 1 && $role == 0x01 ) {
}
if ($c == 1 && $role == 0x02 ) {