From 0224a544c4a6d71855ca18fc01d7d1389157799b Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 17 Feb 2011 09:19:38 +0000 Subject: [PATCH] Fix bug 3184653:lsslp->mgt is not correct for CEC git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 005a79b14..7468406dd 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -2700,7 +2700,13 @@ sub format_stanza { } elsif ( /^groups$/ ) { $d = "$type,all"; } elsif ( /^mgt$/ ) { - $d = $mgt{$type}; + if ($mgt{$type} =~ /^cec$/) { + $d = "fsp"; + }elsif ($mgt{$type} =~ /^frame$/) { + $d = "bpa"; + }else { + $d = $mgt{$type}; + } } elsif ( /^id$/ ) { if ( $type =~ /^(fsp|bpa|cec|frame)$/ ) { $d = $data[$i++];