part of the fix of PMR 29187,066,866

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-08-15 13:52:26 +00:00
parent b27e9870ec
commit bfe8d7b327

View File

@ -1198,6 +1198,17 @@ sub parse_responses {
}
}
}
trace( $request, "\n\n\nBegin to adjust fsp/bpa's id");
foreach my $h ( keys %outhash ) {
if(${$outhash{$h}}{type} eq TYPE_CEC or ${$outhash{$h}}{type} eq TYPE_FRAME) {
my @children = split /,/, ${$outhash{$h}}{children};
foreach my $child (@children) {
${$outhash{$child}}{fid} = ${$outhash{$h}}{fid};
${$outhash{$child}}{cid} = ${$outhash{$h}}{cid};
trace( $request, "child is $child, fid is ${$outhash{$child}}{fid}, cid is ${$outhash{$child}}{cid}");
}
}
}
##########################################################
# If there is -n flag, skip the matched nodes