| 58 | To connect the ExoGENI node to a DETER experiment, specify an federated experiment with the node that is to be on ExoGENI as being on testbed "desktop". Here is an example DETER experiment description of that format: |
| 59 | |
| 60 | {{{ |
| 61 | # simple DETER topology federated to a desktop |
| 62 | # |
| 63 | |
| 64 | set ns [new Simulator] |
| 65 | source tb_compat.tcl |
| 66 | |
| 67 | set a [$ns node] |
| 68 | set b [$ns node] |
| 69 | set c [$ns node] |
| 70 | set d [$ns node] |
| 71 | set e [$ns node] |
| 72 | set f [$ns node] |
| 73 | tb-set-node-testbed $a "deter" |
| 74 | tb-set-node-testbed $c "deter" |
| 75 | tb-set-node-testbed $d "deter" |
| 76 | tb-set-node-testbed $e "deter" |
| 77 | tb-set-node-testbed $f "deter" |
| 78 | |
| 79 | tb-set-node-testbed $b "desktop" |
| 80 | |
| 81 | set link0 [ $ns duplex-link $a $b 1Gb 0ms DropTail] |
| 82 | set link1 [ $ns duplex-link $a $c 1Gb 0ms DropTail] |
| 83 | set link2 [ $ns duplex-link $a $d 1Gb 0ms DropTail] |
| 84 | set link3 [ $ns duplex-link $e $c 1Gb 0ms DropTail] |
| 85 | set link4 [ $ns duplex-link $f $c 1Gb 0ms DropTail] |
| 86 | |
| 87 | $ns rtproto Static |
| 88 | $ns run |
| 89 | }}} |
| 90 | |