author | Josh Pelkey <jpelkey@gatech.edu> |
Fri, 18 Sep 2009 10:32:07 -0400 | |
changeset 5224 | 06f639d05b8f |
parent 5211 | 36838195150a |
child 5229 | 0d0779ac3278 |
permissions | -rw-r--r-- |
2603
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
2 |
|
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
3 |
def build(bld): |
5224
06f639d05b8f
Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents:
5211
diff
changeset
|
4 |
helper = bld.create_ns3_module('helper', ['internet-stack', 'wifi', 'point-to-point', 'csma', 'olsr', 'nix-vector-routing', 'global-routing', 'onoff', 'packet-sink', 'udp-echo']) |
2603
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
5 |
helper.source = [ |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
6 |
'node-container.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
7 |
'net-device-container.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
8 |
'wifi-helper.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
9 |
'olsr-helper.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
10 |
'point-to-point-helper.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
11 |
'csma-helper.cc', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
12 |
'mobility-helper.cc', |
2692
e4387e19039d
move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2610
diff
changeset
|
13 |
'ns2-mobility-helper.cc', |
2711
83addb15f632
ip helper and find ip interface for device method on ipv4
Craig Dowell <craigdo@ee.washington.edu>
parents:
2692
diff
changeset
|
14 |
'ipv4-address-helper.cc', |
4472
e20a31541404
src/ and utils/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4408
diff
changeset
|
15 |
'ipv4-static-routing-helper.cc', |
2708
83cc896e501c
InternetStackHelper.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2692
diff
changeset
|
16 |
'internet-stack-helper.cc', |
2731
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
17 |
'application-container.cc', |
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
18 |
'on-off-helper.cc', |
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
19 |
'packet-sink-helper.cc', |
2738
9d7ee6d2b9f0
add new files to build.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2731
diff
changeset
|
20 |
'packet-socket-helper.cc', |
2748
f65f6e2629dc
introduce Ipv4InterfaceContainer and make Ipv4AddressHelper::Allocate return it.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2738
diff
changeset
|
21 |
'ipv4-interface-container.cc', |
2768
fcb615f2c57c
port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2748
diff
changeset
|
22 |
'udp-echo-helper.cc', |
3524
028b7de98fb1
bug 276: bridge netdevice has no helper class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3260
diff
changeset
|
23 |
'bridge-helper.cc', |
4000
07bf8da834e0
bug 435: file names are not consistent
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3914
diff
changeset
|
24 |
'yans-wifi-helper.cc', |
3821
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3524
diff
changeset
|
25 |
'v4ping-helper.cc', |
4406 | 26 |
'nqos-wifi-mac-helper.cc', |
4408 | 27 |
'qos-wifi-mac-helper.cc', |
5224
06f639d05b8f
Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents:
5211
diff
changeset
|
28 |
'ipv4-nix-vector-helper.cc', |
4616
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
29 |
'ipv4-global-routing-helper.cc', |
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
30 |
'ipv4-list-routing-helper.cc', |
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
31 |
'ipv4-routing-helper.cc', |
5086
fccfd0073ea3
Fixed names: now protocols are called *-protocol.[h,cc], plugin is called
Kirill Andreev <andreev@iitp.ru>
parents:
5056
diff
changeset
|
32 |
'mesh-helper.cc', |
5169
8033c4e41bd5
Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents:
5166
diff
changeset
|
33 |
'dot11s-installer.cc', |
8033c4e41bd5
Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents:
5166
diff
changeset
|
34 |
'flame-installer.cc', |
4734
0b29285cc1af
added AthstatsWifiTraceSink and AthstatsHelper
Nicola Baldo <nbaldo@cttc.es>
parents:
4731
diff
changeset
|
35 |
'athstats-helper.cc', |
4731
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
36 |
'ipv6-address-helper.cc', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
37 |
'ipv6-interface-container.cc', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
38 |
'ipv6-static-routing-helper.cc', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
39 |
'ipv6-list-routing-helper.cc', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
40 |
'ipv6-routing-helper.cc', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
41 |
'ping6-helper.cc', |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4734
diff
changeset
|
42 |
'flow-monitor-helper.cc', |
2603
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
43 |
] |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
44 |
|
4064
10222f483860
Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4000
diff
changeset
|
45 |
headers = bld.new_task_gen('ns3header') |
2610
efc76831f06c
Missing headers.module attribute in the new 'helper' module...
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
2603
diff
changeset
|
46 |
headers.module = 'helper' |
2603
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
47 |
headers.source = [ |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
48 |
'node-container.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
49 |
'net-device-container.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
50 |
'wifi-helper.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
51 |
'olsr-helper.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
52 |
'point-to-point-helper.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
53 |
'csma-helper.h', |
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
54 |
'mobility-helper.h', |
2692
e4387e19039d
move another helper to the helper dir
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2610
diff
changeset
|
55 |
'ns2-mobility-helper.h', |
2711
83addb15f632
ip helper and find ip interface for device method on ipv4
Craig Dowell <craigdo@ee.washington.edu>
parents:
2692
diff
changeset
|
56 |
'ipv4-address-helper.h', |
4472
e20a31541404
src/ and utils/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4408
diff
changeset
|
57 |
'ipv4-static-routing-helper.h', |
2708
83cc896e501c
InternetStackHelper.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2692
diff
changeset
|
58 |
'internet-stack-helper.h', |
2731
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
59 |
'application-container.h', |
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
60 |
'on-off-helper.h', |
9eb9988afd08
a bunch of new helpers.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2714
diff
changeset
|
61 |
'packet-sink-helper.h', |
2738
9d7ee6d2b9f0
add new files to build.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2731
diff
changeset
|
62 |
'packet-socket-helper.h', |
2748
f65f6e2629dc
introduce Ipv4InterfaceContainer and make Ipv4AddressHelper::Allocate return it.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2738
diff
changeset
|
63 |
'ipv4-interface-container.h', |
2768
fcb615f2c57c
port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2748
diff
changeset
|
64 |
'udp-echo-helper.h', |
3524
028b7de98fb1
bug 276: bridge netdevice has no helper class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3260
diff
changeset
|
65 |
'bridge-helper.h', |
4000
07bf8da834e0
bug 435: file names are not consistent
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3914
diff
changeset
|
66 |
'yans-wifi-helper.h', |
3821
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3524
diff
changeset
|
67 |
'v4ping-helper.h', |
4406 | 68 |
'nqos-wifi-mac-helper.h', |
4408 | 69 |
'qos-wifi-mac-helper.h', |
5224
06f639d05b8f
Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents:
5211
diff
changeset
|
70 |
'ipv4-nix-vector-helper.h', |
4616
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
71 |
'ipv4-global-routing-helper.h', |
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
72 |
'ipv4-list-routing-helper.h', |
a84f60b6cd12
bug 600: lower the default routing priority of Ipv4GlobalRouting; move to helper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4472
diff
changeset
|
73 |
'ipv4-routing-helper.h', |
5086
fccfd0073ea3
Fixed names: now protocols are called *-protocol.[h,cc], plugin is called
Kirill Andreev <andreev@iitp.ru>
parents:
5056
diff
changeset
|
74 |
'mesh-helper.h', |
5169
8033c4e41bd5
Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents:
5166
diff
changeset
|
75 |
'mesh-stack-installer.h', |
8033c4e41bd5
Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents:
5166
diff
changeset
|
76 |
'dot11s-installer.h', |
8033c4e41bd5
Installers moved to src/helper
Kirill Andreev <andreev@iitp.ru>
parents:
5166
diff
changeset
|
77 |
'flame-installer.h', |
4734
0b29285cc1af
added AthstatsWifiTraceSink and AthstatsHelper
Nicola Baldo <nbaldo@cttc.es>
parents:
4731
diff
changeset
|
78 |
'athstats-helper.h', |
4731
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
79 |
'ipv6-address-helper.h', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
80 |
'ipv6-interface-container.h', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
81 |
'ipv6-static-routing-helper.h', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
82 |
'ipv6-list-routing-helper.h', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
83 |
'ipv6-routing-helper.h', |
510db8599bfb
second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents:
4616
diff
changeset
|
84 |
'ping6-helper.h', |
5205
673aae891b2b
Add a new 'flow-monitor' module.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4734
diff
changeset
|
85 |
'flow-monitor-helper.h', |
2603
1308da4cb3bf
move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
86 |
] |
3854 | 87 |
|
88 |
env = bld.env_of_name('default') |
|
89 |
if env['ENABLE_EMU']: |
|
90 |
helper.source.extend([ |
|
91 |
'emu-helper.cc', |
|
92 |
]) |
|
93 |
headers.source.extend([ |
|
94 |
'emu-helper.h', |
|
95 |
]) |
|
4185
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
96 |
if env['ENABLE_TAP']: |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
97 |
helper.source.extend([ |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
98 |
'tap-bridge-helper.cc', |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
99 |
]) |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
100 |
headers.source.extend([ |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
101 |
'tap-bridge-helper.h', |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4163
diff
changeset
|
102 |
]) |
3854 | 103 |