From d704e968f2377b77fa347191fe3379a0506d5902 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 16 Sep 2008 14:10:06 +0000 Subject: [PATCH] remove preprocess git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/sinv.pm | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/sinv.pm b/xCAT-server/lib/xcat/plugins/sinv.pm index 155554f92..eb50ab6a9 100644 --- a/xCAT-server/lib/xcat/plugins/sinv.pm +++ b/xCAT-server/lib/xcat/plugins/sinv.pm @@ -43,33 +43,6 @@ sub handled_commands =cut #------------------------------------------------------- -#sub preprocess_request -#{ -# my $req = shift; -# my $cb = shift; -# my %sn; -# my $sn; -# if ($req->{_xcatdest}) { return [$req]; } #exit if preprocessed -# my $nodes = $req->{node}; -# my $service = "xcat"; -# my @requests; -# -# find service nodes for requested nodes -# build an individual request for each service node -# $sn = xCAT::Utils->get_ServiceNode($nodes, $service, "MN"); - -# build each request for each service node - -# foreach my $snkey (keys %$sn) -# { -# my $reqcopy = {%$req}; -# $reqcopy->{node} = $sn->{$snkey}; -# $reqcopy->{'_xcatdest'} = $snkey; -# push @requests, $reqcopy; - -# } -# return \@requests; -#} #-------------------------------------------------------