2 # -*- coding: utf-8 -*-
4 from nepi.util import tags
5 from nepi.util.constants import AF_INET, ApplicationStatus as AS, \
6 FactoryCategories as FC
7 from nepi.util.tunchannel_impl import \
8 preconfigure_tunchannel, postconfigure_tunchannel, \
9 wait_tunchannel, create_tunchannel
12 wifi_standards = dict({
13 "WIFI_PHY_STANDARD_holland": 5,
14 "WIFI_PHY_STANDARD_80211p_SCH": 7,
15 "WIFI_PHY_STANDARD_80211_5Mhz": 4,
16 "WIFI_PHY_UNKNOWN": 8,
17 "WIFI_PHY_STANDARD_80211_10Mhz": 3,
18 "WIFI_PHY_STANDARD_80211g": 2,
19 "WIFI_PHY_STANDARD_80211p_CCH": 6,
20 "WIFI_PHY_STANDARD_80211a": 0,
21 "WIFI_PHY_STANDARD_80211b": 1
25 "Icmpv4L4Protocol": 1,
30 service_flow_direction = dict({
32 "SF_DIRECTION_DOWN": 0,
35 service_flow_scheduling_type = dict ({
45 def _get_ipv4_protocol_guid(testbed_instance, node_guid):
46 # search for the Ipv4L3Protocol asociated with the device
47 protos_guids = testbed_instance.get_connected(node_guid, "protos", "node")
48 if len(protos_guids) == 0:
49 raise RuntimeError("No protocols where found for the node %d" % node_guid)
51 for proto_guid in protos_guids:
52 proto_factory_id = testbed_instance._create[proto_guid]
53 if proto_factory_id == "ns3::Ipv4L3Protocol":
54 ipv4_guid = proto_guid
57 raise RuntimeError("No Ipv4L3Protocol associated to node %d. Can't add Ipv4 addresses" % node_guid)
60 def _get_node_guid(testbed_instance, guid):
61 # search for the node asociated with the device
62 node_guids = testbed_instance.get_connected(guid, "node", "devs")
63 if len(node_guids) == 0:
64 raise RuntimeError("Can't instantiate interface %d outside node" % guid)
65 node_guid = node_guids[0]
68 def _get_dev_number(testbed_instance, guid):
69 node_guid = _get_node_guid(testbed_instance, guid)
70 dev_guids = testbed_instance.get_connected(node_guid, "devs", "node")
72 for guid_ in dev_guids:
76 return interface_number
78 def _follow_trace(testbed_instance, guid, trace_id, filename):
79 testbed_instance.follow_trace(guid, trace_id, filename)
80 filepath = testbed_instance.trace_filepath(guid, trace_id)
83 ### create traces functions ###
85 def p2pascii_trace(testbed_instance, guid, trace_id):
86 node_guid = _get_node_guid(testbed_instance, guid)
87 interface_number = _get_dev_number(testbed_instance, guid)
88 element = testbed_instance._elements[guid]
89 filename = "trace-p2p-node-%d-dev-%d.tr" % (node_guid, interface_number)
90 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
91 helper = testbed_instance.ns3.PointToPointHelper()
92 asciiHelper = testbed_instance.ns3.AsciiTraceHelper()
93 stream = asciiHelper.CreateFileStream(filepath)
94 helper.EnableAscii(stream, element)
96 def p2ppcap_trace(testbed_instance, guid, trace_id):
97 node_guid = _get_node_guid(testbed_instance, guid)
98 interface_number = _get_dev_number(testbed_instance, guid)
99 element = testbed_instance._elements[guid]
100 filename = "trace-p2p-node-%d-dev-%d.pcap" % (node_guid, interface_number)
101 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
102 helper = testbed_instance.ns3.PointToPointHelper()
103 helper.EnablePcap(filepath, element, explicitFilename = True)
105 def _csmapcap_trace(testbed_instance, guid, trace_id, promisc):
106 node_guid = _get_node_guid(testbed_instance, guid)
107 interface_number = _get_dev_number(testbed_instance, guid)
108 element = testbed_instance._elements[guid]
109 filename = "trace-csma-node-%d-dev-%d.pcap" % (node_guid, interface_number)
110 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
111 helper = testbed_instance.ns3.CsmaHelper()
112 helper.EnablePcap(filepath, element, promiscuous = promisc,
113 explicitFilename = True)
115 def csmapcap_trace(testbed_instance, guid, trace_id):
117 _csmapcap_trace(testbed_instance, guid, trace_id, promisc)
119 def csmapcap_promisc_trace(testbed_instance, guid, trace_id):
121 _csmapcap_trace(testbed_instance, guid, trace_id, promisc)
123 def fdpcap_trace(testbed_instance, guid, trace_id):
124 node_guid = _get_node_guid(testbed_instance, guid)
125 interface_number = _get_dev_number(testbed_instance, guid)
126 element = testbed_instance._elements[guid]
127 filename = "trace-fd-node-%d-dev-%d.pcap" % (node_guid, interface_number)
128 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
129 helper = testbed_instance.ns3.FdNetDeviceHelper()
130 helper.EnablePcap(filepath, element, explicitFilename = True)
132 def yanswifipcap_trace(testbed_instance, guid, trace_id):
133 dev_guid = testbed_instance.get_connected(guid, "dev", "phy")[0]
134 node_guid = _get_node_guid(testbed_instance, dev_guid)
135 interface_number = _get_dev_number(testbed_instance, dev_guid)
136 element = testbed_instance._elements[dev_guid]
137 filename = "trace-yanswifi-node-%d-dev-%d.pcap" % (node_guid, interface_number)
138 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
139 helper = testbed_instance.ns3.YansWifiPhyHelper()
140 helper.EnablePcap(filepath, element, explicitFilename = True)
142 def wimaxascii_trace(testbed_instance, guid, trace_id):
143 node_guid = _get_node_guid(testbed_instance, guid)
144 interface_number = _get_dev_number(testbed_instance, guid)
145 element = testbed_instance._elements[guid]
146 filename = "trace-wimax-node-%d-dev-%d.tr" % (node_guid, interface_number)
147 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
148 helper = testbed_instance.ns3.WimaxHelper()
149 asciiHelper = testbed_instance.ns3.AsciiTraceHelper()
150 stream = asciiHelper.CreateFileStream (filepath)
151 helper.EnableAscii(stream, element)
152 #helper.EnableLogComponents()
154 def wimaxpcap_trace(testbed_instance, guid, trace_id):
155 node_guid = _get_node_guid(testbed_instance, guid)
156 interface_number = _get_dev_number(testbed_instance, guid)
157 element = testbed_instance._elements[guid]
158 filename = "trace-wimax-node-%d-dev-%d.pcap" % (node_guid, interface_number)
159 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
160 helper = testbed_instance.ns3.WimaxHelper()
161 helper.EnablePcap(filepath, element, explicitFilename = True)
163 def rtt_trace(testbed_instance, guid, trace_id):
164 element = testbed_instance._elements[guid]
165 helper = testbed_instance.ns3.ScalarTraceHelper()
166 prefix = "trace-app-%d" % (guid, )
167 filename = helper.GetFilenameFromSource(prefix, element, trace_id)
168 filepath = _follow_trace(testbed_instance, guid, trace_id, filename)
169 prefix = filepath[:filepath.find(prefix)+len(prefix)]
170 helper.EnableTrace(element, trace_id, prefix, "T")
172 trace_functions = dict({
173 "P2PPcapTrace": p2ppcap_trace,
174 "P2PAsciiTrace": p2pascii_trace,
175 "CsmaPcapTrace": csmapcap_trace,
176 "CsmaPcapPromiscTrace": csmapcap_promisc_trace,
177 "FdPcapTrace": fdpcap_trace,
178 "YansWifiPhyPcapTrace": yanswifipcap_trace,
179 "WimaxPcapTrace": wimaxpcap_trace,
180 "WimaxAsciiTrace": wimaxascii_trace,
184 ### Creation functions ###
186 def create_element(testbed_instance, guid):
187 element_factory = testbed_instance.ns3.ObjectFactory()
188 factory_id = testbed_instance._create[guid]
189 element_factory.SetTypeId(factory_id)
190 construct_parameters = testbed_instance._get_construct_parameters(guid)
191 for name, value in construct_parameters.iteritems():
192 ns3_value = testbed_instance._to_ns3_value(guid, name, value)
193 element_factory.Set(name, ns3_value)
194 element = element_factory.Create()
195 testbed_instance._elements[guid] = element
197 def create_node(testbed_instance, guid):
198 create_element(testbed_instance, guid)
199 element = testbed_instance._elements[guid]
200 element.AggregateObject(testbed_instance.ns3.PacketSocketFactory())
202 def create_wifi_standard_model(testbed_instance, guid):
203 create_element(testbed_instance, guid)
204 element = testbed_instance._elements[guid]
205 parameters = testbed_instance._get_parameters(guid)
206 standard = parameters.get("Standard")
208 raise RuntimeError("No wifi standard set for %d" % guid)
209 element.ConfigureStandard(wifi_standards[standard])
211 def create_waypoint_mobility(testbed_instance, guid):
212 create_element(testbed_instance, guid)
213 element = testbed_instance._elements[guid]
214 parameters = testbed_instance._get_parameters(guid)
215 ns3 = testbed_instance.ns3
216 waypoints = parameters.get("WaypointList", "")
217 waypoints = re.sub(" |\(|\)", "", waypoints)
218 for swp in waypoints.split(","):
222 pos = ns3.Vector(float(dwp[1]), float(dwp[2]), float(dwp[3]))
223 waypoint = ns3.Waypoint(time, pos)
224 element.AddWaypoint(waypoint)
226 def create_ipv4protocol(testbed_instance, guid):
227 create_element(testbed_instance, guid)
228 element = testbed_instance._elements[guid]
229 list_routing = testbed_instance.ns3.Ipv4ListRouting()
230 element.SetRoutingProtocol(list_routing)
231 static_routing = testbed_instance.ns3.Ipv4StaticRouting()
232 list_routing.AddRoutingProtocol(static_routing, 1)
234 def create_element_no_constructor(testbed_instance, guid):
235 """ Create function for ns3 classes for which
236 TypeId.HasConstructor == False"""
237 factory_id = testbed_instance._create[guid]
238 factory_name = factory_id.replace("ns3::", "")
239 constructor = getattr(testbed_instance.ns3, factory_name)
240 element = constructor()
241 testbed_instance._elements[guid] = element
243 def create_base_station(testbed_instance, guid):
244 node_guid = _get_node_guid(testbed_instance, guid)
245 node = testbed_instance._elements[node_guid]
246 phy_guids = testbed_instance.get_connected(guid, "phy", "dev")
247 if len(phy_guids) == 0:
248 raise RuntimeError("No PHY was found for station %d" % guid)
249 phy = testbed_instance._elements[phy_guids[0]]
250 uplnk_guids = testbed_instance.get_connected(guid, "uplnk", "dev")
251 if len(uplnk_guids) == 0:
252 raise RuntimeError("No uplink scheduler was found for station %d" % guid)
253 uplnk = testbed_instance._elements[uplnk_guids[0]]
254 dwnlnk_guids = testbed_instance.get_connected(guid, "dwnlnk", "dev")
255 if len(dwnlnk_guids) == 0:
256 raise RuntimeError("No downlink scheduler was found for station %d" % guid)
257 dwnlnk = testbed_instance._elements[dwnlnk_guids[0]]
258 element = testbed_instance.ns3.BaseStationNetDevice(node, phy, uplnk, dwnlnk)
259 testbed_instance._elements[guid] = element
261 def create_subscriber_station(testbed_instance, guid):
262 node_guid = _get_node_guid(testbed_instance, guid)
263 node = testbed_instance._elements[node_guid]
264 phy_guids = testbed_instance.get_connected(guid, "phy", "dev")
265 if len(phy_guids) == 0:
266 raise RuntimeError("No PHY was found for station %d" % guid)
267 phy = testbed_instance._elements[phy_guids[0]]
268 element = testbed_instance.ns3.SubscriberStationNetDevice(node, phy)
269 element.SetModulationType(testbed_instance.ns3.WimaxPhy.MODULATION_TYPE_QAM16_12)
270 testbed_instance._elements[guid] = element
272 def create_wimax_channel(testbed_instance, guid):
273 element = testbed_instance.ns3.SimpleOfdmWimaxChannel(testbed_instance.ns3.SimpleOfdmWimaxChannel.COST231_PROPAGATION)
274 testbed_instance._elements[guid] = element
276 def create_wimax_phy(testbed_instance, guid):
277 element = testbed_instance.ns3.SimpleOfdmWimaxPhy()
278 testbed_instance._elements[guid] = element
280 def create_service_flow(testbed_instance, guid):
281 parameters = testbed_instance._get_parameters(guid)
282 direction = parameters.get("Direction")
283 if direction == None:
284 raise RuntimeError("No SchedulingType was found for service flow %d" % guid)
285 sched = parameters.get("SchedulingType")
287 raise RuntimeError("No SchedulingType was found for service flow %d" % guid)
288 ServiceFlow = testbed_instance.ns3.ServiceFlow
289 direction = service_flow_direction[direction]
290 sched = service_flow_scheduling_type[sched]
291 element = ServiceFlow(direction)
292 element.SetCsSpecification(ServiceFlow.IPV4)
293 element.SetServiceSchedulingType(sched)
294 element.SetMaxSustainedTrafficRate(100)
295 element.SetMinReservedTrafficRate(1000000)
296 element.SetMinTolerableTrafficRate(1000000)
297 element.SetMaximumLatency(100)
298 element.SetMaxTrafficBurst(2000)
299 element.SetTrafficPriority(1)
300 element.SetUnsolicitedGrantInterval(1)
301 element.SetMaxSustainedTrafficRate(70)
302 element.SetToleratedJitter(10)
303 element.SetSduSize(49)
304 element.SetRequestTransmissionPolicy(0)
305 testbed_instance._elements[guid] = element
307 def create_ipcs_classifier_record(testbed_instance, guid):
308 parameters = testbed_instance._get_parameters(guid)
309 src_address = parameters.get("SrcAddress")
310 if src_address == None:
311 raise RuntimeError("No SrcAddress was found for classifier %d" % guid)
312 src_address = testbed_instance.ns3.Ipv4Address(src_address)
313 src_mask = parameters.get("SrcMask")
315 raise RuntimeError("No SrcMask was found for classifier %d" % guid)
316 src_mask = testbed_instance.ns3.Ipv4Mask(src_mask)
317 dst_address = parameters.get("DstAddress")
318 if dst_address == None:
319 raise RuntimeError("No Dstddress was found for classifier %d" % guid)
320 dst_address = testbed_instance.ns3.Ipv4Address(dst_address)
321 dst_mask = parameters.get("DstMask")
323 raise RuntimeError("No DstMask was found for classifier %d" % guid)
324 dst_mask = testbed_instance.ns3.Ipv4Mask(dst_mask)
325 src_port_low = parameters.get("SrcPortLow")
326 if src_port_low == None:
327 raise RuntimeError("No SrcPortLow was found for classifier %d" % guid)
328 src_port_high = parameters.get("SrcPortHigh")
329 if src_port_high == None:
330 raise RuntimeError("No SrcPortHigh was found for classifier %d" % guid)
331 dst_port_low = parameters.get("DstPortLow")
332 if dst_port_low == None:
333 raise RuntimeError("No DstPortLow was found for classifier %d" % guid)
334 dst_port_high = parameters.get("DstPortHigh")
335 if dst_port_high == None:
336 raise RuntimeError("No DstPortHigh was found for classifier %d" % guid)
337 protocol = parameters.get("Protocol")
338 if protocol == None or protocol not in l4_protocols:
339 raise RuntimeError("No Protocol was found for classifier %d" % guid)
340 priority = parameters.get("Priority")
342 raise RuntimeError("No Priority was found for classifier %d" % guid)
343 element = testbed_instance.ns3.IpcsClassifierRecord(src_address, src_mask,
344 dst_address, dst_mask, src_port_low, src_port_high, dst_port_low,
345 dst_port_high, l4_protocols[protocol], priority)
346 testbed_instance._elements[guid] = element
348 ### Start/Stop functions ###
350 def start_application(testbed_instance, guid):
351 element = testbed_instance.elements[guid]
352 # BUG: without doing this explicit call it doesn't start!!!
353 # Shouldn't be enough to set the StartTime?
356 def stop_application(testbed_instance, guid):
357 element = testbed_instance.elements[guid]
358 now = testbed_instance.ns3.Simulator.Now()
359 element.SetStopTime(now)
361 ### Status functions ###
363 def status_application(testbed_instance, guid):
364 if guid not in testbed_instance.elements.keys():
365 raise RuntimeError("Can't get status on guid %d" % guid )
366 now = testbed_instance.ns3.Simulator.Now()
368 return AS.STATUS_NOT_STARTED
369 app = testbed_instance.elements[guid]
370 parameters = testbed_instance._get_parameters(guid)
371 start_value = parameters.get("StartTime")
372 if start_value != None:
373 start_time = testbed_instance.ns3.Time(start_value)
374 if now.Compare(start_time) < 0:
375 return AS.STATUS_NOT_STARTED
376 stop_value = parameters.get("StopTime")
377 if stop_value != None:
378 stop_time = testbed_instance.ns3.Time(stop_value)
379 if now.Compare(stop_time) < 0:
380 return AS.STATUS_RUNNING
382 return AS.STATUS_FINISHED
383 return AS.STATUS_UNDETERMINED
385 ### Configure functions ###
387 def configure_traces(testbed_instance, guid):
388 traces = testbed_instance._get_traces(guid)
389 for trace_id in traces:
390 trace_func = trace_functions[trace_id]
391 trace_func(testbed_instance, guid, trace_id)
393 def configure_element(testbed_instance, guid):
394 configure_traces(testbed_instance, guid)
396 def configure_device(testbed_instance, guid):
397 configure_traces(testbed_instance, guid)
399 element = testbed_instance._elements[guid]
401 parameters = testbed_instance._get_parameters(guid)
402 address = parameters.get("macAddress")
404 macaddr = testbed_instance.ns3.Mac48Address(address)
406 macaddr = testbed_instance.ns3.Mac48Address.Allocate()
407 element.SetAddress(macaddr)
409 if not guid in testbed_instance._add_address:
411 # search for the node asociated with the device
412 node_guid = _get_node_guid(testbed_instance, guid)
413 node = testbed_instance.elements[node_guid]
414 # search for the Ipv4L3Protocol asociated with the device
415 ipv4_guid = _get_ipv4_protocol_guid(testbed_instance, node_guid)
416 ipv4 = testbed_instance._elements[ipv4_guid]
417 ns3 = testbed_instance.ns3
419 addresses = testbed_instance._add_address[guid]
420 for address in addresses:
421 (address, netprefix, broadcast) = address
422 # TODO: missing IPV6 addresses!!
423 ifindex = ipv4.AddInterface(element)
424 inaddr = ns3.Ipv4InterfaceAddress(ns3.Ipv4Address(address),
425 ns3.Ipv4Mask("/%d" % netprefix))
426 ipv4.AddAddress(ifindex, inaddr)
427 ipv4.SetMetric(ifindex, 1)
430 def _add_static_route(ns3, static_routing,
431 address, netprefix, nexthop_address, ifindex):
433 # Default route: 0.0.0.0/0
434 static_routing.SetDefaultRoute(nexthop_address, ifindex)
435 elif netprefix == 32:
436 # Host route: x.y.z.w/32
437 static_routing.AddHostRouteTo(address, nexthop_address, ifindex)
439 # Network route: x.y.z.w/n
440 mask = ns3.Ipv4Mask("/%d" % netprefix)
441 static_routing.AddNetworkRouteTo(address, mask, nexthop_address,
444 def _add_static_route_if(ns3, static_routing, address, netprefix, ifindex):
446 # Default route: 0.0.0.0/0
447 static_routing.SetDefaultRoute(ifindex)
448 elif netprefix == 32:
449 # Host route: x.y.z.w/32
450 static_routing.AddHostRouteTo(address, ifindex)
452 # Network route: x.y.z.w/n
453 mask = ns3.Ipv4Mask("/%d" % netprefix)
454 static_routing.AddNetworkRouteTo(address, mask, ifindex)
456 def configure_node(testbed_instance, guid):
457 configure_traces(testbed_instance, guid)
459 element = testbed_instance._elements[guid]
460 if not guid in testbed_instance._add_route:
462 # search for the Ipv4L3Protocol asociated with the device
463 ipv4_guid = _get_ipv4_protocol_guid(testbed_instance, guid)
464 ipv4 = testbed_instance._elements[ipv4_guid]
465 list_routing = ipv4.GetRoutingProtocol()
466 (static_routing, priority) = list_routing.GetRoutingProtocol(0)
467 ns3 = testbed_instance.ns3
468 routes = testbed_instance._add_route[guid]
470 (destination, netprefix, nexthop, metric) = route
471 address = ns3.Ipv4Address(destination)
473 nexthop_address = ns3.Ipv4Address(nexthop)
475 # TODO: HACKISH way of getting the ifindex... improve this
476 nifaces = ipv4.GetNInterfaces()
477 for ifidx in xrange(nifaces):
478 iface = ipv4.GetInterface(ifidx)
479 naddress = iface.GetNAddresses()
480 for addridx in xrange(naddress):
481 ifaddr = iface.GetAddress(addridx)
482 ifmask = ifaddr.GetMask()
483 ifindex = ipv4.GetInterfaceForPrefix(nexthop_address, ifmask)
487 # Check previous ptp routes
488 for chaindest, chainprefix, chainhop in routes:
489 if chaindest == nexthop and chainprefix == 32:
490 chainhop_address = ns3.Ipv4Address(chainhop)
491 for ifidx in xrange(nifaces):
492 iface = ipv4.GetInterface(ifidx)
493 naddress = iface.GetNAddresses()
494 for addridx in xrange(naddress):
495 ifaddr = iface.GetAddress(addridx)
496 ifmask = ifaddr.GetMask()
497 ifindex = ipv4.GetInterfaceForPrefix(chainhop_address, ifmask)
501 raise RuntimeError, "Cannot associate interface for routing entry:" \
502 "%s/%s -> %s. At node %s" % (destination, netprefix, nexthop, guid)
503 _add_static_route(ns3, static_routing,
504 address, netprefix, nexthop_address, ifindex)
506 mask = ns3.Ipv4Mask("/%d" % netprefix)
507 ifindex = ipv4.GetInterfaceForPrefix(address, mask)
509 raise RuntimeError, "Cannot associate interface for routing entry:" \
510 "%s/%s -> %s. At node %s" % (destination, netprefix, nexthop, guid)
511 _add_static_route_if(ns3, static_routing,
512 address, netprefix, nexthop_address, ifindex)
514 def configure_station(testbed_instance, guid):
515 configure_device(testbed_instance, guid)
516 element = testbed_instance._elements[guid]
521 factories_order = ["ns3::BasicEnergySource",
522 "ns3::WifiRadioEnergyModel",
523 "ns3::BSSchedulerRtps",
524 "ns3::BSSchedulerSimple",
525 "ns3::UdpTraceClient",
531 "ns3::flame::FlameProtocol",
532 "ns3::flame::FlameRtable",
533 "ns3::dot11s::AirtimeLinkMetricCalculator",
534 "ns3::dot11s::HwmpProtocol",
535 "ns3::dot11s::HwmpRtable",
536 "ns3::dot11s::PeerManagementProtocol",
537 "ns3::dot11s::PeerLink",
538 "ns3::MeshWifiInterfaceMac",
539 "ns3::MeshPointDevice",
542 "ns3::UanPhyCalcSinrDual",
543 "ns3::UanPhyPerGenDefault",
545 "ns3::UanPropModelThorp",
547 "ns3::UanNoiseModelDefault",
549 "ns3::UanPropModelIdeal",
550 "ns3::UanTransducerHd",
551 "ns3::UanPhyCalcSinrDefault",
553 "ns3::UanPhyCalcSinrFhFsk",
554 "ns3::UanPhyPerUmodem",
557 "ns3::AthstatsWifiTraceSink",
560 "ns3::NonCommunicatingNetDevice",
561 "ns3::HalfDuplexIdealPhy",
562 "ns3::AlohaNoackNetDevice",
563 "ns3::SpectrumAnalyzer",
564 "ns3::WaveformGenerator",
565 "ns3::MultiModelSpectrumChannel",
566 "ns3::SingleModelSpectrumChannel",
567 "ns3::MsduStandardAggregator",
571 "ns3::QadhocWifiMac",
572 "ns3::MinstrelWifiManager",
573 "ns3::CaraWifiManager",
574 "ns3::AarfcdWifiManager",
575 "ns3::OnoeWifiManager",
576 "ns3::AmrrWifiManager",
577 "ns3::ConstantRateWifiManager",
578 "ns3::IdealWifiManager",
579 "ns3::AarfWifiManager",
580 "ns3::ArfWifiManager",
581 "ns3::WifiNetDevice",
585 "ns3::YansWifiChannel",
587 "ns3::NistErrorRateModel",
588 "ns3::YansErrorRateModel",
589 "ns3::WaypointMobilityModel",
590 "ns3::ConstantAccelerationMobilityModel",
591 "ns3::RandomDirection2dMobilityModel",
592 "ns3::RandomWalk2dMobilityModel",
593 "ns3::SteadyStateRandomWaypointMobilityModel",
594 "ns3::RandomWaypointMobilityModel",
595 "ns3::GaussMarkovMobilityModel",
596 "ns3::ConstantVelocityMobilityModel",
597 "ns3::ConstantPositionMobilityModel",
598 "ns3::ListPositionAllocator",
599 "ns3::GridPositionAllocator",
600 "ns3::RandomRectanglePositionAllocator",
601 "ns3::RandomBoxPositionAllocator",
602 "ns3::RandomDiscPositionAllocator",
603 "ns3::UniformDiscPositionAllocator",
604 "ns3::HierarchicalMobilityModel",
605 "ns3::aodv::RoutingProtocol",
606 "ns3::UdpEchoServer",
607 "ns3::UdpEchoClient",
609 "ns3::OnOffApplication",
610 "ns3::VirtualNetDevice",
612 "ns3::Nepi::TunChannel",
614 "ns3::BridgeChannel",
615 "ns3::BridgeNetDevice",
618 "ns3::CsmaNetDevice",
619 "ns3::PointToPointRemoteChannel",
620 "ns3::PointToPointChannel",
621 "ns3::PointToPointNetDevice",
622 "ns3::NscTcpL4Protocol",
623 "ns3::Icmpv6L4Protocol",
624 "ns3::Ipv6OptionPad1",
625 "ns3::Ipv6OptionPadn",
626 "ns3::Ipv6OptionJumbogram",
627 "ns3::Ipv6OptionRouterAlert",
628 "ns3::Ipv6ExtensionHopByHop",
629 "ns3::Ipv6ExtensionDestination",
630 "ns3::Ipv6ExtensionFragment",
631 "ns3::Ipv6ExtensionRouting",
632 "ns3::Ipv6ExtensionLooseRouting",
633 "ns3::Ipv6ExtensionESP",
634 "ns3::Ipv6ExtensionAH",
635 "ns3::Ipv6L3Protocol",
636 "ns3::LoopbackNetDevice",
637 "ns3::Icmpv4L4Protocol",
638 "ns3::RttMeanDeviation",
639 "ns3::ArpL3Protocol",
640 "ns3::TcpL4Protocol",
641 "ns3::UdpL4Protocol",
642 "ns3::Ipv4L3Protocol",
643 "ns3::SimpleNetDevice",
644 "ns3::SimpleChannel",
646 "ns3::DropTailQueue",
648 "ns3::FriisSpectrumPropagationLossModel",
649 "ns3::Cost231PropagationLossModel",
650 "ns3::JakesPropagationLossModel",
651 "ns3::RandomPropagationLossModel",
652 "ns3::FriisPropagationLossModel",
653 "ns3::TwoRayGroundPropagationLossModel",
654 "ns3::LogDistancePropagationLossModel",
655 "ns3::ThreeLogDistancePropagationLossModel",
656 "ns3::NakagamiPropagationLossModel",
657 "ns3::FixedRssLossModel",
658 "ns3::MatrixPropagationLossModel",
659 "ns3::RangePropagationLossModel",
660 "ns3::RandomPropagationDelayModel",
661 "ns3::ConstantSpeedPropagationDelayModel",
662 "ns3::RateErrorModel",
663 "ns3::ListErrorModel",
664 "ns3::ReceiveListErrorModel",
666 "ns3::EnergySourceContainer",
667 "ns3::BSSchedulerRtps",
668 "ns3::BSSchedulerSimple",
669 "ns3::SimpleOfdmWimaxChannel",
670 "ns3::SimpleOfdmWimaxPhy",
671 "ns3::UplinkSchedulerMBQoS",
672 "ns3::UplinkSchedulerRtps",
673 "ns3::UplinkSchedulerSimple",
674 "ns3::IpcsClassifierRecord",
676 "ns3::BaseStationNetDevice",
677 "ns3::SubscriberStationNetDevice",
680 factories_info = dict({
682 "category": FC.CATEGORY_APPLICATIONS,
683 "create_function": create_element,
684 "configure_function": configure_element,
685 "stop_function": stop_application,
686 "start_function": start_application,
687 "status_function": status_application,
689 "connector_types": [],
690 "box_attributes": ["MaxPackets",
697 "tags": [tags.APPLICATION],
699 "ns3::UdpL4Protocol": dict({
700 "category": FC.CATEGORY_PROTOCOLS,
701 "create_function": create_element,
702 "configure_function": configure_element,
704 "connector_types": ["node"],
705 "box_attributes": ["ProtocolNumber"],
706 "tags": [tags.PROTOCOL],
708 "ns3::RandomDiscPositionAllocator": dict({
709 "category": FC.CATEGORY_MOBILITY_MODELS,
710 "create_function": create_element,
711 "configure_function": configure_element,
713 "connector_types": [],
714 "box_attributes": ["Theta",
718 "tags": [tags.MOBILE],
721 "category": FC.CATEGORY_NODES,
722 "create_function": create_node,
723 "configure_function": configure_node,
725 "connector_types": ["devs", "apps", "protos", "mobility"],
726 "tags": [tags.NODE, tags.ALLOW_ROUTES],
728 "ns3::GridPositionAllocator": dict({
729 "category": FC.CATEGORY_MOBILITY_MODELS,
730 "create_function": create_element,
731 "configure_function": configure_element,
733 "connector_types": [],
734 "box_attributes": ["GridWidth",
741 "ns3::TapBridge": dict({
742 "category": FC.CATEGORY_DEVICES,
743 "create_function": create_element,
744 "configure_function": configure_element,
746 "connector_types": [],
747 "box_attributes": ["Mtu",
755 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
757 "ns3::FlowMonitor": dict({
758 "category": FC.CATEGORY_SERVICE_FLOWS,
759 "create_function": create_element,
760 "configure_function": configure_element,
762 "connector_types": [],
763 "box_attributes": ["MaxPerHopDelay",
766 "PacketSizeBinWidth",
767 "FlowInterruptionsBinWidth",
768 "FlowInterruptionsMinTime"],
770 "ns3::ConstantVelocityMobilityModel": dict({
771 "category": FC.CATEGORY_MOBILITY_MODELS,
772 "create_function": create_element,
773 "configure_function": configure_element,
775 "connector_types": ["node"],
776 "box_attributes": ["Position",
778 "tags": [tags.MOBILE],
780 "ns3::V4Ping": dict({
781 "category": FC.CATEGORY_APPLICATIONS,
782 "create_function": create_element,
783 "configure_function": configure_element,
785 "connector_types": ["node"],
786 "stop_function": stop_application,
787 "start_function": start_application,
788 "status_function": status_application,
789 "box_attributes": ["Remote",
796 "tags": [tags.APPLICATION],
798 "ns3::dot11s::PeerLink": dict({
800 "create_function": create_element,
801 "configure_function": configure_element,
803 "connector_types": [],
804 "box_attributes": ["RetryTimeout",
811 "ns3::PointToPointNetDevice": dict({
812 "category": FC.CATEGORY_DEVICES,
813 "create_function": create_element,
814 "configure_function": configure_device,
816 "connector_types": ["node", "err", "queue", "chan"],
817 "box_attributes": ["Mtu",
821 "traces": ["p2ppcap", "p2pascii"],
822 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
824 "ns3::NakagamiPropagationLossModel": dict({
825 "category": FC.CATEGORY_LOSS_MODELS,
826 "create_function": create_element,
827 "configure_function": configure_element,
829 "connector_types": [],
830 "box_attributes": ["Distance1",
836 "ns3::AarfWifiManager": dict({
837 "category": FC.CATEGORY_MANAGERS,
838 "create_function": create_element,
839 "configure_function": configure_element,
841 "connector_types": ["dev"],
842 "box_attributes": ["SuccessK",
844 "MaxSuccessThreshold",
846 "MinSuccessThreshold",
851 "FragmentationThreshold",
854 "ns3::Ipv6OptionJumbogram": dict({
856 "create_function": create_element,
857 "configure_function": configure_element,
859 "connector_types": [],
860 "box_attributes": ["OptionNumber"],
862 "ns3::TwoRayGroundPropagationLossModel": dict({
863 "category": FC.CATEGORY_LOSS_MODELS,
864 "create_function": create_element,
865 "configure_function": configure_element,
867 "connector_types": [],
868 "box_attributes": ["Lambda",
873 "ns3::OnOffApplication": dict({
874 "category": FC.CATEGORY_APPLICATIONS,
875 "create_function": create_element,
876 "configure_function": configure_element,
878 "connector_types": ["node"],
879 "stop_function": stop_application,
880 "start_function": start_application,
881 "status_function": status_application,
882 "box_attributes": ["DataRate",
891 "tags": [tags.APPLICATION],
893 "ns3::AdhocWifiMac": dict({
894 "category": FC.CATEGORY_MAC_MODELS,
895 "create_function": create_element,
896 "configure_function": configure_element,
898 "connector_types": [],
899 "box_attributes": ["CtsTimeout",
901 "BasicBlockAckTimeout",
902 "CompressedBlockAckTimeout",
907 "MaxPropagationDelay",
910 "ns3::ConstantAccelerationMobilityModel": dict({
911 "category": FC.CATEGORY_MOBILITY_MODELS,
912 "create_function": create_element,
913 "configure_function": configure_element,
915 "connector_types": ["node"],
916 "box_attributes": ["Position",
918 "tags": [tags.MOBILE],
920 "ns3::GaussMarkovMobilityModel": dict({
921 "category": FC.CATEGORY_MOBILITY_MODELS,
922 "create_function": create_element,
923 "configure_function": configure_element,
925 "connector_types": [],
926 "box_attributes": ["Bounds",
937 "tags": [tags.MOBILE],
939 "ns3::dot11s::HwmpProtocol": dict({
940 "category": FC.CATEGORY_PROTOCOLS,
941 "create_function": create_element,
942 "configure_function": configure_element,
944 "connector_types": [],
945 "box_attributes": ["RandomStart",
947 "Dot11MeshHWMPmaxPREQretries",
948 "Dot11MeshHWMPnetDiameterTraversalTime",
949 "Dot11MeshHWMPpreqMinInterval",
950 "Dot11MeshHWMPperrMinInterval",
951 "Dot11MeshHWMPactiveRootTimeout",
952 "Dot11MeshHWMPactivePathTimeout",
953 "Dot11MeshHWMPpathToRootInterval",
954 "Dot11MeshHWMPrannInterval",
956 "UnicastPerrThreshold",
957 "UnicastPreqThreshold",
958 "UnicastDataThreshold",
962 "ns3::NscTcpL4Protocol": dict({
963 "category": FC.CATEGORY_PROTOCOLS,
964 "create_function": create_element,
965 "configure_function": configure_element,
967 "connector_types": [],
968 "box_attributes": ["Library",
971 "ns3::dot11s::AirtimeLinkMetricCalculator": dict({
973 "create_function": create_element,
974 "configure_function": configure_element,
976 "connector_types": [],
977 "box_attributes": ["Dot11sMeshHeaderLength"],
979 "ns3::UanMacCw": dict({
981 "create_function": create_element,
982 "configure_function": configure_element,
984 "connector_types": [],
985 "box_attributes": ["CW",
988 "ns3::AthstatsWifiTraceSink": dict({
990 "create_function": create_element,
991 "configure_function": configure_element,
993 "connector_types": [],
994 "box_attributes": ["Interval"],
996 "ns3::FlameStack": dict({
998 "create_function": create_element,
999 "configure_function": configure_element,
1001 "connector_types": [],
1002 "box_attributes": [],
1004 "ns3::UanMacRc": dict({
1006 "create_function": create_element,
1007 "configure_function": configure_element,
1009 "connector_types": [],
1010 "box_attributes": ["RetryRate",
1017 "NumberOfRetryRates",
1020 "ns3::WaypointMobilityModel": dict({
1021 "category": FC.CATEGORY_MOBILITY_MODELS,
1022 "create_function": create_waypoint_mobility,
1023 "configure_function": configure_element,
1024 "help": "Waypoint-based mobility model.",
1025 "connector_types": ["node"],
1026 "box_attributes": ["WaypointsLeft",
1030 "tags": [tags.MOBILE],
1032 "ns3::FdNetDevice": dict({
1033 "category": FC.CATEGORY_DEVICES,
1034 "create_function": create_element,
1035 "configure_function": configure_device,
1036 "help": "Network interface associated to a file descriptor",
1037 "connector_types": ["node", "->fd"],
1038 "box_attributes": ["Address",
1039 "LinuxSocketAddress",
1040 "tun_proto", "tun_addr", "tun_port", "tun_key"],
1041 "traces": ["fdpcap"],
1042 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1044 "ns3::Nepi::TunChannel": dict({
1045 "category": FC.CATEGORY_TUNNELS,
1046 "create_function": create_tunchannel,
1047 "preconfigure_function": preconfigure_tunchannel,
1048 "configure_function": postconfigure_tunchannel,
1049 "prestart_function": wait_tunchannel,
1050 "help": "Channel to forward FdNetDevice data to "
1051 "other TAP interfaces supporting the NEPI tunneling protocol.",
1052 "connector_types": ["fd->", "udp", "tcp"],
1053 "allow_addresses": False,
1054 "box_attributes": ["tun_proto", "tun_addr", "tun_port", "tun_key"],
1055 "tags": [tags.TUNNEL],
1058 "ns3::CsmaNetDevice": dict({
1059 "category": FC.CATEGORY_DEVICES,
1060 "create_function": create_element,
1061 "configure_function": configure_device,
1062 "help": "CSMA (carrier sense, multiple access) interface",
1063 "connector_types": ["node", "chan", "err", "queue"],
1064 "box_attributes": ["Address",
1068 "traces": ["csmapcap", "csmapcap_promisc"],
1069 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1071 "ns3::UanPropModelThorp": dict({
1073 "create_function": create_element,
1074 "configure_function": configure_element,
1076 "connector_types": [],
1077 "box_attributes": ["SpreadCoef"],
1079 "ns3::Icmpv6L4Protocol": dict({
1080 "category": FC.CATEGORY_PROTOCOLS,
1081 "create_function": create_element,
1082 "configure_function": configure_element,
1084 "connector_types": ["node"],
1085 "box_attributes": ["DAD",
1088 "ns3::SimpleNetDevice": dict({
1089 "category": FC.CATEGORY_DEVICES,
1090 "create_function": create_element,
1091 "configure_function": configure_element,
1093 "connector_types": ["node", "chan"],
1094 "box_attributes": [],
1095 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1097 "ns3::FriisPropagationLossModel": dict({
1098 "category": FC.CATEGORY_LOSS_MODELS,
1099 "create_function": create_element,
1100 "configure_function": configure_element,
1102 "connector_types": [],
1103 "box_attributes": ["Lambda",
1107 "ns3::Ipv6OptionRouterAlert": dict({
1109 "create_function": create_element,
1110 "configure_function": configure_element,
1112 "connector_types": [],
1113 "box_attributes": ["OptionNumber"],
1115 "ns3::UniformDiscPositionAllocator": dict({
1116 "category": FC.CATEGORY_MOBILITY_MODELS,
1117 "create_function": create_element,
1118 "configure_function": configure_element,
1120 "connector_types": [],
1121 "box_attributes": ["rho",
1124 "tags": [tags.MOBILE],
1126 "ns3::RandomBoxPositionAllocator": dict({
1127 "category": FC.CATEGORY_MOBILITY_MODELS,
1128 "create_function": create_element,
1129 "configure_function": configure_element,
1131 "connector_types": [],
1132 "box_attributes": ["X",
1135 "tags": [tags.MOBILE],
1137 "ns3::Ipv6ExtensionDestination": dict({
1139 "create_function": create_element,
1140 "configure_function": configure_element,
1142 "connector_types": [],
1143 "box_attributes": ["ExtensionNumber"],
1145 "ns3::LoopbackNetDevice": dict({
1146 "category": FC.CATEGORY_DEVICES,
1147 "create_function": create_element,
1148 "configure_function": configure_element,
1150 "connector_types": [],
1151 "box_attributes": [],
1152 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1154 "ns3::ConstantSpeedPropagationDelayModel": dict({
1155 "category": FC.CATEGORY_DELAY_MODELS,
1156 "create_function": create_element,
1157 "configure_function": configure_element,
1159 "connector_types": ["chan"],
1160 "box_attributes": ["Speed"],
1162 "ns3::Ipv6ExtensionHopByHop": dict({
1164 "create_function": create_element,
1165 "configure_function": configure_element,
1167 "connector_types": [],
1168 "box_attributes": ["ExtensionNumber"],
1170 "ns3::BridgeChannel": dict({
1171 "category": FC.CATEGORY_CHANNELS,
1172 "create_function": create_element,
1173 "configure_function": configure_element,
1175 "connector_types": [],
1176 "box_attributes": [],
1178 "ns3::Radvd": dict({
1180 "create_function": create_element,
1181 "configure_function": configure_element,
1183 "connector_types": [],
1184 "box_attributes": ["StartTime",
1187 "ns3::PacketSocket": dict({
1189 "create_function": create_element,
1190 "configure_function": configure_element,
1192 "connector_types": [],
1193 "box_attributes": ["RcvBufSize"],
1195 "ns3::flame::FlameProtocol": dict({
1196 "category": FC.CATEGORY_PROTOCOLS,
1197 "create_function": create_element,
1198 "configure_function": configure_element,
1200 "connector_types": [],
1201 "box_attributes": ["BroadcastInterval",
1204 "ns3::Cost231PropagationLossModel": dict({
1205 "category": FC.CATEGORY_LOSS_MODELS,
1206 "create_function": create_element,
1207 "configure_function": configure_element,
1209 "connector_types": [],
1210 "box_attributes": ["Lambda",
1216 "ns3::Ipv6ExtensionESP": dict({
1218 "create_function": create_element,
1219 "configure_function": configure_element,
1221 "connector_types": [],
1222 "box_attributes": ["ExtensionNumber"],
1224 "ns3::CaraWifiManager": dict({
1225 "category": FC.CATEGORY_MANAGERS,
1226 "create_function": create_element,
1227 "configure_function": configure_element,
1229 "connector_types": ["dev"],
1230 "box_attributes": ["ProbeThreshold",
1238 "FragmentationThreshold",
1242 "ns3::RttMeanDeviation": dict({
1244 "create_function": create_element,
1245 "configure_function": configure_element,
1247 "connector_types": [],
1248 "box_attributes": ["Gain",
1250 "InitialEstimation",
1253 "ns3::Icmpv4L4Protocol": dict({
1254 "category": FC.CATEGORY_PROTOCOLS,
1255 "create_function": create_element,
1256 "configure_function": configure_element,
1258 "connector_types": ["node"],
1259 "box_attributes": ["ProtocolNumber"],
1261 "ns3::WaveformGenerator": dict({
1263 "create_function": create_element,
1264 "configure_function": configure_element,
1266 "connector_types": [],
1267 "box_attributes": ["Period",
1270 "ns3::YansWifiChannel": dict({
1271 "category": FC.CATEGORY_CHANNELS,
1272 "create_function": create_element,
1273 "configure_function": configure_element,
1275 "connector_types": ["phys", "delay", "loss"],
1276 "box_attributes": [],
1278 "ns3::SimpleChannel": dict({
1279 "category": FC.CATEGORY_CHANNELS,
1280 "create_function": create_element,
1281 "configure_function": configure_element,
1283 "connector_types": ["devs"],
1284 "box_attributes": [],
1286 "ns3::Ipv6ExtensionFragment": dict({
1288 "create_function": create_element,
1289 "configure_function": configure_element,
1291 "connector_types": [],
1292 "box_attributes": ["ExtensionNumber"],
1294 "ns3::Dot11sStack": dict({
1296 "create_function": create_element,
1297 "configure_function": configure_element,
1299 "connector_types": [],
1300 "box_attributes": ["Root"],
1302 "ns3::FriisSpectrumPropagationLossModel": dict({
1303 "category": FC.CATEGORY_LOSS_MODELS,
1304 "create_function": create_element,
1305 "configure_function": configure_element,
1307 "connector_types": [],
1308 "box_attributes": [],
1310 "ns3::RandomRectanglePositionAllocator": dict({
1311 "category": FC.CATEGORY_MOBILITY_MODELS,
1312 "create_function": create_element,
1313 "configure_function": configure_element,
1315 "connector_types": [],
1316 "box_attributes": ["X",
1318 "tags": [tags.MOBILE],
1320 "ns3::HierarchicalMobilityModel": dict({
1321 "category": FC.CATEGORY_MOBILITY_MODELS,
1322 "create_function": create_element,
1323 "configure_function": configure_element,
1325 "connector_types": ["node"],
1326 "box_attributes": ["Position",
1328 "tags": [tags.MOBILE],
1330 "ns3::ThreeLogDistancePropagationLossModel": dict({
1331 "category": FC.CATEGORY_LOSS_MODELS,
1332 "create_function": create_element,
1333 "configure_function": configure_element,
1335 "connector_types": [],
1336 "box_attributes": ["Distance0",
1344 "ns3::UanNoiseModelDefault": dict({
1346 "create_function": create_element,
1347 "configure_function": configure_element,
1349 "connector_types": [],
1350 "box_attributes": ["Wind",
1353 "ns3::dot11s::HwmpRtable": dict({
1355 "create_function": create_element,
1356 "configure_function": configure_element,
1358 "connector_types": [],
1359 "box_attributes": [],
1361 "ns3::PacketBurst": dict({
1363 "create_function": create_element,
1364 "configure_function": configure_element,
1366 "connector_types": [],
1367 "box_attributes": [],
1369 "ns3::RandomPropagationDelayModel": dict({
1370 "category": FC.CATEGORY_DELAY_MODELS,
1371 "create_function": create_element,
1372 "configure_function": configure_element,
1374 "connector_types": [],
1375 "box_attributes": ["Variable"],
1377 "ns3::ArpL3Protocol": dict({
1378 "category": FC.CATEGORY_PROTOCOLS,
1379 "create_function": create_element,
1380 "configure_function": configure_element,
1382 "connector_types": ["node"],
1383 "box_attributes": [],
1385 "ns3::SteadyStateRandomWaypointMobilityModel": dict({
1386 "category": FC.CATEGORY_MOBILITY_MODELS,
1387 "create_function": create_element,
1388 "configure_function": configure_element,
1390 "connector_types": [],
1391 "box_attributes": ["MinSpeed",
1401 "tags": [tags.MOBILE],
1403 "ns3::BaseStationNetDevice": dict({
1404 "category": FC.CATEGORY_DEVICES,
1405 "create_function": create_base_station,
1406 "configure_function": configure_station,
1407 "help": "Base station for wireless mobile network",
1408 "connector_types": ["node", "chan", "phy", "uplnk", "dwnlnk"],
1409 "box_attributes": ["InitialRangInterval",
1415 "MaxRangCorrectionRetries",
1419 "traces": ["wimaxpcap", "wimaxascii"],
1420 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1422 "ns3::UdpServer": dict({
1423 "category": FC.CATEGORY_APPLICATIONS,
1424 "create_function": create_element,
1425 "configure_function": configure_element,
1427 "connector_types": ["node"],
1428 "stop_function": stop_application,
1429 "start_function": start_application,
1430 "status_function": status_application,
1431 "box_attributes": ["Port",
1436 "ns3::AarfcdWifiManager": dict({
1437 "category": FC.CATEGORY_MANAGERS,
1438 "create_function": create_element,
1439 "configure_function": configure_element,
1441 "connector_types": ["dev"],
1442 "box_attributes": ["SuccessK",
1444 "MaxSuccessThreshold",
1445 "MinTimerThreshold",
1446 "MinSuccessThreshold",
1449 "TurnOffRtsAfterRateDecrease",
1450 "TurnOnRtsAfterRateIncrease",
1455 "FragmentationThreshold",
1458 "ns3::UanTransducerHd": dict({
1460 "create_function": create_element,
1461 "configure_function": configure_element,
1463 "connector_types": [],
1464 "box_attributes": [],
1466 "ns3::LogDistancePropagationLossModel": dict({
1467 "category": FC.CATEGORY_LOSS_MODELS,
1468 "create_function": create_element,
1469 "configure_function": configure_element,
1471 "connector_types": ["prev", "next"],
1472 "box_attributes": ["Exponent",
1473 "ReferenceDistance",
1476 "ns3::EmuNetDevice": dict({
1477 "category": FC.CATEGORY_DEVICES,
1478 "create_function": create_element,
1479 "configure_function": configure_element,
1481 "connector_types": ["node", "queue"],
1482 "box_attributes": ["Mtu",
1488 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1490 "ns3::Ipv6ExtensionLooseRouting": dict({
1491 "category": FC.CATEGORY_ROUTING,
1492 "create_function": create_element,
1493 "configure_function": configure_element,
1495 "connector_types": [],
1496 "box_attributes": ["ExtensionNumber"],
1498 "ns3::RandomWaypointMobilityModel": dict({
1499 "category": FC.CATEGORY_MOBILITY_MODELS,
1500 "create_function": create_element,
1501 "configure_function": configure_element,
1503 "connector_types": ["node"],
1504 "box_attributes": ["Speed",
1508 "tags": [tags.MOBILE],
1510 "ns3::RangePropagationLossModel": dict({
1511 "category": FC.CATEGORY_LOSS_MODELS,
1512 "create_function": create_element,
1513 "configure_function": configure_element,
1515 "connector_types": [],
1516 "box_attributes": ["MaxRange"],
1518 "ns3::AlohaNoackNetDevice": dict({
1519 "category": FC.CATEGORY_DEVICES,
1520 "create_function": create_element,
1521 "configure_function": configure_element,
1523 "connector_types": [],
1524 "box_attributes": ["Address",
1526 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1528 "ns3::MatrixPropagationLossModel": dict({
1529 "category": FC.CATEGORY_LOSS_MODELS,
1530 "create_function": create_element,
1531 "configure_function": configure_element,
1533 "connector_types": [],
1534 "box_attributes": ["DefaultLoss"],
1536 "ns3::WifiNetDevice": dict({
1537 "category": FC.CATEGORY_DEVICES,
1538 "create_function": create_element,
1539 "configure_function": configure_device,
1541 "connector_types": ["node", "mac", "phy", "manager"],
1542 "box_attributes": ["Mtu"],
1543 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1545 "ns3::CsmaChannel": dict({
1546 "category": FC.CATEGORY_CHANNELS,
1547 "create_function": create_element,
1548 "configure_function": configure_element,
1550 "connector_types": ["devs"],
1551 "box_attributes": ["DataRate",
1554 "ns3::BridgeNetDevice": dict({
1555 "category": FC.CATEGORY_DEVICES,
1556 "create_function": create_element,
1557 "configure_function": configure_element,
1559 "connector_types": ["node"],
1560 "box_attributes": ["Mtu",
1563 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1565 "ns3::Ipv6ExtensionRouting": dict({
1566 "category": FC.CATEGORY_ROUTING,
1567 "create_function": create_element,
1568 "configure_function": configure_element,
1570 "connector_types": [],
1571 "box_attributes": ["ExtensionNumber"],
1573 "ns3::StaWifiMac": dict({
1574 "category": FC.CATEGORY_MAC_MODELS,
1575 "create_function": create_wifi_standard_model,
1576 "configure_function": configure_element,
1577 "help": "Station Wifi MAC Model",
1578 "connector_types": ["dev"],
1579 "box_attributes": ["ProbeRequestTimeout",
1580 "AssocRequestTimeout",
1584 "BasicBlockAckTimeout",
1585 "CompressedBlockAckTimeout",
1590 "MaxPropagationDelay",
1594 "ns3::UdpEchoClient": dict({
1595 "category": FC.CATEGORY_APPLICATIONS,
1596 "create_function": create_element,
1597 "configure_function": configure_element,
1599 "connector_types": ["node"],
1600 "stop_function": stop_application,
1601 "start_function": start_application,
1602 "status_function": status_application,
1603 "box_attributes": ["MaxPackets",
1610 "tags": [tags.APPLICATION],
1612 "ns3::UdpClient": dict({
1613 "category": FC.CATEGORY_APPLICATIONS,
1614 "create_function": create_element,
1615 "configure_function": configure_element,
1617 "connector_types": ["node"],
1618 "stop_function": stop_application,
1619 "start_function": start_application,
1620 "status_function": status_application,
1621 "box_attributes": ["MaxPackets",
1628 "tags": [tags.APPLICATION],
1630 "ns3::PointToPointChannel": dict({
1631 "category": FC.CATEGORY_CHANNELS,
1632 "create_function": create_element,
1633 "configure_function": configure_element,
1635 "connector_types": ["dev2"],
1636 "box_attributes": ["Delay"],
1638 "ns3::Ipv6StaticRouting": dict({
1639 "category": FC.CATEGORY_ROUTING,
1640 "create_function": create_element,
1641 "configure_function": configure_element,
1643 "connector_types": [],
1644 "box_attributes": [],
1646 "ns3::DropTailQueue": dict({
1647 "category": FC.CATEGORY_QUEUES,
1648 "create_function": create_element,
1649 "configure_function": configure_element,
1651 "connector_types": ["dev"],
1652 "box_attributes": ["MaxPackets",
1655 "ns3::ConstantPositionMobilityModel": dict({
1656 "category": FC.CATEGORY_MOBILITY_MODELS,
1657 "create_function": create_element,
1658 "configure_function": configure_element,
1660 "connector_types": ["node"],
1661 "box_attributes": ["Position",
1663 "tags": [tags.MOBILE],
1665 "ns3::FixedRssLossModel": dict({
1666 "category": FC.CATEGORY_LOSS_MODELS,
1667 "create_function": create_element,
1668 "configure_function": configure_element,
1670 "connector_types": [],
1671 "box_attributes": ["Rss"],
1673 "ns3::EnergySourceContainer": dict({
1674 "category": FC.CATEGORY_ENERGY_MODELS,
1675 "create_function": create_element,
1676 "configure_function": configure_element,
1678 "connector_types": [],
1679 "box_attributes": [],
1681 "ns3::RandomWalk2dMobilityModel": dict({
1682 "category": FC.CATEGORY_MOBILITY_MODELS,
1683 "create_function": create_element,
1684 "configure_function": configure_element,
1686 "connector_types": ["node"],
1687 "box_attributes": ["Bounds",
1695 "tags": [tags.MOBILE],
1697 "ns3::ListPositionAllocator": dict({
1699 "create_function": create_element,
1700 "configure_function": configure_element,
1702 "connector_types": [],
1703 "box_attributes": [],
1705 "ns3::dot11s::PeerManagementProtocol": dict({
1706 "category": FC.CATEGORY_PROTOCOLS,
1707 "create_function": create_element,
1708 "configure_function": configure_element,
1710 "connector_types": [],
1711 "box_attributes": ["MaxNumberOfPeerLinks",
1712 "MaxBeaconShiftValue",
1713 "EnableBeaconCollisionAvoidance"],
1715 "ns3::MeshPointDevice": dict({
1716 "category": FC.CATEGORY_DEVICES,
1717 "create_function": create_element,
1718 "configure_function": configure_element,
1720 "connector_types": [],
1721 "box_attributes": ["Mtu"],
1722 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1724 "ns3::BasicEnergySource": dict({
1725 "category": FC.CATEGORY_ENERGY_MODELS,
1726 "create_function": create_element,
1727 "configure_function": configure_element,
1729 "connector_types": [],
1730 "box_attributes": ["BasicEnergySourceInitialEnergyJ",
1731 "BasicEnergySupplyVoltageV",
1732 "PeriodicEnergyUpdateInterval"],
1734 "ns3::Ipv6OptionPadn": dict({
1736 "create_function": create_element,
1737 "configure_function": configure_element,
1739 "connector_types": [],
1740 "box_attributes": ["OptionNumber"],
1742 "ns3::ApWifiMac": dict({
1743 "category": FC.CATEGORY_MAC_MODELS,
1744 "create_function": create_wifi_standard_model,
1745 "configure_function": configure_element,
1746 "help": "Access point Wifi MAC Model",
1747 "connector_types": ["dev"],
1748 "box_attributes": ["BeaconInterval",
1752 "BasicBlockAckTimeout",
1753 "CompressedBlockAckTimeout",
1758 "MaxPropagationDelay",
1762 "ns3::YansErrorRateModel": dict({
1763 "category": FC.CATEGORY_ERROR_MODELS,
1764 "create_function": create_element,
1765 "configure_function": configure_element,
1767 "connector_types": [],
1768 "box_attributes": [],
1770 "ns3::WifiMacQueue": dict({
1771 "category": FC.CATEGORY_QUEUES,
1772 "create_function": create_element,
1773 "configure_function": configure_element,
1775 "connector_types": [],
1776 "box_attributes": ["MaxPacketNumber",
1779 "ns3::NonCommunicatingNetDevice": dict({
1780 "category": FC.CATEGORY_DEVICES,
1781 "create_function": create_element,
1782 "configure_function": configure_element,
1784 "connector_types": [],
1785 "box_attributes": [],
1786 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
1788 "ns3::RateErrorModel": dict({
1789 "category": FC.CATEGORY_ERROR_MODELS,
1790 "create_function": create_element,
1791 "configure_function": configure_element,
1793 "connector_types": [],
1794 "box_attributes": ["ErrorUnit",
1799 "ns3::MeshWifiInterfaceMac": dict({
1800 "category": FC.CATEGORY_MAC_MODELS,
1801 "create_function": create_element,
1802 "configure_function": configure_element,
1804 "connector_types": [],
1805 "box_attributes": ["BeaconInterval",
1810 "BasicBlockAckTimeout",
1811 "CompressedBlockAckTimeout",
1816 "MaxPropagationDelay",
1819 "ns3::UanPhyCalcSinrDual": dict({
1821 "create_function": create_element,
1822 "configure_function": configure_element,
1824 "connector_types": [],
1825 "box_attributes": [],
1827 "ns3::Ipv6ExtensionAH": dict({
1829 "create_function": create_element,
1830 "configure_function": configure_element,
1832 "connector_types": [],
1833 "box_attributes": ["ExtensionNumber"],
1835 "ns3::SingleModelSpectrumChannel": dict({
1836 "category": FC.CATEGORY_CHANNELS,
1837 "create_function": create_element,
1838 "configure_function": configure_element,
1840 "connector_types": [],
1841 "box_attributes": [],
1843 "ns3::YansWifiPhy": dict({
1844 "category": FC.CATEGORY_PHY_MODELS,
1845 "create_function": create_wifi_standard_model,
1846 "configure_function": configure_element,
1848 "connector_types": ["dev", "err", "chan"],
1849 "box_attributes": ["EnergyDetectionThreshold",
1850 "CcaMode1Threshold",
1857 "ChannelSwitchDelay",
1860 "traces": ["yanswifipcap"]
1862 "ns3::WifiRadioEnergyModel": dict({
1863 "category": FC.CATEGORY_ENERGY_MODELS,
1864 "create_function": create_element,
1865 "configure_function": configure_element,
1867 "connector_types": [],
1868 "box_attributes": ["TxCurrentA",
1873 "ns3::EdcaTxopN": dict({
1875 "create_function": create_element,
1876 "configure_function": configure_element,
1878 "connector_types": [],
1879 "box_attributes": ["BlockAckThreshold",
1884 "ns3::UanPhyPerGenDefault": dict({
1886 "create_function": create_element,
1887 "configure_function": configure_element,
1889 "connector_types": [],
1890 "box_attributes": ["Threshold"],
1892 "ns3::IdealWifiManager": dict({
1893 "category": FC.CATEGORY_MANAGERS,
1894 "create_function": create_element,
1895 "configure_function": configure_element,
1897 "connector_types": ["dev"],
1898 "box_attributes": ["BerThreshold",
1903 "FragmentationThreshold",
1906 "ns3::MultiModelSpectrumChannel": dict({
1907 "category": FC.CATEGORY_CHANNELS,
1908 "create_function": create_element,
1909 "configure_function": configure_element,
1911 "connector_types": [],
1912 "box_attributes": [],
1914 "ns3::HalfDuplexIdealPhy": dict({
1915 "category": FC.CATEGORY_PHY_MODELS,
1916 "create_function": create_element,
1917 "configure_function": configure_element,
1919 "connector_types": [],
1920 "box_attributes": ["Rate"],
1922 "ns3::UanPhyCalcSinrDefault": dict({
1923 "category": FC.CATEGORY_PHY_MODELS,
1924 "create_function": create_element,
1925 "configure_function": configure_element,
1927 "connector_types": [],
1928 "box_attributes": [],
1930 "ns3::ReceiveListErrorModel": dict({
1931 "category": FC.CATEGORY_ERROR_MODELS,
1932 "create_function": create_element,
1933 "configure_function": configure_element,
1935 "connector_types": [],
1936 "box_attributes": ["IsEnabled"],
1938 "ns3::SpectrumAnalyzer": dict({
1940 "create_function": create_element,
1941 "configure_function": configure_element,
1943 "connector_types": [],
1944 "box_attributes": ["Resolution",
1945 "NoisePowerSpectralDensity"],
1947 "ns3::ConstantRateWifiManager": dict({
1948 "category": FC.CATEGORY_MANAGERS,
1949 "create_function": create_element,
1950 "configure_function": configure_element,
1952 "connector_types": ["dev"],
1953 "box_attributes": ["DataMode",
1959 "FragmentationThreshold",
1962 "ns3::Ipv6OptionPad1": dict({
1964 "create_function": create_element,
1965 "configure_function": configure_element,
1967 "connector_types": [],
1968 "box_attributes": ["OptionNumber"],
1970 "ns3::UdpTraceClient": dict({
1972 "create_function": create_element,
1973 "configure_function": configure_element,
1975 "connector_types": [],
1976 "box_attributes": ["RemoteAddress",
1982 "ns3::RraaWifiManager": dict({
1983 "category": FC.CATEGORY_MANAGERS,
1984 "create_function": create_element,
1985 "configure_function": configure_element,
1987 "connector_types": ["dev"],
1988 "box_attributes": ["Basic",
2016 "FragmentationThreshold",
2019 "ns3::RandomPropagationLossModel": dict({
2020 "category": FC.CATEGORY_LOSS_MODELS,
2021 "create_function": create_element,
2022 "configure_function": configure_element,
2024 "connector_types": [],
2025 "box_attributes": ["Variable"],
2027 "ns3::UanChannel": dict({
2028 "category": FC.CATEGORY_CHANNELS,
2029 "create_function": create_element,
2030 "configure_function": configure_element,
2032 "connector_types": [],
2033 "box_attributes": [],
2035 "ns3::MinstrelWifiManager": dict({
2036 "category": FC.CATEGORY_MANAGERS,
2037 "create_function": create_element,
2038 "configure_function": configure_element,
2040 "connector_types": ["dev"],
2041 "box_attributes": ["UpdateStatistics",
2051 "FragmentationThreshold",
2054 "ns3::UanPhyDual": dict({
2055 "category": FC.CATEGORY_PHY_MODELS,
2056 "create_function": create_element,
2057 "configure_function": configure_element,
2059 "connector_types": [],
2060 "box_attributes": ["CcaThresholdPhy1",
2066 "SupportedModesPhy1",
2067 "SupportedModesPhy2"],
2069 "ns3::ListErrorModel": dict({
2070 "category": FC.CATEGORY_ERROR_MODELS,
2071 "create_function": create_element,
2072 "configure_function": configure_element,
2074 "connector_types": ["dev"],
2075 "box_attributes": ["IsEnabled"],
2077 "ns3::VirtualNetDevice": dict({
2078 "category": FC.CATEGORY_DEVICES,
2079 "create_function": create_element,
2080 "configure_function": configure_element,
2082 "connector_types": [],
2083 "box_attributes": ["Mtu"],
2084 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
2086 "ns3::UanPhyGen": dict({
2087 "category": FC.CATEGORY_PHY_MODELS,
2088 "create_function": create_element,
2089 "configure_function": configure_element,
2091 "connector_types": [],
2092 "box_attributes": ["CcaThreshold",
2098 "ns3::Ipv6L3Protocol": dict({
2099 "category": FC.CATEGORY_PROTOCOLS,
2100 "create_function": create_element,
2101 "configure_function": configure_element,
2103 "connector_types": ["node"],
2104 "box_attributes": ["DefaultTtl",
2107 "ns3::PointToPointRemoteChannel": dict({
2108 "category": FC.CATEGORY_CHANNELS,
2109 "create_function": create_element,
2110 "configure_function": configure_element,
2112 "connector_types": [],
2113 "box_attributes": ["Delay"],
2115 "ns3::UanPhyPerUmodem": dict({
2116 "category": FC.CATEGORY_PHY_MODELS,
2117 "create_function": create_element,
2118 "configure_function": configure_element,
2120 "connector_types": [],
2121 "box_attributes": [],
2123 "ns3::OnoeWifiManager": dict({
2124 "category": FC.CATEGORY_MANAGERS,
2125 "create_function": create_element,
2126 "configure_function": configure_element,
2128 "connector_types": ["dev"],
2129 "box_attributes": ["UpdatePeriod",
2131 "AddCreditThreshold",
2136 "FragmentationThreshold",
2139 "ns3::QadhocWifiMac": dict({
2140 "category": FC.CATEGORY_MAC_MODELS,
2141 "create_function": create_element,
2142 "configure_function": configure_element,
2144 "connector_types": [],
2145 "box_attributes": ["CtsTimeout",
2147 "BasicBlockAckTimeout",
2148 "CompressedBlockAckTimeout",
2153 "MaxPropagationDelay",
2156 "ns3::JakesPropagationLossModel": dict({
2157 "category": FC.CATEGORY_LOSS_MODELS,
2158 "create_function": create_element,
2159 "configure_function": configure_element,
2161 "connector_types": [],
2162 "box_attributes": ["NumberOfRaysPerPath",
2163 "NumberOfOscillatorsPerRay",
2167 "ns3::PacketSink": dict({
2168 "category": FC.CATEGORY_APPLICATIONS,
2169 "create_function": create_element,
2170 "configure_function": configure_element,
2172 "connector_types": ["node"],
2173 "stop_function": stop_application,
2174 "start_function": start_application,
2175 "status_function": status_application,
2176 "box_attributes": ["Local",
2180 "tags": [tags.APPLICATION],
2182 "ns3::RandomDirection2dMobilityModel": dict({
2183 "category": FC.CATEGORY_MOBILITY_MODELS,
2184 "create_function": create_element,
2185 "configure_function": configure_element,
2187 "connector_types": ["node"],
2188 "box_attributes": ["Bounds",
2193 "tags": [tags.MOBILE],
2195 "ns3::UanMacAloha": dict({
2197 "create_function": create_element,
2198 "configure_function": configure_element,
2200 "connector_types": [],
2201 "box_attributes": [],
2203 "ns3::MsduStandardAggregator": dict({
2205 "create_function": create_element,
2206 "configure_function": configure_element,
2208 "connector_types": [],
2209 "box_attributes": ["MaxAmsduSize"],
2211 "ns3::DcaTxop": dict({
2213 "create_function": create_element,
2214 "configure_function": configure_element,
2216 "connector_types": [],
2217 "box_attributes": ["MinCw",
2221 "ns3::UanPhyCalcSinrFhFsk": dict({
2222 "category": FC.CATEGORY_PHY_MODELS,
2223 "create_function": create_element,
2224 "configure_function": configure_element,
2226 "connector_types": [],
2227 "box_attributes": ["NumberOfHops"],
2229 "ns3::UanPropModelIdeal": dict({
2231 "create_function": create_element,
2232 "configure_function": configure_element,
2234 "connector_types": [],
2235 "box_attributes": [],
2237 "ns3::UanMacRcGw": dict({
2239 "create_function": create_element,
2240 "configure_function": configure_element,
2242 "connector_types": [],
2243 "box_attributes": ["MaxReservations",
2251 "NumberOfRetryRates",
2256 "ns3::NistErrorRateModel": dict({
2257 "category": FC.CATEGORY_ERROR_MODELS,
2258 "create_function": create_element,
2259 "configure_function": configure_element,
2261 "connector_types": ["phy"],
2262 "box_attributes": [],
2264 "ns3::Ipv4L3Protocol": dict({
2265 "category": FC.CATEGORY_PROTOCOLS,
2266 "create_function": create_ipv4protocol,
2267 "configure_function": configure_element,
2269 "connector_types": ["node"],
2270 "box_attributes": ["DefaultTtl",
2274 "ns3::aodv::RoutingProtocol": dict({
2275 "category": FC.CATEGORY_PROTOCOLS,
2276 "create_function": create_element,
2277 "configure_function": configure_element,
2279 "connector_types": [],
2280 "box_attributes": ["HelloInterval",
2283 "NodeTraversalTime",
2285 "ActiveRouteTimeout",
2292 "PathDiscoveryTime",
2301 "ns3::TcpL4Protocol": dict({
2302 "category": FC.CATEGORY_PROTOCOLS,
2303 "create_function": create_element,
2304 "configure_function": configure_element,
2306 "connector_types": ["node"],
2307 "box_attributes": ["RttEstimatorFactory",
2310 "ns3::olsr::RoutingProtocol": dict({
2311 "category": FC.CATEGORY_PROTOCOLS,
2312 "create_function": create_element,
2313 "configure_function": configure_element,
2315 "connector_types": [],
2316 "box_attributes": ["HelloInterval",
2322 "ns3::UdpEchoServer": dict({
2323 "category": FC.CATEGORY_APPLICATIONS,
2324 "create_function": create_element,
2325 "configure_function": configure_element,
2327 "connector_types": ["node"],
2328 "stop_function": stop_application,
2329 "start_function": start_application,
2330 "status_function": status_application,
2331 "box_attributes": ["Port",
2334 "tags": [tags.APPLICATION],
2336 "ns3::AmrrWifiManager": dict({
2337 "category": FC.CATEGORY_MANAGERS,
2338 "create_function": create_element,
2339 "configure_function": configure_element,
2341 "connector_types": ["dev"],
2342 "box_attributes": ["UpdatePeriod",
2345 "MaxSuccessThreshold",
2346 "MinSuccessThreshold",
2351 "FragmentationThreshold",
2354 "ns3::ArfWifiManager": dict({
2355 "category": FC.CATEGORY_MANAGERS,
2356 "create_function": create_element,
2357 "configure_function": configure_element,
2359 "connector_types": ["dev"],
2360 "box_attributes": ["TimerThreshold",
2366 "FragmentationThreshold",
2369 "ns3::SubscriberStationNetDevice": dict({
2370 "category": FC.CATEGORY_DEVICES,
2371 "create_function": create_subscriber_station,
2372 "configure_function": configure_station,
2373 "help": "Subscriber station for mobile wireless network",
2374 "connector_types": ["node", "chan", "phy", "sflows"],
2375 "box_attributes": ["LostDlMapInterval",
2376 "LostUlMapInterval",
2386 "MaxContentionRangingRetries",
2390 "traces": ["wimaxpcap", "wimaxascii"],
2391 "tags": [tags.INTERFACE, tags.ALLOW_ADDRESSES],
2393 "ns3::flame::FlameRtable": dict({
2395 "create_function": create_element,
2396 "configure_function": configure_element,
2398 "connector_types": [],
2399 "box_attributes": ["Lifetime"],
2401 "ns3::BSSchedulerRtps": dict({
2402 "category": FC.CATEGORY_SERVICE_FLOWS,
2403 "create_function": create_element,
2404 "configure_function": configure_element,
2405 "help": "Simple downlink scheduler for rtPS flows",
2406 "connector_types": ["dev"],
2407 "box_attributes": [],
2409 "ns3::BSSchedulerSimple": dict({
2410 "category": FC.CATEGORY_SERVICE_FLOWS,
2411 "create_function": create_element,
2412 "configure_function": configure_element,
2413 "help": "simple downlink scheduler for service flows",
2414 "connector_types": ["dev"],
2415 "box_attributes": [],
2417 "ns3::SimpleOfdmWimaxChannel": dict({
2418 "category": FC.CATEGORY_CHANNELS,
2419 "create_function": create_wimax_channel,
2420 "configure_function": configure_element,
2421 "help": "Wimax channel",
2422 "connector_types": ["devs"],
2423 "box_attributes": [],
2425 "ns3::SimpleOfdmWimaxPhy": dict({
2426 "category": FC.CATEGORY_PHY_MODELS,
2427 "create_function": create_wimax_phy,
2428 "configure_function": configure_element,
2429 "help": "Wimax Phy",
2430 "connector_types": ["dev"],
2431 "box_attributes": [],
2433 "ns3::UplinkSchedulerSimple": dict({
2434 "category": FC.CATEGORY_SERVICE_FLOWS,
2435 "create_function": create_element_no_constructor,
2436 "configure_function": configure_element,
2437 "help": "Simple uplink scheduler for service flows",
2438 "connector_types": ["dev"],
2439 "box_attributes": [],
2441 "ns3::UplinkSchedulerRtps": dict({
2442 "category": FC.CATEGORY_SERVICE_FLOWS,
2443 "create_function": create_element_no_constructor,
2444 "configure_function": configure_element,
2445 "help": "Simple uplink scheduler for rtPS flows",
2446 "connector_types": ["dev"],
2447 "box_attributes": [],
2449 "ns3::IpcsClassifierRecord": dict({
2450 "category": FC.CATEGORY_SERVICE_FLOWS,
2451 "create_function": create_ipcs_classifier_record,
2452 "configure_function": configure_element,
2453 "help": "Classifier record for service flow",
2454 "connector_types": ["sflow"],
2455 "box_attributes": ["ClassifierSrcAddress",
2456 "ClassifierSrcMask",
2457 "ClassifierDstAddress",
2458 "ClassifierDstMask",
2459 "ClassifierSrcPortLow",
2460 "ClassifierSrcPortHigh",
2461 "ClassifierDstPortLow",
2462 "ClassifierDstPortHigh",
2463 "ClassifierProtocol",
2464 "ClassifierPriority"],
2466 "ns3::ServiceFlow": dict({
2467 "category": FC.CATEGORY_SERVICE_FLOWS,
2468 "create_function": create_service_flow,
2469 "configure_function": configure_element,
2470 "help": "Service flow for QoS",
2471 "connector_types": ["classif", "dev"],
2472 "box_attributes": ["ServiceFlowDirection",
2473 "ServiceFlowSchedulingType"],