Show
Ignore:
Timestamp:
10/29/07 16:51:17 (5 years ago)
Author:
Ted Faber <faber@…>
Children:
22bb7f84b63ffb80263525b3b82d020a6c34f574
Parents:
fd7a59b1f60b5ee0919cd3fdb74b62388b7c3155
git-committer:
Ted Faber <faber@isi.edu> / 2007-10-29T23:51:17Z+0000
Message:

multiplexed gateway support

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fedkit/splitter.pl

    re863014 re5fee75  
    2929                                # (changed during devel) 
    3030my $tclsh;                      # tclsh to call directly (changed during devel) 
     31my $muxmax;                     # Maximum number of links/lans over 1 gw pair 
    3132my @tarfiles;                   # Tarfiles in use by this experiment 
    3233my @rpms;                       # Rpms in use by this experiment 
     
    441442$tb_config = $opts{'testbeds'} || "./testbeds"; # testbed configurations 
    442443$local_script_dir = $opts{'scriptdir'}; # Local scripts 
     444$muxmax  = $opts{'muxlimit'} || 3;      # Number of connections muxed on one 
     445                                        # gateway 
    443446 
    444447$max_children = $opts{'p'} || $opts{'maxchildren'}  
     
    484487my $pipe = new IO::Pipe; 
    485488# NB no more -p call on parse call. 
    486 $pipe->reader("$tclsh $tcl_splitter -s -m $master  $pid $gid $eid $tcl") ||  
    487     die "Cannot execute $tclsh $tcl_splitter -s -m $master $pid $gid $eid $tcl:$!\n"; 
     489$pipe->reader("$tclsh $tcl_splitter -s -x $muxmax -m $master  $pid $gid $eid $tcl") ||  
     490    die "Cannot execute $tclsh $tcl_splitter -s -x $muxmax -m $master $pid $gid $eid $tcl:$!\n"; 
    488491 
    489492# Parsing variables 
     
    933936containing this experiment on the master testbed. 
    934937 
    935 =item Tclparse 
    936  
    937 The pathname to the experiment parsing program.  Only developers should set 
    938 this. 
    939  
    940 =item Tclsh 
    941  
    942 The pathname to the local oTcl shell.  Only developers should set 
    943 this. 
    944  
    945938=item Timeout 
    946939 
     
    955948any value avoids this swap out.  (This behavior can be requested on the command 
    956949line by specifying B<-F>.) 
     950 
     951=item MuxLimit 
     952 
     953The maximum bumber of links/lans carried by one gateway pair 
     954 
     955=item Tclparse 
     956 
     957The pathname to the experiment parsing program.  Only developers should set 
     958this. 
     959 
     960=item Tclsh 
     961 
     962The pathname to the local oTcl shell.  Only developers should set 
     963this. 
    957964 
    958965=back