From a7d3d1da211368d4a684c844293698f3f03b0c7b Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 7 May 2013 04:44:35 +0000 Subject: [PATCH] take back the filter_nodes operation after the fix in Utils::filter_nodes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index e11961596..82cc1053e 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -5930,6 +5930,16 @@ sub preprocess_request { $chunksize=$::XCATSITEVALS{syspowermaxnodes}; $delayincrement=$::XCATSITEVALS{syspowerinterval}; } + } elsif ($command eq "renergy") { + # filter out the nodes which should be handled by ipmi.pm + my (@bmcnodes, @nohandle); + xCAT::Utils->filter_nodes($request, undef, undef, \@bmcnodes, \@nohandle); + $realnoderange = \@bmcnodes; + } elsif ($command eq "rspconfig") { + # filter out the nodes which should be handled by ipmi.pm + my (@bmcnodes, @nohandle); + xCAT::Utils->filter_nodes($request, undef, undef, \@bmcnodes, \@nohandle); + $realnoderange = \@bmcnodes; } if (!$realnoderange) {