remove preprocess

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-09-16 14:10:06 +00:00
parent 41e1ea816b
commit d704e968f2

View File

@ -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;
#}
#-------------------------------------------------------