examples/wscript
author Craig Dowell <craigdo@ee.washington.edu>
Tue, 27 Jan 2009 12:36:46 -0800
changeset 4163 8c48682b3d42
parent 4013 c032743d087c
child 4173 a7983f5acf98
permissions -rw-r--r--
checkpoint tap development
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
600
fd944dbf33c6 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
fd944dbf33c6 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff changeset
     2
fd944dbf33c6 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff changeset
     3
def build(bld):
3331
7305032b6100 add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 3302
diff changeset
     4
    obj = bld.create_ns3_program('hello-simulator')
7305032b6100 add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 3302
diff changeset
     5
    obj.source = 'hello-simulator.cc'
7305032b6100 add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 3302
diff changeset
     6
        
4013
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
     7
    obj = bld.create_ns3_program('first',
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
     8
                                 ['core', 'simulator', 'point-to-point', 'internet-stack'])
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
     9
    obj.source = 'first.cc'
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    10
        
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    11
    obj = bld.create_ns3_program('second',
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    12
                                 ['core', 'simulator', 'point-to-point', 'csma', 'internet-stack'])
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    13
    obj.source = 'second.cc'
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    14
        
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    15
    obj = bld.create_ns3_program('third',
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    16
                                 ['core', 'simulator', 'point-to-point', 'csma', 'wifi', 'internet-stack'])
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    17
    obj.source = 'third.cc'
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents: 4012
diff changeset
    18
        
2896
cb77c96e6149 revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents: 2819
diff changeset
    19
    obj = bld.create_ns3_program('mixed-wireless',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    20
                                 ['core', 'simulator', 'mobility', 'wifi', 'point-to-point', 'internet-stack'])
2896
cb77c96e6149 revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents: 2819
diff changeset
    21
    obj.source = 'mixed-wireless.cc'
cb77c96e6149 revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents: 2819
diff changeset
    22
4012
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    23
    obj = bld.create_ns3_program('dynamic-global-routing',
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    24
                                 ['point-to-point', 'csma', 'internet-stack', 'global-routing'])
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    25
    obj.source = 'dynamic-global-routing.cc'
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    26
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    27
    obj = bld.create_ns3_program('static-routing-slash32',
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    28
                                 ['point-to-point', 'internet-stack', 'global-routing'])
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    29
    obj.source = 'static-routing-slash32.cc'
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    30
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    31
    obj = bld.create_ns3_program('global-routing-slash32',
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    32
                                 ['point-to-point', 'internet-stack', 'global-routing'])
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    33
    obj.source = 'global-routing-slash32.cc'
7dc122811f0c add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents: 3935
diff changeset
    34
1217
2f7791ae388d WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1198
diff changeset
    35
    obj = bld.create_ns3_program('simple-global-routing',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    36
                                 ['point-to-point', 'internet-stack', 'global-routing'])
1217
2f7791ae388d WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1198
diff changeset
    37
    obj.source = 'simple-global-routing.cc'
2f7791ae388d WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1198
diff changeset
    38
1776
0d5be0c3d229 Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents: 1747
diff changeset
    39
    obj = bld.create_ns3_program('simple-alternate-routing',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    40
                                 ['point-to-point', 'internet-stack', 'global-routing'])
1776
0d5be0c3d229 Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents: 1747
diff changeset
    41
    obj.source = 'simple-alternate-routing.cc'
0d5be0c3d229 Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents: 1747
diff changeset
    42
1820
736919bd4874 Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents: 1781
diff changeset
    43
    obj = bld.create_ns3_program('simple-error-model',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    44
                                 ['point-to-point', 'internet-stack'])
1820
736919bd4874 Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents: 1781
diff changeset
    45
    obj.source = 'simple-error-model.cc'
736919bd4874 Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents: 1781
diff changeset
    46
1272
67a2ba1143e0 rename to csma
Craig Dowell <craigdo@ee.washington.edu>
parents: 1217
diff changeset
    47
    obj = bld.create_ns3_program('csma-one-subnet',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    48
                                 ['csma', 'internet-stack'])
1272
67a2ba1143e0 rename to csma
Craig Dowell <craigdo@ee.washington.edu>
parents: 1217
diff changeset
    49
    obj.source = 'csma-one-subnet.cc'
1217
2f7791ae388d WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1198
diff changeset
    50
4163
8c48682b3d42 checkpoint tap development
Craig Dowell <craigdo@ee.washington.edu>
parents: 4013
diff changeset
    51
    obj = bld.create_ns3_program('csma-tap-bridge',
8c48682b3d42 checkpoint tap development
Craig Dowell <craigdo@ee.washington.edu>
parents: 4013
diff changeset
    52
                                 ['csma', 'tap-bridge', 'internet-stack'])
