Changes between Version 6 and Version 7 of FeddMulti


Ignore:
Timestamp:
Sep 9, 2011 5:40:06 PM (13 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddMulti

    v6 v7  
    122122 '''--certfile=''' ''file''::
    123123  Load a fedid from ''file'' for ns-2 to topdl translations.  Ususally not needed.
    124  ''--config=''' ''config''::
     124 '''--config=''' ''config''::
    125125  Take the options from ''file'' in the format below.
     126
     127After the options, any parameter is taken to be a filename to include in the composition.
    126128
    127129=== Configuration File ===
    128130
    129 The composer has many options, and invocations that use only options can be long.  To simplify matters, a simple key/value configuration file can be used.  The
    130  
     131The composer has many options, and invocations that use only options can be long.  To simplify matters, a simple key/value configuration file can be used.  Each line in the configuration file corresponds to a command line parameter.  Options that take a value are separated from that option by an equals sign (=), and the '''--multifile''' option can be abbreviated as '''file'''.  The following command line
     132
     133{{{
     134compose.py --output_testbeds --url=http://users.isi.deterlab.net:23235 --multifile=usa_trio.tcl,3 --multifile=etrio.tcl,2 --multifile=bot.tcl,7 --multifile=atrio.tcl,1 --format=ns us_hex.tcl attack.tcl defend.tcl irc.tcl --output=topo.tcl
     135}}}
     136
     137can be replaced with
     138
     139{{{
     140compose.py --config=./compose.config
     141}}}
     142
     143if {{{compose.config}}} contains the following:
     144
     145{{{
     146url=http://users.isi.deterlab.net:23235
     147output_testbeds
     148file=usa_trio.tcl,3
     149file=etrio.tcl,2
     150file=bot.tcl,7
     151file=atrio.tcl,1
     152us_hex.tcl
     153attack.tcl
     154defend.tcl
     155irc.tcl
     156output=topo.tcl
     157}}}
     158
     159Note that input files included once can be directly named in the configuration file.