author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Wed, 18 Nov 2009 12:42:33 +0000 | |
changeset 5754 | 7f0de9a416ea |
parent 5753 | 8c105b521d1b |
child 5762 | ae78a8de6f5f |
permissions | -rw-r--r-- |
5348 | 1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
2 |
||
3 |
||
4 |
import pybindgen.settings |
|
5 |
import warnings |
|
6 |
||
7 |
class ErrorHandler(pybindgen.settings.ErrorHandler): |
|
8 |
def handle_error(self, wrapper, exception, traceback_): |
|
9 |
warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) |
|
10 |
return True |
|
11 |
pybindgen.settings.error_handler = ErrorHandler() |
|
12 |
||
13 |
||
14 |
import sys |
|
15 |
import ns3_module_core |
|
16 |
import ns3_module_simulator |
|
17 |
import ns3_module_test |
|
18 |
import ns3_module_mobility |
|
19 |
import ns3_module_common |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
20 |
import ns3_module_node |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
21 |
import ns3_module_contrib |
5348 | 22 |
import ns3_module_point_to_point |
23 |
import ns3_module_internet_stack |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
24 |
import ns3_module_tap_bridge |
5348 | 25 |
import ns3_module_csma |
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
26 |
import ns3_module_wifi |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
27 |
import ns3_module_static_routing |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
28 |
import ns3_module_v4ping |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
29 |
import ns3_module_virtual_net_device |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
30 |
import ns3_module_packet_sink |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
31 |
import ns3_module_global_routing |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
32 |
import ns3_module_stats |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
33 |
import ns3_module_list_routing |
5348 | 34 |
import ns3_module_emu |
35 |
import ns3_module_bridge |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
36 |
import ns3_module_onoff |
5348 | 37 |
import ns3_module_udp_echo |
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
38 |
import ns3_module_ping6 |
5348 | 39 |
import ns3_module_nix_vector_routing |
40 |
import ns3_module_olsr |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
41 |
import ns3_module_aodv |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
42 |
import ns3_module_flow_monitor |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
43 |
import ns3_module_radvd |
5348 | 44 |
import ns3_module_mesh |
45 |
import ns3_module_helper |
|
46 |
import ns3_module_dot11s |
|
47 |
import ns3_module_flame |
|
48 |
||
49 |
def module_init(): |
|
50 |
root_module = Module('ns3', cpp_namespace='::ns3') |
|
51 |
return root_module |
|
52 |
||
53 |
def register_types(module): |
|
54 |
root_module = module.get_root() |
|
55 |
||
56 |
root_module.begin_section('ns3_module_core') |
|
57 |
ns3_module_core.register_types(module) |
|
58 |
||
59 |
try: |
|
60 |
import ns3_module_core__local |
|
61 |
except ImportError: |
|
62 |
pass |
|
63 |
else: |
|
64 |
ns3_module_core__local.register_types(module) |
|
65 |
||
66 |
root_module.end_section('ns3_module_core') |
|
67 |
root_module.begin_section('ns3_module_simulator') |
|
68 |
ns3_module_simulator.register_types(module) |
|
69 |
||
70 |
try: |
|
71 |
import ns3_module_simulator__local |
|
72 |
except ImportError: |
|
73 |
pass |
|
74 |
else: |
|
75 |
ns3_module_simulator__local.register_types(module) |
|
76 |
||
77 |
root_module.end_section('ns3_module_simulator') |
|
78 |
root_module.begin_section('ns3_module_test') |
|
79 |
ns3_module_test.register_types(module) |
|
80 |
||
81 |
try: |
|
82 |
import ns3_module_test__local |
|
83 |
except ImportError: |
|
84 |
pass |
|
85 |
else: |
|
86 |
ns3_module_test__local.register_types(module) |
|
87 |
||
88 |
root_module.end_section('ns3_module_test') |
|
89 |
root_module.begin_section('ns3_module_mobility') |
|
90 |
ns3_module_mobility.register_types(module) |
|
91 |
||
92 |
try: |
|
93 |
import ns3_module_mobility__local |
|
94 |
except ImportError: |
|
95 |
pass |
|
96 |
else: |
|
97 |
ns3_module_mobility__local.register_types(module) |
|
98 |
||
99 |
root_module.end_section('ns3_module_mobility') |
|
100 |
root_module.begin_section('ns3_module_common') |
|
101 |
ns3_module_common.register_types(module) |
|
102 |
||
103 |
try: |
|
104 |
import ns3_module_common__local |
|
105 |
except ImportError: |
|
106 |
pass |
|
107 |
else: |
|
108 |
ns3_module_common__local.register_types(module) |
|
109 |
||
110 |
root_module.end_section('ns3_module_common') |
|
111 |
root_module.begin_section('ns3_module_node') |
|
112 |
ns3_module_node.register_types(module) |
|
113 |
||
114 |
try: |
|
115 |
import ns3_module_node__local |
|
116 |
except ImportError: |
|
117 |
pass |
|
118 |
else: |
|
119 |
ns3_module_node__local.register_types(module) |
|
120 |
||
121 |
root_module.end_section('ns3_module_node') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
122 |
root_module.begin_section('ns3_module_contrib') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
123 |
ns3_module_contrib.register_types(module) |
5348 | 124 |
|
125 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
126 |
import ns3_module_contrib__local |
5348 | 127 |
except ImportError: |
128 |
pass |
|
129 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
130 |
ns3_module_contrib__local.register_types(module) |
5348 | 131 |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
132 |
root_module.end_section('ns3_module_contrib') |
5348 | 133 |
root_module.begin_section('ns3_module_point_to_point') |
134 |
ns3_module_point_to_point.register_types(module) |
|
135 |
||
136 |
try: |
|
137 |
import ns3_module_point_to_point__local |
|
138 |
except ImportError: |
|
139 |
pass |
|
140 |
else: |
|
141 |
ns3_module_point_to_point__local.register_types(module) |
|
142 |
||
143 |
root_module.end_section('ns3_module_point_to_point') |
|
144 |
root_module.begin_section('ns3_module_internet_stack') |
|
145 |
ns3_module_internet_stack.register_types(module) |
|
146 |
||
147 |
try: |
|
148 |
import ns3_module_internet_stack__local |
|
149 |
except ImportError: |
|
150 |
pass |
|
151 |
else: |
|
152 |
ns3_module_internet_stack__local.register_types(module) |
|
153 |
||
154 |
root_module.end_section('ns3_module_internet_stack') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
155 |
root_module.begin_section('ns3_module_tap_bridge') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
156 |
ns3_module_tap_bridge.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
157 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
158 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
159 |
import ns3_module_tap_bridge__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
160 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
161 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
162 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
163 |
ns3_module_tap_bridge__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
164 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
165 |
root_module.end_section('ns3_module_tap_bridge') |
5348 | 166 |
root_module.begin_section('ns3_module_csma') |
167 |
ns3_module_csma.register_types(module) |
|
168 |
||
169 |
try: |
|
170 |
import ns3_module_csma__local |
|
171 |
except ImportError: |
|
172 |
pass |
|
173 |
else: |
|
174 |
ns3_module_csma__local.register_types(module) |
|
175 |
||
176 |
root_module.end_section('ns3_module_csma') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
177 |
root_module.begin_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
178 |
ns3_module_wifi.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
179 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
180 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
181 |
import ns3_module_wifi__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
182 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
183 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
184 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
185 |
ns3_module_wifi__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
186 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
187 |
root_module.end_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
188 |
root_module.begin_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
189 |
ns3_module_static_routing.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
190 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
191 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
192 |
import ns3_module_static_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
193 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
194 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
195 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
196 |
ns3_module_static_routing__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
197 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
198 |
root_module.end_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
199 |
root_module.begin_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
200 |
ns3_module_v4ping.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
201 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
202 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
203 |
import ns3_module_v4ping__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
204 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
205 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
206 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
207 |
ns3_module_v4ping__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
208 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
209 |
root_module.end_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
210 |
root_module.begin_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
211 |
ns3_module_virtual_net_device.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
212 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
213 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
214 |
import ns3_module_virtual_net_device__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
215 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
216 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
217 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
218 |
ns3_module_virtual_net_device__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
219 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
220 |
root_module.end_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
221 |
root_module.begin_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
222 |
ns3_module_packet_sink.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
223 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
224 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
225 |
import ns3_module_packet_sink__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
226 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
227 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
228 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
229 |
ns3_module_packet_sink__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
230 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
231 |
root_module.end_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
232 |
root_module.begin_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
233 |
ns3_module_global_routing.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
234 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
235 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
236 |
import ns3_module_global_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
237 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
238 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
239 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
240 |
ns3_module_global_routing__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
241 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
242 |
root_module.end_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
243 |
root_module.begin_section('ns3_module_stats') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
244 |
ns3_module_stats.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
245 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
246 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
247 |
import ns3_module_stats__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
248 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
249 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
250 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
251 |
ns3_module_stats__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
252 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
253 |
root_module.end_section('ns3_module_stats') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
254 |
root_module.begin_section('ns3_module_list_routing') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
255 |
ns3_module_list_routing.register_types(module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
256 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
257 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
258 |
import ns3_module_list_routing__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
259 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
260 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
261 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
262 |
ns3_module_list_routing__local.register_types(module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
263 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
264 |
root_module.end_section('ns3_module_list_routing') |
5348 | 265 |
root_module.begin_section('ns3_module_emu') |
266 |
ns3_module_emu.register_types(module) |
|
267 |
||
268 |
try: |
|
269 |
import ns3_module_emu__local |
|
270 |
except ImportError: |
|
271 |
pass |
|
272 |
else: |
|
273 |
ns3_module_emu__local.register_types(module) |
|
274 |
||
275 |
root_module.end_section('ns3_module_emu') |
|
276 |
root_module.begin_section('ns3_module_bridge') |
|
277 |
ns3_module_bridge.register_types(module) |
|
278 |
||
279 |
try: |
|
280 |
import ns3_module_bridge__local |
|
281 |
except ImportError: |
|
282 |
pass |
|
283 |
else: |
|
284 |
ns3_module_bridge__local.register_types(module) |
|
285 |
||
286 |
root_module.end_section('ns3_module_bridge') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
287 |
root_module.begin_section('ns3_module_onoff') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
288 |
ns3_module_onoff.register_types(module) |
5348 | 289 |
|
290 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
291 |
import ns3_module_onoff__local |
5348 | 292 |
except ImportError: |
293 |
pass |
|
294 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
295 |
ns3_module_onoff__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
296 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
297 |
root_module.end_section('ns3_module_onoff') |
5348 | 298 |
root_module.begin_section('ns3_module_udp_echo') |
299 |
ns3_module_udp_echo.register_types(module) |
|
300 |
||
301 |
try: |
|
302 |
import ns3_module_udp_echo__local |
|
303 |
except ImportError: |
|
304 |
pass |
|
305 |
else: |
|
306 |
ns3_module_udp_echo__local.register_types(module) |
|
307 |
||
308 |
root_module.end_section('ns3_module_udp_echo') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
309 |
root_module.begin_section('ns3_module_ping6') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
310 |
ns3_module_ping6.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
311 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
312 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
313 |
import ns3_module_ping6__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
314 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
315 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
316 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
317 |
ns3_module_ping6__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
318 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
319 |
root_module.end_section('ns3_module_ping6') |
5348 | 320 |
root_module.begin_section('ns3_module_nix_vector_routing') |
321 |
ns3_module_nix_vector_routing.register_types(module) |
|
322 |
||
323 |
try: |
|
324 |
import ns3_module_nix_vector_routing__local |
|
325 |
except ImportError: |
|
326 |
pass |
|
327 |
else: |
|
328 |
ns3_module_nix_vector_routing__local.register_types(module) |
|
329 |
||
330 |
root_module.end_section('ns3_module_nix_vector_routing') |
|
331 |
root_module.begin_section('ns3_module_olsr') |
|
332 |
ns3_module_olsr.register_types(module) |
|
333 |
||
334 |
try: |
|
335 |
import ns3_module_olsr__local |
|
336 |
except ImportError: |
|
337 |
pass |
|
338 |
else: |
|
339 |
ns3_module_olsr__local.register_types(module) |
|
340 |
||
341 |
root_module.end_section('ns3_module_olsr') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
342 |
root_module.begin_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
343 |
ns3_module_aodv.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
344 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
345 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
346 |
import ns3_module_aodv__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
347 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
348 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
349 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
350 |
ns3_module_aodv__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
351 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
352 |
root_module.end_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
353 |
root_module.begin_section('ns3_module_flow_monitor') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
354 |
ns3_module_flow_monitor.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
355 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
356 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
357 |
import ns3_module_flow_monitor__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
358 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
359 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
360 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
361 |
ns3_module_flow_monitor__local.register_types(module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
362 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
363 |
root_module.end_section('ns3_module_flow_monitor') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
364 |
root_module.begin_section('ns3_module_radvd') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
365 |
ns3_module_radvd.register_types(module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
366 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
367 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
368 |
import ns3_module_radvd__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
369 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
370 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
371 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
372 |
ns3_module_radvd__local.register_types(module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
373 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
374 |
root_module.end_section('ns3_module_radvd') |
5348 | 375 |
root_module.begin_section('ns3_module_mesh') |
376 |
ns3_module_mesh.register_types(module) |
|
377 |
||
378 |
try: |
|
379 |
import ns3_module_mesh__local |
|
380 |
except ImportError: |
|
381 |
pass |
|
382 |
else: |
|
383 |
ns3_module_mesh__local.register_types(module) |
|
384 |
||
385 |
root_module.end_section('ns3_module_mesh') |
|
386 |
root_module.begin_section('ns3_module_helper') |
|
387 |
ns3_module_helper.register_types(module) |
|
388 |
||
389 |
try: |
|
390 |
import ns3_module_helper__local |
|
391 |
except ImportError: |
|
392 |
pass |
|
393 |
else: |
|
394 |
ns3_module_helper__local.register_types(module) |
|
395 |
||
396 |
root_module.end_section('ns3_module_helper') |
|
397 |
root_module.begin_section('ns3_module_dot11s') |
|
398 |
ns3_module_dot11s.register_types(module) |
|
399 |
||
400 |
try: |
|
401 |
import ns3_module_dot11s__local |
|
402 |
except ImportError: |
|
403 |
pass |
|
404 |
else: |
|
405 |
ns3_module_dot11s__local.register_types(module) |
|
406 |
||
407 |
root_module.end_section('ns3_module_dot11s') |
|
408 |
root_module.begin_section('ns3_module_flame') |
|
409 |
ns3_module_flame.register_types(module) |
|
410 |
||
411 |
try: |
|
412 |
import ns3_module_flame__local |
|
413 |
except ImportError: |
|
414 |
pass |
|
415 |
else: |
|
416 |
ns3_module_flame__local.register_types(module) |
|
417 |
||
418 |
root_module.end_section('ns3_module_flame') |
|
419 |
## animation-interface.h: ns3::AnimationInterface [class] |
|
420 |
module.add_class('AnimationInterface') |
|
421 |
## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] |
|
422 |
module.add_class('PointToPointDumbbellHelper', allow_subclassing=False) |
|
423 |
## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] |
|
424 |
module.add_class('PointToPointGridHelper', allow_subclassing=False) |
|
425 |
## node-location.h: ns3::NodeLocation [class] |
|
426 |
module.add_class('NodeLocation', parent=root_module['ns3::Object']) |
|
427 |
module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') |
|
428 |
module.add_container('std::vector< bool >', 'bool', container_type='vector') |
|
429 |
module.add_container('std::vector< unsigned long long >', 'long long unsigned int', container_type='vector') |
|
430 |
module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') |
|
431 |
module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type='list') |
|
432 |
||
433 |
## Register a nested module for the namespace Config |
|
434 |
||
435 |
nested_module = module.add_cpp_namespace('Config') |
|
436 |
register_types_ns3_Config(nested_module) |
|
437 |
||
438 |
||
439 |
## Register a nested module for the namespace TimeStepPrecision |
|
440 |
||
441 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
442 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
443 |
||
444 |
||
445 |
## Register a nested module for the namespace addressUtils |
|
446 |
||
447 |
nested_module = module.add_cpp_namespace('addressUtils') |
|
448 |
register_types_ns3_addressUtils(nested_module) |
|
449 |
||
450 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
451 |
## Register a nested module for the namespace aodv |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
452 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
453 |
nested_module = module.add_cpp_namespace('aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
454 |
register_types_ns3_aodv(nested_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
455 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
456 |
|
5348 | 457 |
## Register a nested module for the namespace dot11s |
458 |
||
459 |
nested_module = module.add_cpp_namespace('dot11s') |
|
460 |
register_types_ns3_dot11s(nested_module) |
|
461 |
||
462 |
||
463 |
## Register a nested module for the namespace flame |
|
464 |
||
465 |
nested_module = module.add_cpp_namespace('flame') |
|
466 |
register_types_ns3_flame(nested_module) |
|
467 |
||
468 |
||
469 |
## Register a nested module for the namespace internal |
|
470 |
||
471 |
nested_module = module.add_cpp_namespace('internal') |
|
472 |
register_types_ns3_internal(nested_module) |
|
473 |
||
474 |
||
475 |
## Register a nested module for the namespace olsr |
|
476 |
||
477 |
nested_module = module.add_cpp_namespace('olsr') |
|
478 |
register_types_ns3_olsr(nested_module) |
|
479 |
||
480 |
||
481 |
def register_types_ns3_Config(module): |
|
482 |
root_module = module.get_root() |
|
483 |
||
484 |
module.add_container('std::vector< std::string >', 'std::string', container_type='vector') |
|
485 |
||
486 |
def register_types_ns3_TimeStepPrecision(module): |
|
487 |
root_module = module.get_root() |
|
488 |
||
489 |
||
490 |
def register_types_ns3_addressUtils(module): |
|
491 |
root_module = module.get_root() |
|
492 |
||
493 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
494 |
def register_types_ns3_aodv(module): |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
495 |
root_module = module.get_root() |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
496 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
497 |
module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
498 |
|
5348 | 499 |
def register_types_ns3_dot11s(module): |
500 |
root_module = module.get_root() |
|
501 |
||
502 |
||
503 |
def register_types_ns3_flame(module): |
|
504 |
root_module = module.get_root() |
|
505 |
||
506 |
||
507 |
def register_types_ns3_internal(module): |
|
508 |
root_module = module.get_root() |
|
509 |
||
510 |
||
511 |
def register_types_ns3_olsr(module): |
|
512 |
root_module = module.get_root() |
|
513 |
||
514 |
||
515 |
def register_methods(root_module): |
|
516 |
register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) |
|
517 |
register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) |
|
518 |
register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) |
|
519 |
register_Ns3NodeLocation_methods(root_module, root_module['ns3::NodeLocation']) |
|
520 |
root_module.begin_section('ns3_module_core') |
|
521 |
ns3_module_core.register_methods(root_module) |
|
522 |
||
523 |
try: |
|
524 |
import ns3_module_core__local |
|
525 |
except ImportError: |
|
526 |
pass |
|
527 |
else: |
|
528 |
ns3_module_core__local.register_methods(root_module) |
|
529 |
||
530 |
root_module.end_section('ns3_module_core') |
|
531 |
root_module.begin_section('ns3_module_simulator') |
|
532 |
ns3_module_simulator.register_methods(root_module) |
|
533 |
||
534 |
try: |
|
535 |
import ns3_module_simulator__local |
|
536 |
except ImportError: |
|
537 |
pass |
|
538 |
else: |
|
539 |
ns3_module_simulator__local.register_methods(root_module) |
|
540 |
||
541 |
root_module.end_section('ns3_module_simulator') |
|
542 |
root_module.begin_section('ns3_module_test') |
|
543 |
ns3_module_test.register_methods(root_module) |
|
544 |
||
545 |
try: |
|
546 |
import ns3_module_test__local |
|
547 |
except ImportError: |
|
548 |
pass |
|
549 |
else: |
|
550 |
ns3_module_test__local.register_methods(root_module) |
|
551 |
||
552 |
root_module.end_section('ns3_module_test') |
|
553 |
root_module.begin_section('ns3_module_mobility') |
|
554 |
ns3_module_mobility.register_methods(root_module) |
|
555 |
||
556 |
try: |
|
557 |
import ns3_module_mobility__local |
|
558 |
except ImportError: |
|
559 |
pass |
|
560 |
else: |
|
561 |
ns3_module_mobility__local.register_methods(root_module) |
|
562 |
||
563 |
root_module.end_section('ns3_module_mobility') |
|
564 |
root_module.begin_section('ns3_module_common') |
|
565 |
ns3_module_common.register_methods(root_module) |
|
566 |
||
567 |
try: |
|
568 |
import ns3_module_common__local |
|
569 |
except ImportError: |
|
570 |
pass |
|
571 |
else: |
|
572 |
ns3_module_common__local.register_methods(root_module) |
|
573 |
||
574 |
root_module.end_section('ns3_module_common') |
|
575 |
root_module.begin_section('ns3_module_node') |
|
576 |
ns3_module_node.register_methods(root_module) |
|
577 |
||
578 |
try: |
|
579 |
import ns3_module_node__local |
|
580 |
except ImportError: |
|
581 |
pass |
|
582 |
else: |
|
583 |
ns3_module_node__local.register_methods(root_module) |
|
584 |
||
585 |
root_module.end_section('ns3_module_node') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
586 |
root_module.begin_section('ns3_module_contrib') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
587 |
ns3_module_contrib.register_methods(root_module) |
5348 | 588 |
|
589 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
590 |
import ns3_module_contrib__local |
5348 | 591 |
except ImportError: |
592 |
pass |
|
593 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
594 |
ns3_module_contrib__local.register_methods(root_module) |
5348 | 595 |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
596 |
root_module.end_section('ns3_module_contrib') |
5348 | 597 |
root_module.begin_section('ns3_module_point_to_point') |
598 |
ns3_module_point_to_point.register_methods(root_module) |
|
599 |
||
600 |
try: |
|
601 |
import ns3_module_point_to_point__local |
|
602 |
except ImportError: |
|
603 |
pass |
|
604 |
else: |
|
605 |
ns3_module_point_to_point__local.register_methods(root_module) |
|
606 |
||
607 |
root_module.end_section('ns3_module_point_to_point') |
|
608 |
root_module.begin_section('ns3_module_internet_stack') |
|
609 |
ns3_module_internet_stack.register_methods(root_module) |
|
610 |
||
611 |
try: |
|
612 |
import ns3_module_internet_stack__local |
|
613 |
except ImportError: |
|
614 |
pass |
|
615 |
else: |
|
616 |
ns3_module_internet_stack__local.register_methods(root_module) |
|
617 |
||
618 |
root_module.end_section('ns3_module_internet_stack') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
619 |
root_module.begin_section('ns3_module_tap_bridge') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
620 |
ns3_module_tap_bridge.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
621 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
622 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
623 |
import ns3_module_tap_bridge__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
624 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
625 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
626 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
627 |
ns3_module_tap_bridge__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
628 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
629 |
root_module.end_section('ns3_module_tap_bridge') |
5348 | 630 |
root_module.begin_section('ns3_module_csma') |
631 |
ns3_module_csma.register_methods(root_module) |
|
632 |
||
633 |
try: |
|
634 |
import ns3_module_csma__local |
|
635 |
except ImportError: |
|
636 |
pass |
|
637 |
else: |
|
638 |
ns3_module_csma__local.register_methods(root_module) |
|
639 |
||
640 |
root_module.end_section('ns3_module_csma') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
641 |
root_module.begin_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
642 |
ns3_module_wifi.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
643 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
644 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
645 |
import ns3_module_wifi__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
646 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
647 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
648 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
649 |
ns3_module_wifi__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
650 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
651 |
root_module.end_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
652 |
root_module.begin_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
653 |
ns3_module_static_routing.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
654 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
655 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
656 |
import ns3_module_static_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
657 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
658 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
659 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
660 |
ns3_module_static_routing__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
661 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
662 |
root_module.end_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
663 |
root_module.begin_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
664 |
ns3_module_v4ping.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
665 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
666 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
667 |
import ns3_module_v4ping__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
668 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
669 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
670 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
671 |
ns3_module_v4ping__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
672 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
673 |
root_module.end_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
674 |
root_module.begin_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
675 |
ns3_module_virtual_net_device.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
676 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
677 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
678 |
import ns3_module_virtual_net_device__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
679 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
680 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
681 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
682 |
ns3_module_virtual_net_device__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
683 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
684 |
root_module.end_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
685 |
root_module.begin_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
686 |
ns3_module_packet_sink.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
687 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
688 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
689 |
import ns3_module_packet_sink__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
690 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
691 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
692 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
693 |
ns3_module_packet_sink__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
694 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
695 |
root_module.end_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
696 |
root_module.begin_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
697 |
ns3_module_global_routing.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
698 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
699 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
700 |
import ns3_module_global_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
701 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
702 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
703 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
704 |
ns3_module_global_routing__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
705 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
706 |
root_module.end_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
707 |
root_module.begin_section('ns3_module_stats') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
708 |
ns3_module_stats.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
709 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
710 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
711 |
import ns3_module_stats__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
712 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
713 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
714 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
715 |
ns3_module_stats__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
716 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
717 |
root_module.end_section('ns3_module_stats') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
718 |
root_module.begin_section('ns3_module_list_routing') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
719 |
ns3_module_list_routing.register_methods(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
720 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
721 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
722 |
import ns3_module_list_routing__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
723 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
724 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
725 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
726 |
ns3_module_list_routing__local.register_methods(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
727 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
728 |
root_module.end_section('ns3_module_list_routing') |
5348 | 729 |
root_module.begin_section('ns3_module_emu') |
730 |
ns3_module_emu.register_methods(root_module) |
|
731 |
||
732 |
try: |
|
733 |
import ns3_module_emu__local |
|
734 |
except ImportError: |
|
735 |
pass |
|
736 |
else: |
|
737 |
ns3_module_emu__local.register_methods(root_module) |
|
738 |
||
739 |
root_module.end_section('ns3_module_emu') |
|
740 |
root_module.begin_section('ns3_module_bridge') |
|
741 |
ns3_module_bridge.register_methods(root_module) |
|
742 |
||
743 |
try: |
|
744 |
import ns3_module_bridge__local |
|
745 |
except ImportError: |
|
746 |
pass |
|
747 |
else: |
|
748 |
ns3_module_bridge__local.register_methods(root_module) |
|
749 |
||
750 |
root_module.end_section('ns3_module_bridge') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
751 |
root_module.begin_section('ns3_module_onoff') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
752 |
ns3_module_onoff.register_methods(root_module) |
5348 | 753 |
|
754 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
755 |
import ns3_module_onoff__local |
5348 | 756 |
except ImportError: |
757 |
pass |
|
758 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
759 |
ns3_module_onoff__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
760 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
761 |
root_module.end_section('ns3_module_onoff') |
5348 | 762 |
root_module.begin_section('ns3_module_udp_echo') |
763 |
ns3_module_udp_echo.register_methods(root_module) |
|
764 |
||
765 |
try: |
|
766 |
import ns3_module_udp_echo__local |
|
767 |
except ImportError: |
|
768 |
pass |
|
769 |
else: |
|
770 |
ns3_module_udp_echo__local.register_methods(root_module) |
|
771 |
||
772 |
root_module.end_section('ns3_module_udp_echo') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
773 |
root_module.begin_section('ns3_module_ping6') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
774 |
ns3_module_ping6.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
775 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
776 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
777 |
import ns3_module_ping6__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
778 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
779 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
780 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
781 |
ns3_module_ping6__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
782 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
783 |
root_module.end_section('ns3_module_ping6') |
5348 | 784 |
root_module.begin_section('ns3_module_nix_vector_routing') |
785 |
ns3_module_nix_vector_routing.register_methods(root_module) |
|
786 |
||
787 |
try: |
|
788 |
import ns3_module_nix_vector_routing__local |
|
789 |
except ImportError: |
|
790 |
pass |
|
791 |
else: |
|
792 |
ns3_module_nix_vector_routing__local.register_methods(root_module) |
|
793 |
||
794 |
root_module.end_section('ns3_module_nix_vector_routing') |
|
795 |
root_module.begin_section('ns3_module_olsr') |
|
796 |
ns3_module_olsr.register_methods(root_module) |
|
797 |
||
798 |
try: |
|
799 |
import ns3_module_olsr__local |
|
800 |
except ImportError: |
|
801 |
pass |
|
802 |
else: |
|
803 |
ns3_module_olsr__local.register_methods(root_module) |
|
804 |
||
805 |
root_module.end_section('ns3_module_olsr') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
806 |
root_module.begin_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
807 |
ns3_module_aodv.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
808 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
809 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
810 |
import ns3_module_aodv__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
811 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
812 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
813 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
814 |
ns3_module_aodv__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
815 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
816 |
root_module.end_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
817 |
root_module.begin_section('ns3_module_flow_monitor') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
818 |
ns3_module_flow_monitor.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
819 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
820 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
821 |
import ns3_module_flow_monitor__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
822 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
823 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
824 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
825 |
ns3_module_flow_monitor__local.register_methods(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
826 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
827 |
root_module.end_section('ns3_module_flow_monitor') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
828 |
root_module.begin_section('ns3_module_radvd') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
829 |
ns3_module_radvd.register_methods(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
830 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
831 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
832 |
import ns3_module_radvd__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
833 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
834 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
835 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
836 |
ns3_module_radvd__local.register_methods(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
837 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
838 |
root_module.end_section('ns3_module_radvd') |
5348 | 839 |
root_module.begin_section('ns3_module_mesh') |
840 |
ns3_module_mesh.register_methods(root_module) |
|
841 |
||
842 |
try: |
|
843 |
import ns3_module_mesh__local |
|
844 |
except ImportError: |
|
845 |
pass |
|
846 |
else: |
|
847 |
ns3_module_mesh__local.register_methods(root_module) |
|
848 |
||
849 |
root_module.end_section('ns3_module_mesh') |
|
850 |
root_module.begin_section('ns3_module_helper') |
|
851 |
ns3_module_helper.register_methods(root_module) |
|
852 |
||
853 |
try: |
|
854 |
import ns3_module_helper__local |
|
855 |
except ImportError: |
|
856 |
pass |
|
857 |
else: |
|
858 |
ns3_module_helper__local.register_methods(root_module) |
|
859 |
||
860 |
root_module.end_section('ns3_module_helper') |
|
861 |
root_module.begin_section('ns3_module_dot11s') |
|
862 |
ns3_module_dot11s.register_methods(root_module) |
|
863 |
||
864 |
try: |
|
865 |
import ns3_module_dot11s__local |
|
866 |
except ImportError: |
|
867 |
pass |
|
868 |
else: |
|
869 |
ns3_module_dot11s__local.register_methods(root_module) |
|
870 |
||
871 |
root_module.end_section('ns3_module_dot11s') |
|
872 |
root_module.begin_section('ns3_module_flame') |
|
873 |
ns3_module_flame.register_methods(root_module) |
|
874 |
||
875 |
try: |
|
876 |
import ns3_module_flame__local |
|
877 |
except ImportError: |
|
878 |
pass |
|
879 |
else: |
|
880 |
ns3_module_flame__local.register_methods(root_module) |
|
881 |
||
882 |
root_module.end_section('ns3_module_flame') |
|
883 |
return |
|
884 |
||
885 |
def register_Ns3AnimationInterface_methods(root_module, cls): |
|
886 |
## animation-interface.h: ns3::AnimationInterface::AnimationInterface(ns3::AnimationInterface const & arg0) [copy constructor] |
|
887 |
cls.add_constructor([param('ns3::AnimationInterface const &', 'arg0')]) |
|
888 |
## animation-interface.h: ns3::AnimationInterface::AnimationInterface() [constructor] |
|
889 |
cls.add_constructor([]) |
|
890 |
## animation-interface.h: bool ns3::AnimationInterface::SetInternalAnimation() [member function] |
|
891 |
cls.add_method('SetInternalAnimation', |
|
892 |
'bool', |
|
893 |
[]) |
|
894 |
## animation-interface.h: bool ns3::AnimationInterface::SetOutputFile(std::string const & fn) [member function] |
|
895 |
cls.add_method('SetOutputFile', |
|
896 |
'bool', |
|
897 |
[param('std::string const &', 'fn')]) |
|
898 |
## animation-interface.h: bool ns3::AnimationInterface::SetServerPort(uint16_t port) [member function] |
|
899 |
cls.add_method('SetServerPort', |
|
900 |
'bool', |
|
901 |
[param('uint16_t', 'port')]) |
|
902 |
## animation-interface.h: void ns3::AnimationInterface::StartAnimation() [member function] |
|
903 |
cls.add_method('StartAnimation', |
|
904 |
'void', |
|
905 |
[]) |
|
906 |
## animation-interface.h: void ns3::AnimationInterface::StopAnimation() [member function] |
|
907 |
cls.add_method('StopAnimation', |
|
908 |
'void', |
|
909 |
[]) |
|
910 |
return |
|
911 |
||
912 |
def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls): |
|
913 |
## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor] |
|
914 |
cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')]) |
|
915 |
## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper & leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper & rightHelper, ns3::PointToPointHelper & bottleneckHelper) [constructor] |
|
916 |
cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper &', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper &', 'rightHelper'), param('ns3::PointToPointHelper &', 'bottleneckHelper')]) |
|
917 |
## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::AssignAddresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function] |
|
918 |
cls.add_method('AssignAddresses', |
|
919 |
'void', |
|
920 |
[param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')]) |
|
921 |
## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::BoundingBox(double arg0, double arg1, double arg2, double arg3) [member function] |
|
922 |
cls.add_method('BoundingBox', |
|
923 |
'void', |
|
924 |
[param('double', 'arg0'), param('double', 'arg1'), param('double', 'arg2'), param('double', 'arg3')]) |
|
925 |
## point-to-point-dumbbell-helper.h: ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft() const [member function] |
|
926 |
cls.add_method('GetLeft', |
|
927 |
'ns3::Ptr< ns3::Node >', |
|
928 |
[], |
|
929 |
is_const=True) |
|
930 |
## point-to-point-dumbbell-helper.h: ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft(uint32_t arg0) const [member function] |
|
931 |
cls.add_method('GetLeft', |
|
932 |
'ns3::Ptr< ns3::Node >', |
|
933 |
[param('uint32_t', 'arg0')], |
|
934 |
is_const=True) |
|
935 |
## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftAddress(uint32_t arg0) const [member function] |
|
936 |
cls.add_method('GetLeftAddress', |
|
937 |
'ns3::Ipv4Address', |
|
938 |
[param('uint32_t', 'arg0')], |
|
939 |
is_const=True) |
|
940 |
## point-to-point-dumbbell-helper.h: ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight() const [member function] |
|
941 |
cls.add_method('GetRight', |
|
942 |
'ns3::Ptr< ns3::Node >', |
|
943 |
[], |
|
944 |
is_const=True) |
|
945 |
## point-to-point-dumbbell-helper.h: ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight(uint32_t arg0) const [member function] |
|
946 |
cls.add_method('GetRight', |
|
947 |
'ns3::Ptr< ns3::Node >', |
|
948 |
[param('uint32_t', 'arg0')], |
|
949 |
is_const=True) |
|
950 |
## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightAddress(uint32_t arg0) const [member function] |
|
951 |
cls.add_method('GetRightAddress', |
|
952 |
'ns3::Ipv4Address', |
|
953 |
[param('uint32_t', 'arg0')], |
|
954 |
is_const=True) |
|
955 |
## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function] |
|
956 |
cls.add_method('InstallStack', |
|
957 |
'void', |
|
958 |
[param('ns3::InternetStackHelper', 'stack')]) |
|
959 |
## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function] |
|
960 |
cls.add_method('LeftCount', |
|
961 |
'uint32_t', |
|
962 |
[], |
|
963 |
is_const=True) |
|
964 |
## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function] |
|
965 |
cls.add_method('RightCount', |
|
966 |
'uint32_t', |
|
967 |
[], |
|
968 |
is_const=True) |
|
969 |
return |
|
970 |
||
971 |
def register_Ns3PointToPointGridHelper_methods(root_module, cls): |
|
972 |
## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor] |
|
973 |
cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')]) |
|
974 |
## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor] |
|
975 |
cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')]) |
|
976 |
## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::AssignAddresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function] |
|
977 |
cls.add_method('AssignAddresses', |
|
978 |
'void', |
|
979 |
[param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')]) |
|
980 |
## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] |
|
981 |
cls.add_method('BoundingBox', |
|
982 |
'void', |
|
983 |
[param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) |
|
984 |
## point-to-point-grid-helper.h: ns3::Ipv4Address ns3::PointToPointGridHelper::GetAddress(uint32_t row, uint32_t col) [member function] |
|
985 |
cls.add_method('GetAddress', |
|
986 |
'ns3::Ipv4Address', |
|
987 |
[param('uint32_t', 'row'), param('uint32_t', 'col')]) |
|
988 |
## point-to-point-grid-helper.h: ns3::Ptr<ns3::Node> ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function] |
|
989 |
cls.add_method('GetNode', |
|
990 |
'ns3::Ptr< ns3::Node >', |
|
991 |
[param('uint32_t', 'row'), param('uint32_t', 'col')]) |
|
992 |
## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function] |
|
993 |
cls.add_method('InstallStack', |
|
994 |
'void', |
|
995 |
[param('ns3::InternetStackHelper', 'stack')]) |
|
996 |
return |
|
997 |
||
998 |
def register_Ns3NodeLocation_methods(root_module, cls): |
|
999 |
## node-location.h: ns3::NodeLocation::NodeLocation(ns3::NodeLocation const & arg0) [copy constructor] |
|
1000 |
cls.add_constructor([param('ns3::NodeLocation const &', 'arg0')]) |
|
1001 |
## node-location.h: ns3::NodeLocation::NodeLocation() [constructor] |
|
1002 |
cls.add_constructor([]) |
|
1003 |
## node-location.h: ns3::Vector ns3::NodeLocation::GetLocation() const [member function] |
|
1004 |
cls.add_method('GetLocation', |
|
1005 |
'ns3::Vector', |
|
1006 |
[], |
|
1007 |
is_const=True) |
|
1008 |
## node-location.h: static ns3::TypeId ns3::NodeLocation::GetTypeId() [member function] |
|
1009 |
cls.add_method('GetTypeId', |
|
1010 |
'ns3::TypeId', |
|
1011 |
[], |
|
1012 |
is_static=True) |
|
1013 |
## node-location.h: void ns3::NodeLocation::SetLocation(ns3::Vector const & location) [member function] |
|
1014 |
cls.add_method('SetLocation', |
|
1015 |
'void', |
|
1016 |
[param('ns3::Vector const &', 'location')]) |
|
1017 |
return |
|
1018 |
||
1019 |
def register_functions(root_module): |
|
1020 |
module = root_module |
|
1021 |
root_module.begin_section('ns3_module_core') |
|
1022 |
ns3_module_core.register_functions(root_module) |
|
1023 |
||
1024 |
try: |
|
1025 |
import ns3_module_core__local |
|
1026 |
except ImportError: |
|
1027 |
pass |
|
1028 |
else: |
|
1029 |
ns3_module_core__local.register_functions(root_module) |
|
1030 |
||
1031 |
root_module.end_section('ns3_module_core') |
|
1032 |
root_module.begin_section('ns3_module_simulator') |
|
1033 |
ns3_module_simulator.register_functions(root_module) |
|
1034 |
||
1035 |
try: |
|
1036 |
import ns3_module_simulator__local |
|
1037 |
except ImportError: |
|
1038 |
pass |
|
1039 |
else: |
|
1040 |
ns3_module_simulator__local.register_functions(root_module) |
|
1041 |
||
1042 |
root_module.end_section('ns3_module_simulator') |
|
1043 |
root_module.begin_section('ns3_module_test') |
|
1044 |
ns3_module_test.register_functions(root_module) |
|
1045 |
||
1046 |
try: |
|
1047 |
import ns3_module_test__local |
|
1048 |
except ImportError: |
|
1049 |
pass |
|
1050 |
else: |
|
1051 |
ns3_module_test__local.register_functions(root_module) |
|
1052 |
||
1053 |
root_module.end_section('ns3_module_test') |
|
1054 |
root_module.begin_section('ns3_module_mobility') |
|
1055 |
ns3_module_mobility.register_functions(root_module) |
|
1056 |
||
1057 |
try: |
|
1058 |
import ns3_module_mobility__local |
|
1059 |
except ImportError: |
|
1060 |
pass |
|
1061 |
else: |
|
1062 |
ns3_module_mobility__local.register_functions(root_module) |
|
1063 |
||
1064 |
root_module.end_section('ns3_module_mobility') |
|
1065 |
root_module.begin_section('ns3_module_common') |
|
1066 |
ns3_module_common.register_functions(root_module) |
|
1067 |
||
1068 |
try: |
|
1069 |
import ns3_module_common__local |
|
1070 |
except ImportError: |
|
1071 |
pass |
|
1072 |
else: |
|
1073 |
ns3_module_common__local.register_functions(root_module) |
|
1074 |
||
1075 |
root_module.end_section('ns3_module_common') |
|
1076 |
root_module.begin_section('ns3_module_node') |
|
1077 |
ns3_module_node.register_functions(root_module) |
|
1078 |
||
1079 |
try: |
|
1080 |
import ns3_module_node__local |
|
1081 |
except ImportError: |
|
1082 |
pass |
|
1083 |
else: |
|
1084 |
ns3_module_node__local.register_functions(root_module) |
|
1085 |
||
1086 |
root_module.end_section('ns3_module_node') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1087 |
root_module.begin_section('ns3_module_contrib') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1088 |
ns3_module_contrib.register_functions(root_module) |
5348 | 1089 |
|
1090 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1091 |
import ns3_module_contrib__local |
5348 | 1092 |
except ImportError: |
1093 |
pass |
|
1094 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1095 |
ns3_module_contrib__local.register_functions(root_module) |
5348 | 1096 |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1097 |
root_module.end_section('ns3_module_contrib') |
5348 | 1098 |
root_module.begin_section('ns3_module_point_to_point') |
1099 |
ns3_module_point_to_point.register_functions(root_module) |
|
1100 |
||
1101 |
try: |
|
1102 |
import ns3_module_point_to_point__local |
|
1103 |
except ImportError: |
|
1104 |
pass |
|
1105 |
else: |
|
1106 |
ns3_module_point_to_point__local.register_functions(root_module) |
|
1107 |
||
1108 |
root_module.end_section('ns3_module_point_to_point') |
|
1109 |
root_module.begin_section('ns3_module_internet_stack') |
|
1110 |
ns3_module_internet_stack.register_functions(root_module) |
|
1111 |
||
1112 |
try: |
|
1113 |
import ns3_module_internet_stack__local |
|
1114 |
except ImportError: |
|
1115 |
pass |
|
1116 |
else: |
|
1117 |
ns3_module_internet_stack__local.register_functions(root_module) |
|
1118 |
||
1119 |
root_module.end_section('ns3_module_internet_stack') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1120 |
root_module.begin_section('ns3_module_tap_bridge') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1121 |
ns3_module_tap_bridge.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1122 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1123 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1124 |
import ns3_module_tap_bridge__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1125 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1126 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1127 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1128 |
ns3_module_tap_bridge__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1129 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1130 |
root_module.end_section('ns3_module_tap_bridge') |
5348 | 1131 |
root_module.begin_section('ns3_module_csma') |
1132 |
ns3_module_csma.register_functions(root_module) |
|
1133 |
||
1134 |
try: |
|
1135 |
import ns3_module_csma__local |
|
1136 |
except ImportError: |
|
1137 |
pass |
|
1138 |
else: |
|
1139 |
ns3_module_csma__local.register_functions(root_module) |
|
1140 |
||
1141 |
root_module.end_section('ns3_module_csma') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1142 |
root_module.begin_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1143 |
ns3_module_wifi.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1144 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1145 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1146 |
import ns3_module_wifi__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1147 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1148 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1149 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1150 |
ns3_module_wifi__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1151 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1152 |
root_module.end_section('ns3_module_wifi') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1153 |
root_module.begin_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1154 |
ns3_module_static_routing.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1155 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1156 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1157 |
import ns3_module_static_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1158 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1159 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1160 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1161 |
ns3_module_static_routing__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1162 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1163 |
root_module.end_section('ns3_module_static_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1164 |
root_module.begin_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1165 |
ns3_module_v4ping.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1166 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1167 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1168 |
import ns3_module_v4ping__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1169 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1170 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1171 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1172 |
ns3_module_v4ping__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1173 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1174 |
root_module.end_section('ns3_module_v4ping') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1175 |
root_module.begin_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1176 |
ns3_module_virtual_net_device.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1177 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1178 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1179 |
import ns3_module_virtual_net_device__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1180 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1181 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1182 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1183 |
ns3_module_virtual_net_device__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1184 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1185 |
root_module.end_section('ns3_module_virtual_net_device') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1186 |
root_module.begin_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1187 |
ns3_module_packet_sink.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1188 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1189 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1190 |
import ns3_module_packet_sink__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1191 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1192 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1193 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1194 |
ns3_module_packet_sink__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1195 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1196 |
root_module.end_section('ns3_module_packet_sink') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1197 |
root_module.begin_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1198 |
ns3_module_global_routing.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1199 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1200 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1201 |
import ns3_module_global_routing__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1202 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1203 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1204 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1205 |
ns3_module_global_routing__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1206 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1207 |
root_module.end_section('ns3_module_global_routing') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1208 |
root_module.begin_section('ns3_module_stats') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1209 |
ns3_module_stats.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1210 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1211 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1212 |
import ns3_module_stats__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1213 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1214 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1215 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1216 |
ns3_module_stats__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1217 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1218 |
root_module.end_section('ns3_module_stats') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1219 |
root_module.begin_section('ns3_module_list_routing') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1220 |
ns3_module_list_routing.register_functions(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1221 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1222 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1223 |
import ns3_module_list_routing__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1224 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1225 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1226 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1227 |
ns3_module_list_routing__local.register_functions(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1228 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1229 |
root_module.end_section('ns3_module_list_routing') |
5348 | 1230 |
root_module.begin_section('ns3_module_emu') |
1231 |
ns3_module_emu.register_functions(root_module) |
|
1232 |
||
1233 |
try: |
|
1234 |
import ns3_module_emu__local |
|
1235 |
except ImportError: |
|
1236 |
pass |
|
1237 |
else: |
|
1238 |
ns3_module_emu__local.register_functions(root_module) |
|
1239 |
||
1240 |
root_module.end_section('ns3_module_emu') |
|
1241 |
root_module.begin_section('ns3_module_bridge') |
|
1242 |
ns3_module_bridge.register_functions(root_module) |
|
1243 |
||
1244 |
try: |
|
1245 |
import ns3_module_bridge__local |
|
1246 |
except ImportError: |
|
1247 |
pass |
|
1248 |
else: |
|
1249 |
ns3_module_bridge__local.register_functions(root_module) |
|
1250 |
||
1251 |
root_module.end_section('ns3_module_bridge') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1252 |
root_module.begin_section('ns3_module_onoff') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1253 |
ns3_module_onoff.register_functions(root_module) |
5348 | 1254 |
|
1255 |
try: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1256 |
import ns3_module_onoff__local |
5348 | 1257 |
except ImportError: |
1258 |
pass |
|
1259 |
else: |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1260 |
ns3_module_onoff__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1261 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1262 |
root_module.end_section('ns3_module_onoff') |
5348 | 1263 |
root_module.begin_section('ns3_module_udp_echo') |
1264 |
ns3_module_udp_echo.register_functions(root_module) |
|
1265 |
||
1266 |
try: |
|
1267 |
import ns3_module_udp_echo__local |
|
1268 |
except ImportError: |
|
1269 |
pass |
|
1270 |
else: |
|
1271 |
ns3_module_udp_echo__local.register_functions(root_module) |
|
1272 |
||
1273 |
root_module.end_section('ns3_module_udp_echo') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1274 |
root_module.begin_section('ns3_module_ping6') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1275 |
ns3_module_ping6.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1276 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1277 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1278 |
import ns3_module_ping6__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1279 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1280 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1281 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1282 |
ns3_module_ping6__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1283 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1284 |
root_module.end_section('ns3_module_ping6') |
5348 | 1285 |
root_module.begin_section('ns3_module_nix_vector_routing') |
1286 |
ns3_module_nix_vector_routing.register_functions(root_module) |
|
1287 |
||
1288 |
try: |
|
1289 |
import ns3_module_nix_vector_routing__local |
|
1290 |
except ImportError: |
|
1291 |
pass |
|
1292 |
else: |
|
1293 |
ns3_module_nix_vector_routing__local.register_functions(root_module) |
|
1294 |
||
1295 |
root_module.end_section('ns3_module_nix_vector_routing') |
|
1296 |
root_module.begin_section('ns3_module_olsr') |
|
1297 |
ns3_module_olsr.register_functions(root_module) |
|
1298 |
||
1299 |
try: |
|
1300 |
import ns3_module_olsr__local |
|
1301 |
except ImportError: |
|
1302 |
pass |
|
1303 |
else: |
|
1304 |
ns3_module_olsr__local.register_functions(root_module) |
|
1305 |
||
1306 |
root_module.end_section('ns3_module_olsr') |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1307 |
root_module.begin_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1308 |
ns3_module_aodv.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1309 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1310 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1311 |
import ns3_module_aodv__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1312 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1313 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1314 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1315 |
ns3_module_aodv__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1316 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1317 |
root_module.end_section('ns3_module_aodv') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1318 |
root_module.begin_section('ns3_module_flow_monitor') |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1319 |
ns3_module_flow_monitor.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1320 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1321 |
try: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1322 |
import ns3_module_flow_monitor__local |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1323 |
except ImportError: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1324 |
pass |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1325 |
else: |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1326 |
ns3_module_flow_monitor__local.register_functions(root_module) |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1327 |
|
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1328 |
root_module.end_section('ns3_module_flow_monitor') |
5504
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1329 |
root_module.begin_section('ns3_module_radvd') |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1330 |
ns3_module_radvd.register_functions(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1331 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1332 |
try: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1333 |
import ns3_module_radvd__local |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1334 |
except ImportError: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1335 |
pass |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1336 |
else: |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1337 |
ns3_module_radvd__local.register_functions(root_module) |
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1338 |
|
2cc780c07f5e
Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents:
5456
diff
changeset
|
1339 |
root_module.end_section('ns3_module_radvd') |
5348 | 1340 |
root_module.begin_section('ns3_module_mesh') |
1341 |
ns3_module_mesh.register_functions(root_module) |
|
1342 |
||
1343 |
try: |
|
1344 |
import ns3_module_mesh__local |
|
1345 |
except ImportError: |
|
1346 |
pass |
|
1347 |
else: |
|
1348 |
ns3_module_mesh__local.register_functions(root_module) |
|
1349 |
||
1350 |
root_module.end_section('ns3_module_mesh') |
|
1351 |
root_module.begin_section('ns3_module_helper') |
|
1352 |
ns3_module_helper.register_functions(root_module) |
|
1353 |
||
1354 |
try: |
|
1355 |
import ns3_module_helper__local |
|
1356 |
except ImportError: |
|
1357 |
pass |
|
1358 |
else: |
|
1359 |
ns3_module_helper__local.register_functions(root_module) |
|
1360 |
||
1361 |
root_module.end_section('ns3_module_helper') |
|
1362 |
root_module.begin_section('ns3_module_dot11s') |
|
1363 |
ns3_module_dot11s.register_functions(root_module) |
|
1364 |
||
1365 |
try: |
|
1366 |
import ns3_module_dot11s__local |
|
1367 |
except ImportError: |
|
1368 |
pass |
|
1369 |
else: |
|
1370 |
ns3_module_dot11s__local.register_functions(root_module) |
|
1371 |
||
1372 |
root_module.end_section('ns3_module_dot11s') |
|
1373 |
root_module.begin_section('ns3_module_flame') |
|
1374 |
ns3_module_flame.register_functions(root_module) |
|
1375 |
||
1376 |
try: |
|
1377 |
import ns3_module_flame__local |
|
1378 |
except ImportError: |
|
1379 |
pass |
|
1380 |
else: |
|
1381 |
ns3_module_flame__local.register_functions(root_module) |
|
1382 |
||
1383 |
root_module.end_section('ns3_module_flame') |
|
1384 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
|
1385 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
|
1386 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) |
|
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1387 |
register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) |
5348 | 1388 |
register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) |
1389 |
register_functions_ns3_flame(module.get_submodule('flame'), root_module) |
|
1390 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
|
1391 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
|
1392 |
return |
|
1393 |
||
1394 |
def register_functions_ns3_Config(module, root_module): |
|
1395 |
return |
|
1396 |
||
1397 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
|
1398 |
return |
|
1399 |
||
1400 |
def register_functions_ns3_addressUtils(module, root_module): |
|
1401 |
return |
|
1402 |
||
5753
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1403 |
def register_functions_ns3_aodv(module, root_module): |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1404 |
return |
8c105b521d1b
Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
5504
diff
changeset
|
1405 |
|
5348 | 1406 |
def register_functions_ns3_dot11s(module, root_module): |
1407 |
return |
|
1408 |
||
1409 |
def register_functions_ns3_flame(module, root_module): |
|
1410 |
return |
|
1411 |
||
1412 |
def register_functions_ns3_internal(module, root_module): |
|
1413 |
return |
|
1414 |
||
1415 |
def register_functions_ns3_olsr(module, root_module): |
|
1416 |
return |
|
1417 |
||
1418 |
def main(): |
|
1419 |
out = FileCodeSink(sys.stdout) |
|
1420 |
root_module = module_init() |
|
1421 |
register_types(root_module) |
|
1422 |
register_methods(root_module) |
|
1423 |
register_functions(root_module) |
|
1424 |
root_module.generate(out) |
|
1425 |
||
1426 |
if __name__ == '__main__': |
|
1427 |
main() |
|
1428 |