for the FB pblade, the parent of the blade is cmm, rflash will not check the parent's firmware level

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-02-14 08:55:06 +00:00
parent c9b4a6c15d
commit 366eb340bd

View File

@ -260,7 +260,8 @@ sub rflash {
my @levels = split(/,/, $v);
my $frame = $$d[5];
if ( $frame ne $name ) {
my $type = xCAT::DBobjUtils->getnodetype($frame);
if ( ( $frame ne $name ) && ( $type eq "frame" ) ){
my @frame_d = (0, 0, 0, $frame, "frame", 0);
$action = "list_firmware_level";