8c48682b3d42 checkpoint tap development
Craig Dowell <craigdo@ee.washington.edu>
parents: 4013
diff changeset
    53
    obj.source = 'csma-tap-bridge.cc'
8c48682b3d42 checkpoint tap development
Craig Dowell <craigdo@ee.washington.edu>
parents: 4013
diff changeset
    54
3440
4cedf996375d Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3336
diff changeset
    55
    obj = bld.create_ns3_program('csma-bridge',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    56
                                 ['bridge', 'csma', 'internet-stack'])
3440
4cedf996375d Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3336
diff changeset
    57
    obj.source = 'csma-bridge.cc'
4cedf996375d Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3336
diff changeset
    58
3935
4b18d1e1e2e5 add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3854
diff changeset
    59
    obj = bld.create_ns3_program('csma-bridge-one-hop',
4b18d1e1e2e5 add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3854
diff changeset
    60
                                 ['bridge', 'csma', 'internet-stack'])
4b18d1e1e2e5 add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3854
diff changeset
    61
    obj.source = 'csma-bridge-one-hop.cc'
4b18d1e1e2e5 add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3854
diff changeset
    62
1496
0ad4c18b475c start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents: 1449
diff changeset
    63
    obj = bld.create_ns3_program('udp-echo',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    64
                                 ['csma', 'internet-stack'])
1496
0ad4c18b475c start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents: 1449
diff changeset
    65
    obj.source = 'udp-echo.cc'
0ad4c18b475c start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents: 1449
diff changeset
    66
3560
5aa65b1ea001 add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents: 3523
diff changeset
    67
    obj = bld.create_ns3_program('realtime-udp-echo',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    68
                                 ['csma', 'internet-stack'])
3560
5aa65b1ea001 add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents: 3523
diff changeset
    69
    obj.source = 'realtime-udp-echo.cc'
5aa65b1ea001 add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents: 3523
diff changeset
    70
1318
89b78e2d521e Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents: 1305
diff changeset
    71
    obj = bld.create_ns3_program('csma-broadcast',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    72
                                 ['csma', 'internet-stack'])
1318
89b78e2d521e Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents: 1305
diff changeset
    73
    obj.source = 'csma-broadcast.cc'
89b78e2d521e Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents: 1305
diff changeset
    74
1272
67a2ba1143e0 rename to csma
Craig Dowell <craigdo@ee.washington.edu>
parents: 1217
diff changeset
    75
    obj = bld.create_ns3_program('csma-packet-socket',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    76
                                 ['csma', 'internet-stack'])
1272
67a2ba1143e0 rename to csma
Craig Dowell <craigdo@ee.washington.edu>
parents: 1217
diff changeset
    77
    obj.source = 'csma-packet-socket.cc'
1278
41bf67d701a5 global routing csma patch
Tom Henderson <tomh@tomh.org>
parents: 1272
diff changeset
    78
1428
a8f3d01d4a2c untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents: 1272
diff changeset
    79
    obj = bld.create_ns3_program('csma-multicast',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    80
                                 ['csma', 'internet-stack'])
1428
a8f3d01d4a2c untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents: 1272
diff changeset
    81
    obj.source = 'csma-multicast.cc'
a8f3d01d4a2c untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents: 1272
diff changeset
    82
1278
41bf67d701a5 global routing csma patch
Tom Henderson <tomh@tomh.org>
parents: 1272
diff changeset
    83
    obj = bld.create_ns3_program( 'mixed-global-routing',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    84
                                  ['point-to-point', 'internet-stack', 'global-routing' , 'csma-cd'])
1278
41bf67d701a5 global routing csma patch
Tom Henderson <tomh@tomh.org>
parents: 1272
diff changeset
    85
    obj.source = 'mixed-global-routing.cc'
1738
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1730 1305
diff changeset
    86
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1730 1305
diff changeset
    87
    obj = bld.create_ns3_program('simple-point-to-point-olsr',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    88
                                 ['point-to-point', 'internet-stack', 'olsr'])
1740
3d3168e8fef6 Update OLSR code to NS-3 API changes.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1738
diff changeset
    89
    obj.source = 'simple-point-to-point-olsr.cc'
2224
6f97d21a99c2 Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 1820
diff changeset
    90
6f97d21a99c2 Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 1820
diff changeset
    91
    obj = bld.create_ns3_program('tcp-large-transfer',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    92
                                 ['point-to-point', 'internet-stack'])
2224
6f97d21a99c2 Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 1820
diff changeset
    93
    obj.source = 'tcp-large-transfer.cc'
