From: <yi...@us...> - 2011-12-23 02:06:04
|
Revision: 11290 http://xcat.svn.sourceforge.net/xcat/?rev=11290&view=rev Author: yinle Date: 2011-12-23 02:05:58 +0000 (Fri, 23 Dec 2011) Log Message: ----------- 1.write mpa for cmm instead of hcp. 2. Not write ip for the cmm,fsp,bpa node. Modified Paths: -------------- xcat-core/trunk/xCAT-server/lib/xcat/plugins/lsslp.pm Modified: xcat-core/trunk/xCAT-server/lib/xcat/plugins/lsslp.pm =================================================================== --- xcat-core/trunk/xCAT-server/lib/xcat/plugins/lsslp.pm 2011-12-22 13:53:53 UTC (rev 11289) +++ xcat-core/trunk/xCAT-server/lib/xcat/plugins/lsslp.pm 2011-12-23 02:05:58 UTC (rev 11290) @@ -3141,7 +3141,11 @@ ################################# # Add each attribute ################################# - $result .= "\thcp=$name\n"; + if ($type eq "cmm") { + $result .= "\tmpa=$name\n"; + } else { + $result .= "\thcp=$name\n"; + } foreach ( @attribs ) { my $d = $data[$i++]; @@ -3174,7 +3178,7 @@ next; } } elsif ( /^ip$/ ) { - if ( $type =~ /^(frame|cec)$/ ) { + if ( $type =~ /^(frame|cec|fsp|bpa|cmm)$/ ) { next; } } elsif (/^hidden$/) { @@ -3238,7 +3242,11 @@ ################################# # Add each attribute ################################# - $href->{Node}->{"hcp"} = $name; + if ($type eq "cmm") { + $href->{Node}->{"mpa"} = $name; + } else { + $href->{Node}->{"hcp"} = $name; + } foreach ( @attribs ) { my $d = $data[$i++]; @@ -3271,7 +3279,7 @@ next; } } elsif ( /^ip$/ ) { - if ( $type =~ /^(frame|cec)$/ ) { + if ( $type =~ /^(frame|cec|fsp|bpa|cmm)$/ ) { next; } } elsif (/^hidden$/) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |