Added hcp attribute in the stanza and xml output of lsslp

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2010-06-22 02:39:38 +00:00
parent f7f908cb8f
commit e1fbb38a73

View File

@ -2076,6 +2076,7 @@ sub format_stanza {
#################################
# Add each attribute
#################################
$result .= "\thcp=$name\n";
foreach ( @attribs ) {
my $d = $data[$i++];
@ -2153,6 +2154,7 @@ sub format_xml {
#################################
# Add each attribute
#################################
$href->{Node}->{"hcp"} = $name;
foreach ( @attribs ) {
my $d = $data[$i++];