For HMC, we should not out id and parent attribute in stanza or xml format. Remove these two attributes in stanza and xml formatting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
990e85c532
commit
25cadc1e29
@ -2083,9 +2083,12 @@ sub format_stanza {
|
||||
$d = $data[$i++];
|
||||
} elsif ( $type =~ /^bpa$/ ) {
|
||||
$i++;
|
||||
} else {
|
||||
$i++;
|
||||
next;
|
||||
}
|
||||
$i++;
|
||||
} elsif ( /^side$/ ) {
|
||||
} elsif ( /^side$/ or /^parent$/ ) {
|
||||
if ( $type !~ /^(fsp|bpa)$/ ) {
|
||||
next;
|
||||
}
|
||||
@ -2157,9 +2160,12 @@ sub format_xml {
|
||||
$d = $data[$i++];
|
||||
} elsif ( $type =~ /^bpa$/ ) {
|
||||
$i++;
|
||||
} else {
|
||||
$i++;
|
||||
next;
|
||||
}
|
||||
$i++;
|
||||
} elsif ( /^side$/ ) {
|
||||
} elsif ( /^side$/ or /^parent$/ ) {
|
||||
if ( $type !~ /^(fsp|bpa)$/ ) {
|
||||
next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user