sim/top.conf
changeset 0 2b3e5ec03512
equal deleted inserted replaced
-1:000000000000 0:2b3e5ec03512
       
     1 set dbdir "/tmp/bundledb"
       
     2 
       
     3 #storage set dbdir $dbdir
       
     4 
       
     5 #storage init postgres
       
     6 #storage init berkeleydb
       
     7 
       
     8 sim set runtill 100
       
     9 route set type  flood 
       
    10 sim set nodetype 2
       
    11 sim 0 create_node 0
       
    12 sim 0 create_node 1
       
    13 #sim <time>  create_contact <id> <src> <dst> <bw> <delay> <isup> <up> <down> 
       
    14 sim   0      create_contact  0     0     1     2     2       1     20     10
       
    15 
       
    16 
       
    17 #simdtn2 add bundles://sim/simcl://0 bundles://sim/simcl://1 0 ONDEMAND
       
    18 #simdtn2	<time>		addroute <src>	<dst>	<contactid>
       
    19 #simdtn2 	0 		    addroute  0	    1 		0 
       
    20 
       
    21 # <time> create_tr <src> <dst> <size> <batchsize> <reps> 	<gap>
       
    22 sim 3    create_tr   0     1	4	    1 	      10 		5
       
    23 
       
    24 
       
    25