Changed "model" attribute to "mtm" in format_xml() and format_stanza()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8b5dec830c
commit
ecaefac00d
@ -22,7 +22,7 @@ my @header = (
|
||||
["serial-number", "%-15s" ],
|
||||
["address", "%s\n" ]);
|
||||
|
||||
my @attribs = qw(nodetype node id model serial hcp pprofile parent groups mgt);
|
||||
my @attribs = qw(nodetype node id mtm serial hcp pprofile parent groups mgt);
|
||||
my %nodetype = (
|
||||
fsp => $::NODETYPE_FSP,
|
||||
bpa => $::NODETYPE_BPA,
|
||||
@ -486,7 +486,7 @@ sub format_stanza {
|
||||
$d = "$type,all";
|
||||
} elsif ( /^mgt$/ ) {
|
||||
$d = $hwtype;
|
||||
} elsif ( /^model|serial$/ ) {
|
||||
} elsif ( /^mtm|serial$/ ) {
|
||||
if ( $type eq "lpar" ) {
|
||||
$d = undef;
|
||||
}
|
||||
@ -544,7 +544,7 @@ sub format_xml {
|
||||
$d = "$type,all";
|
||||
} elsif ( /^mgt$/ ) {
|
||||
$d = $hwtype;
|
||||
} elsif ( /^model|serial$/ ) {
|
||||
} elsif ( /^mtm|serial$/ ) {
|
||||
if ( $type eq "lpar" ) {
|
||||
$d = undef;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user