examples/routing/wscript
author Yufei Cheng <yfcheng@ittc.ku.edu>
Fri, 27 Jan 2012 15:15:48 -0800
changeset 8751 efad81f3cb47
parent 7248 3895c1620ccb
child 10689 a506de747327
permissions -rw-r--r--
Add IPv4 DSR routing
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',
6834
036f9a0b9899 Rename internet-stack to internet, and organize module
Tom Henderson <tomh@tomh.org>
parents: 6634
diff changeset
     5
                                 ['point-to-point', 'csma', 'internet'])
5369
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',
6873
b2234c2d38d9 Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents: 6841
diff changeset
     9
                                 ['point-to-point', 'csma', 'internet'])
5369
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',
6873
b2234c2d38d9 Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents: 6841
diff changeset
    13
                                 ['point-to-point', 'csma', 'internet'])
5369
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',
6873
b2234c2d38d9 Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents: 6841
diff changeset
    17
                                 ['point-to-point', 'csma', 'internet'])
5369
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',
6873
b2234c2d38d9 Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents: 6841
diff changeset
    21
                                 ['point-to-point', 'internet', 'applications', 'flow-monitor'])
5369
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',
6873
b2234c2d38d9 Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents: 6841
diff changeset
    25
                                 ['point-to-point', 'internet', 'applications'])
5369
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',
6834
036f9a0b9899 Rename internet-stack to internet, and organize module
Tom Henderson <tomh@tomh.org>
parents: 6634
diff changeset
    29
                                  ['point-to-point', 'internet', 'csma'])
5369
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-routing-ping6',
6834
036f9a0b9899 Rename internet-stack to internet, and organize module
Tom Henderson <tomh@tomh.org>
parents: 6634
diff changeset
    33
      ['csma', 'internet'])
5369
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    34
    obj.source = 'simple-routing-ping6.cc'
7094
f0748224dd68 Write a status file during waf build step
Mitch Watrous <watrous@u.washington.edu>
parents: 6873
diff changeset
    35
7248
3895c1620ccb add manet routing example
Tom Henderson <tomh@tomh.org>
parents: 7101
diff changeset
    36
    obj = bld.create_ns3_program('manet-routing-compare',
8751
efad81f3cb47 Add IPv4 DSR routing
Yufei Cheng <yfcheng@ittc.ku.edu>
parents: 7248
diff changeset
    37
                                 ['wifi', 'dsr', 'dsdv', 'aodv', 'olsr', 'internet', 'applications'])
7248
3895c1620ccb add manet routing example
Tom Henderson <tomh@tomh.org>
parents: 7101
diff changeset
    38
    obj.source = 'manet-routing-compare.cc'
3895c1620ccb add manet routing example
Tom Henderson <tomh@tomh.org>
parents: 7101
diff changeset
    39
7101
cbdd99081786 Make Python examples use new modular bindings
Mitch Watrous <watrous@u.washington.edu>
parents: 7096
diff changeset
    40
    bld.register_ns3_script('simple-routing-ping6.py', ['csma', 'internet', 'applications'])