examples/routing/wscript
author Josh Pelkey <jpelkey@gatech.edu>
Wed, 07 Oct 2009 20:55:43 -0400
changeset 5377 c54b36fb7317
parent 5369 86beb5869f67
child 5716 b87e042f25e4
permissions -rw-r--r--
TCP bug fixes 424, 426, 559, 663, 664, 697
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5369
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     2
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     3
def build(bld):
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     4
    obj = bld.create_ns3_program('dynamic-global-routing',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     5
                                 ['point-to-point', 'csma', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     6
    obj.source = 'dynamic-global-routing.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     7
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     8
    obj = bld.create_ns3_program('static-routing-slash32',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     9
                                 ['point-to-point', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    10
    obj.source = 'static-routing-slash32.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    11
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    12
    obj = bld.create_ns3_program('global-routing-slash32',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    13
                                 ['point-to-point', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    14
    obj.source = 'global-routing-slash32.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    15
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    16
    obj = bld.create_ns3_program('global-injection-slash32',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    17
                                 ['point-to-point', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    18
    obj.source = 'global-injection-slash32.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    19
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    20
    obj = bld.create_ns3_program('simple-global-routing',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    21
                                 ['point-to-point', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    22
    obj.source = 'simple-global-routing.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    23
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    24
    obj = bld.create_ns3_program('simple-alternate-routing',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    25
                                 ['point-to-point', 'internet-stack', 'global-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    26
    obj.source = 'simple-alternate-routing.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    27
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    28
    obj = bld.create_ns3_program( 'mixed-global-routing',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    29
                                  ['point-to-point', 'internet-stack', 'global-routing' , 'csma-cd'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    30
    obj.source = 'mixed-global-routing.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    31
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    32
    obj = bld.create_ns3_program('simple-point-to-point-olsr',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    33
                                 ['point-to-point', 'internet-stack', 'olsr'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    34
    obj.source = 'simple-point-to-point-olsr.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    35
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    36
    obj = bld.create_ns3_program('nix-simple',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    37
                                 ['point-to-point', 'internet-stack', 'nix-vector-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    38
    obj.source = 'nix-simple.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    39
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    40
    obj = bld.create_ns3_program('nms-p2p-nix',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    41
                                 ['point-to-point', 'internet-stack', 'nix-vector-routing'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    42
    obj.source = 'nms-p2p-nix.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    43
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    44
    obj = bld.create_ns3_program('simple-routing-ping6',
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    45
      ['csma', 'internet-stack'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    46
    obj.source = 'simple-routing-ping6.cc'