From 8962b5b7ce6209bba9da820acf32a770a4028a4e Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 5 Mar 2012 02:05:11 +0000 Subject: [PATCH] DFM supports for blade git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 13ab0807d..ac2bb700f 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -83,7 +83,7 @@ sub fsp_api_action { $id = $$attrs[0]; $fsp_name = $$attrs[3]; - if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/ || $$attrs[4] =~ /^cec$/) { + if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/ || $$attrs[4] =~ /^(cec|blade)$/) { $type = 0; $fsp_bpa_type="fsp"; } elsif($$attrs[4] =~ /^bpa$/ || $$attrs[4] =~ /^frame$/) { @@ -230,7 +230,7 @@ sub fsp_state_action { $fsp_name = $node_name; - if($type_name =~ /^fsp$/ || $type_name =~ /^lpar$/ || $type_name =~ /^cec$/) { + if($type_name =~ /^fsp$/ || $type_name =~ /^lpar$/ || $type_name =~ /^(cec|blade)$/) { $type = 0; } else { $type = 1;