-
Notifications
You must be signed in to change notification settings - Fork 4
/
wscript
53 lines (48 loc) · 1.87 KB
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('docsis', ['core', 'network', 'bridge', 'point-to-point', 'traffic-control', 'flow-monitor', 'stats', 'applications', 'fd-net-device', 'csma'])
module.source = [
'model/docsis-configuration.cc',
'model/docsis-channel.cc',
'model/docsis-net-device.cc',
'model/cm-net-device.cc',
'model/cmts-net-device.cc',
'model/docsis-header.cc',
'model/docsis-l4s-packet-filter.cc',
'model/docsis-queue-disc-item.cc',
'model/cmts-upstream-scheduler.cc',
'model/dual-queue-coupled-aqm.cc',
'model/queue-protection.cc',
'helper/docsis-helper.cc',
'helper/docsis-scenario-helper.cc',
]
module_test = bld.create_ns3_module_test_library('docsis')
module_test.source = [
'test/docsis-lld-test-suite.cc',
'test/docsis-link-test-class.cc',
'test/docsis-link-test-suite.cc',
'test/dual-queue-test.cc',
'test/dual-queue-coupled-aqm-test-suite.cc',
'test/queue-protection-test-suite.cc',
]
headers = bld(features='ns3header')
headers.module = 'docsis'
headers.source = [
'model/docsis-channel.h',
'model/docsis-net-device.h',
'model/cm-net-device.h',
'model/cmts-net-device.h',
'model/docsis-configuration.h',
'model/docsis-header.h',
'model/docsis-l4s-packet-filter.h',
'model/docsis-queue-disc-item.h',
'model/cmts-upstream-scheduler.h',
'model/dual-queue-coupled-aqm.h',
'model/queue-protection.h',
'model/microflow-descriptor.h',
'helper/docsis-helper.h',
'helper/docsis-scenario-helper.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
# bld.ns3_python_bindings()