Changeset 387408b for fedkit


Ignore:
Timestamp:
May 18, 2008 12:49:50 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
ad5639c
Parents:
f3691ff
Message:

splitter asks with node information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/splitter.pl

    rf3691ff r387408b  
    572572        chomp;
    573573
    574         my $tb = $_;            # Current testbed
     574        my $tb;         # Current testbed
     575        my @nodes;      # Current testbed node requests
     576
     577        /([^|]+)\|?(.*)/ && do {
     578            my $n;
     579
     580            ($tb , $n) = ($1, $2);
     581            @nodes = split(/\|/, $n);
     582        };
     583
    575584        # If this testbed has not had its access parameters read from fedd, try
    576585        # to read them, if we have a way to talk to fedd
     
    585594            my $cmd = "$fedd_client -t " .
    586595                $tbparams->{$tb}->{'uri'} .  " -T $ENV{HOME}/cacert.pem ".
    587                 "-l $tb $proj | /usr/bin/tee fedd.$tb ";
     596                "-l $tb $proj" . (@nodes ? " -n " : " ") .
     597                join(" -n ", @nodes) . "| /usr/bin/tee fedd.$tb ";
    588598            print "$cmd\n" if $verbose;
    589599
Note: See TracChangeset for help on using the changeset viewer.