From e1fbb38a73b5fa5b9e4da9d45a39a8683b38d944 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 22 Jun 2010 02:39:38 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/lsslp.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index e916abc06..25eea1359 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -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++];