git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-28 11:57:26 +00:00
parent 235a4f036f
commit f1db7a8e2b

View File

@ -53,13 +53,16 @@ sub process_request
my $args = $request->{arg};
my $envs = $request->{env};
my %rsp;
my $i = 0;
my $i = 1;
my @nodes=@$nodes;
# do your processing here
# return info
$rsp->{data}->[0] = "Hello World! Your node list is:\n";
xCAT::MsgUtils->message("I", $rsp, $callback, 0);
foreach $node (@nodes)
{
$rsp->{data}->[$i] = "Hello $node\n";
$rsp->{data}->[$i] = "$node\n";
$i++;
}
xCAT::MsgUtils->message("I", $rsp, $callback, 0);