part of the fix of PMR 29187,066,866
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
83e88eac4b
commit
f94475e615
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user