From 1f6a95dd940daab281adb2458123ad6fc8d0ea4c Mon Sep 17 00:00:00 2001 From: sakolish Date: Tue, 27 May 2008 13:56:51 +0000 Subject: [PATCH] Added calls to PPCcfg.pm for rspconfig command git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/PPC.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/PPC.pm b/perl-xCAT-2.0/xCAT/PPC.pm index 9fa60710c..23582f6c6 100644 --- a/perl-xCAT-2.0/xCAT/PPC.pm +++ b/perl-xCAT-2.0/xCAT/PPC.pm @@ -30,7 +30,7 @@ my %modules = ( rnetboot => "xCAT::PPCboot", getmacs => "xCAT::PPCmac", reventlog => "xCAT::PPClog", - rspconfig => "xCAT::PPCfsp" + rspconfig => "xCAT::PPCcfg" ); ########################################## @@ -281,7 +281,7 @@ sub preprocess_nodes { # rscan - Nodes are hardware control pts # Direct-attached FSP ######################################## - if (( $request->{command} eq "rscan" ) or + if (( $request->{command} =~ /^(rscan|rspconfig)$/ ) or ( $request->{hwtype} eq "fsp" )) { my $result = resolve_hcp( $request, $noderange ); return( $result ); @@ -686,7 +686,7 @@ sub invoke_cmd { my @exp; my $verbose_log; my @outhash; - + ######################################## # Direct-attached FSP handler ######################################## @@ -831,7 +831,7 @@ sub runcmd { return( [$@] ); } ###################################### - # Invoke method + # Invoke method ###################################### no strict 'refs'; my $result = ${$modname."::"}{$method}->($request,@_);