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
This commit is contained in:
parent
97b2f55285
commit
1f6a95dd94
@ -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,@_);
|
||||
|
Loading…
Reference in New Issue
Block a user