diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index a6ff052b2..c5576c24a 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -2421,6 +2421,18 @@ sub parse_responses { } } + if ( !defined( $parent ) ) { + if ( exists $vpd_table_hash{$bpamtm . '*' . $bpasn . '-'} ) { + my $existing_node = $vpd_table_hash{$bpamtm . '*' . $bpasn . '-'}; + my $type1 = xCAT::DBobjUtils->getnodetype($existing_node); + if ( $type1 eq "frame" and ($type eq TYPE_BPA or $type eq TYPE_CEC) ) { + $parent = $existing_node; + } elsif ( $type1 eq "cec" and $type eq TYPE_FSP ) { + $parent = $existing_node; + } + } + } + push @$data, $parent;