6f97d21a99c2 Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 1820
diff changeset
    94
3580
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
    95
    obj = bld.create_ns3_program('tcp-nsc-lfn',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
    96
                                 ['point-to-point', 'internet-stack'])
3580
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
    97
    obj.source = 'tcp-nsc-lfn.cc'
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
    98
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
    99
    obj = bld.create_ns3_program('tcp-nsc-zoo',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   100
                                 ['csma', 'internet-stack'])
3580
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
   101
    obj.source = 'tcp-nsc-zoo.cc'
5818912ae9a3 nsc: example files.
Florian Westphal <fw@strlen.de>
parents: 3560
diff changeset
   102
3366
923e47a54fe8 Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3336
diff changeset
   103
    obj = bld.create_ns3_program('tcp-star-server',
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   104
                                 ['point-to-point', 'internet-stack'])
3366
923e47a54fe8 Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3336
diff changeset
   105
    obj.source = 'tcp-star-server.cc'
923e47a54fe8 Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3336
diff changeset
   106
3793
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   107
    obj = bld.create_ns3_program('star',
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   108
                                 ['point-to-point', 'internet-stack'])
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   109
    obj.source = 'star.cc'
a5895f134543 make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents: 3643
diff changeset
   110
3795
707acdf0f8b3 csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3793
diff changeset
   111
    obj = bld.create_ns3_program('csma-star',
707acdf0f8b3 csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3793
diff changeset
   112
                                 ['csma', 'internet-stack'])
707acdf0f8b3 csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3793
diff changeset
   113
    obj.source = 'csma-star.cc'
707acdf0f8b3 csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents: 3793
diff changeset
   114
2662
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   115
    obj = bld.create_ns3_program('wifi-adhoc',
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   116
                                 ['core', 'simulator', 'mobility', 'wifi'])
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   117
    obj.source = 'wifi-adhoc.cc'
2224
6f97d21a99c2 Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 1820
diff changeset
   118
2662
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   119
    obj = bld.create_ns3_program('wifi-ap',
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   120
                                 ['core', 'simulator', 'mobility', 'wifi'])
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   121
    obj.source = 'wifi-ap.cc'
2ace0f6fd238 move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2224
diff changeset
   122
3570
44b0bc6817c6 Stats module and example merged in.
tjkopena@cs.drexel.edu
parents: 3560
diff changeset
   123
    bld.add_subdirs('stats')
3616
660d3a0c40cd testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3581
diff changeset
   124
660d3a0c40cd testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3581
diff changeset
   125
    obj = bld.create_ns3_program('wifi-wired-bridging',
660d3a0c40cd testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3581
diff changeset
   126
                                 ['core', 'simulator', 'mobility', 'wifi', 
660d3a0c40cd testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3581
diff changeset
   127
                                  'csma', 'helper', 'bridge'])
660d3a0c40cd testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3581
diff changeset
   128
    obj.source = 'wifi-wired-bridging.cc'
3821
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   129
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   130
    obj = bld.create_ns3_program('csma-raw-ip-socket',
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   131
        ['csma', 'internet-stack'])
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   132
    obj.source = 'csma-raw-ip-socket.cc'
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   133
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   134
    obj = bld.create_ns3_program('csma-ping',
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   135
        ['csma', 'internet-stack', 'v4ping'])
9ea825f066a2 Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents: 3795
diff changeset
   136
    obj.source = 'csma-ping.cc'
3852
9cf7ad0cac85 Initial IPv6 capability
vincent@clarinet.u-strasbg.fr
parents: 3831
diff changeset
   137
9cf7ad0cac85 Initial IPv6 capability
vincent@clarinet.u-strasbg.fr
parents: 3831
diff changeset
   138
    obj = bld.create_ns3_program('test-ipv6',
9cf7ad0cac85 Initial IPv6 capability
vincent@clarinet.u-strasbg.fr
parents: 3831
diff changeset
   139
      ['point-to-point', 'internet-stack'])
9cf7ad0cac85 Initial IPv6 capability
vincent@clarinet.u-strasbg.fr
parents: 3831
diff changeset
   140
    obj.source = 'test-ipv6.cc'
3854
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   141
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   142
    env = bld.env_of_name('default')
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   143
    if env['ENABLE_EMU']:
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   144
        obj = bld.create_ns3_program('emu-udp-echo',
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   145
                                     ['emu', 'internet-stack'])
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   146
        obj.source = 'emu-udp-echo.cc'
c049b25f2ded osx doesn't emu
Craig Dowell <craigdo@ee.washington.edu>
parents: 3852
diff changeset
   147