rescan python bindings so that FlowMonitor::GetFlowStats binding works
This commit is contained in:
1 parent
be889a65c2
commit
7ebf31cccf
4 files changed
+383
-381
No files matched your search
@@ -2459,7 +2459,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::BooleanValue const &', 'value')])
|
||||
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::EnumValue const & value) [constructor]
|
||||
cls.add_constructor([param('ns3::EnumValue const &', 'value')])
|
||||
## traced-value.h: void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::string path) [member function]
|
||||
## traced-value.h: void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
|
||||
cls.add_method('Connect',
|
||||
'void',
|
||||
[param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
|
||||
@@ -2467,7 +2467,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
|
||||
cls.add_method('ConnectWithoutContext',
|
||||
'void',
|
||||
[param('ns3::CallbackBase const &', 'cb')])
|
||||
## traced-value.h: void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function]
|
||||
## traced-value.h: void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
|
||||
cls.add_method('Disconnect',
|
||||
'void',
|
||||
[param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
|
||||
@@ -2643,7 +2643,7 @@ def register_functions(root_module):
|
||||
module.add_function('TypeNameGet',
|
||||
'std::string',
|
||||
[],
|
||||
template_parameters=['long long'])
|
||||
template_parameters=['long'])
|
||||
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
|
||||
module.add_function('TypeNameGet',
|
||||
'std::string',
|
||||
@@ -2663,7 +2663,7 @@ def register_functions(root_module):
|
||||
module.add_function('TypeNameGet',
|
||||
'std::string',
|
||||
[],
|
||||
template_parameters=['unsigned long long'])
|
||||
template_parameters=['unsigned long'])
|
||||
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
|
||||
module.add_function('TypeNameGet',
|
||||
'std::string',
|
||||
|
||||
@@ -61,8 +61,6 @@ def register_types_ns3_addressUtils(module):
|
||||
def register_types_ns3_dot11s(module):
|
||||
root_module = module.get_root()
|
||||
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration]
|
||||
module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration]
|
||||
module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration]
|
||||
@@ -73,6 +71,8 @@ def register_types_ns3_dot11s(module):
|
||||
module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration]
|
||||
module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration]
|
||||
module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP'])
|
||||
## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class]
|
||||
module.add_class('Dot11sMeshCapability')
|
||||
## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class]
|
||||
|
||||
@@ -23,6 +23,8 @@ def register_types(module):
|
||||
module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
|
||||
module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
|
||||
module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
|
||||
module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map')
|
||||
typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId')
|
||||
typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*')
|
||||
typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&')
|
||||
@@ -207,7 +209,7 @@ def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
|
||||
cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< uint64_t >', is_const=False)
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
|
||||
cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
|
||||
## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
|
||||
@@ -361,7 +363,7 @@ def register_Ns3FlowMonitorFlowStats_methods(root_module, cls):
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats(ns3::FlowMonitor::FlowStats const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::FlowMonitor::FlowStats const &', 'arg0')])
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats::bytesDropped [variable]
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< uint64_t >', is_const=False)
|
||||
cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False)
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats::delayHistogram [variable]
|
||||
cls.add_instance_attribute('delayHistogram', 'ns3::Histogram', is_const=False)
|
||||
## flow-monitor.h: ns3::FlowMonitor::FlowStats::delaySum [variable]
|
||||
|
||||
@@ -16,28 +16,28 @@ import ns3_module_core
|
||||
import ns3_module_simulator
|
||||
import ns3_module_mobility
|
||||
import ns3_module_common
|
||||
import ns3_module_contrib
|
||||
import ns3_module_node
|
||||
import ns3_module_tap_bridge
|
||||
import ns3_module_v4ping
|
||||
import ns3_module_static_routing
|
||||
import ns3_module_packet_sink
|
||||
import ns3_module_stats
|
||||
import ns3_module_onoff
|
||||
import ns3_module_contrib
|
||||
import ns3_module_point_to_point
|
||||
import ns3_module_internet_stack
|
||||
import ns3_module_tap_bridge
|
||||
import ns3_module_csma
|
||||
import ns3_module_list_routing
|
||||
import ns3_module_virtual_net_device
|
||||
import ns3_module_wifi
|
||||
import ns3_module_static_routing
|
||||
import ns3_module_v4ping
|
||||
import ns3_module_virtual_net_device
|
||||
import ns3_module_packet_sink
|
||||
import ns3_module_global_routing
|
||||
import ns3_module_stats
|
||||
import ns3_module_list_routing
|
||||
import ns3_module_emu
|
||||
import ns3_module_bridge
|
||||
import ns3_module_global_routing
|
||||
import ns3_module_onoff
|
||||
import ns3_module_udp_echo
|
||||
import ns3_module_olsr
|
||||
import ns3_module_radvd
|
||||
import ns3_module_ping6
|
||||
import ns3_module_olsr
|
||||
import ns3_module_flow_monitor
|
||||
import ns3_module_radvd
|
||||
import ns3_module_mesh
|
||||
import ns3_module_helper
|
||||
import ns3_module_dot11s
|
||||
@@ -94,17 +94,6 @@ def register_types(module):
|
||||
ns3_module_common__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_common')
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_contrib__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_node')
|
||||
ns3_module_node.register_types(module)
|
||||
|
||||
@@ -116,72 +105,17 @@ def register_types(module):
|
||||
ns3_module_node__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_node')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_types(module)
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_types(module)
|
||||
ns3_module_contrib__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_onoff__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_point_to_point')
|
||||
ns3_module_point_to_point.register_types(module)
|
||||
|
||||
@@ -204,6 +138,17 @@ def register_types(module):
|
||||
ns3_module_internet_stack__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_internet_stack')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_csma')
|
||||
ns3_module_csma.register_types(module)
|
||||
|
||||
@@ -215,28 +160,6 @@ def register_types(module):
|
||||
ns3_module_csma__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_csma')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_wifi')
|
||||
ns3_module_wifi.register_types(module)
|
||||
|
||||
@@ -248,6 +171,83 @@ def register_types(module):
|
||||
ns3_module_wifi__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_wifi')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_emu')
|
||||
ns3_module_emu.register_types(module)
|
||||
|
||||
@@ -270,17 +270,17 @@ def register_types(module):
|
||||
ns3_module_bridge__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_bridge')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_types(module)
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_types(module)
|
||||
ns3_module_onoff__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.begin_section('ns3_module_udp_echo')
|
||||
ns3_module_udp_echo.register_types(module)
|
||||
|
||||
@@ -292,28 +292,6 @@ def register_types(module):
|
||||
ns3_module_udp_echo__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_udp_echo')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_ping6')
|
||||
ns3_module_ping6.register_types(module)
|
||||
|
||||
@@ -325,6 +303,17 @@ def register_types(module):
|
||||
ns3_module_ping6__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_ping6')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_flow_monitor')
|
||||
ns3_module_flow_monitor.register_types(module)
|
||||
|
||||
@@ -336,6 +325,17 @@ def register_types(module):
|
||||
ns3_module_flow_monitor__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_flow_monitor')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_types(module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_types(module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_mesh')
|
||||
ns3_module_mesh.register_types(module)
|
||||
|
||||
@@ -382,7 +382,7 @@ def register_types(module):
|
||||
root_module.end_section('ns3_module_flame')
|
||||
module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector')
|
||||
module.add_container('std::vector< bool >', 'bool', container_type='vector')
|
||||
module.add_container('std::vector< unsigned long long >', 'long long unsigned int', container_type='vector')
|
||||
module.add_container('std::vector< unsigned long >', 'long unsigned int', container_type='vector')
|
||||
module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list')
|
||||
module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type='list')
|
||||
|
||||
@@ -502,17 +502,6 @@ def register_methods(root_module):
|
||||
ns3_module_common__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_common')
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_contrib__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_node')
|
||||
ns3_module_node.register_methods(root_module)
|
||||
|
||||
@@ -524,72 +513,17 @@ def register_methods(root_module):
|
||||
ns3_module_node__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_node')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_methods(root_module)
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_methods(root_module)
|
||||
ns3_module_contrib__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_onoff__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_point_to_point')
|
||||
ns3_module_point_to_point.register_methods(root_module)
|
||||
|
||||
@@ -612,6 +546,17 @@ def register_methods(root_module):
|
||||
ns3_module_internet_stack__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_internet_stack')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_csma')
|
||||
ns3_module_csma.register_methods(root_module)
|
||||
|
||||
@@ -623,28 +568,6 @@ def register_methods(root_module):
|
||||
ns3_module_csma__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_csma')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_wifi')
|
||||
ns3_module_wifi.register_methods(root_module)
|
||||
|
||||
@@ -656,6 +579,83 @@ def register_methods(root_module):
|
||||
ns3_module_wifi__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_wifi')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_emu')
|
||||
ns3_module_emu.register_methods(root_module)
|
||||
|
||||
@@ -678,17 +678,17 @@ def register_methods(root_module):
|
||||
ns3_module_bridge__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_bridge')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_methods(root_module)
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_methods(root_module)
|
||||
ns3_module_onoff__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.begin_section('ns3_module_udp_echo')
|
||||
ns3_module_udp_echo.register_methods(root_module)
|
||||
|
||||
@@ -700,28 +700,6 @@ def register_methods(root_module):
|
||||
ns3_module_udp_echo__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_udp_echo')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_ping6')
|
||||
ns3_module_ping6.register_methods(root_module)
|
||||
|
||||
@@ -733,6 +711,17 @@ def register_methods(root_module):
|
||||
ns3_module_ping6__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_ping6')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_flow_monitor')
|
||||
ns3_module_flow_monitor.register_methods(root_module)
|
||||
|
||||
@@ -744,6 +733,17 @@ def register_methods(root_module):
|
||||
ns3_module_flow_monitor__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_flow_monitor')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_methods(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_methods(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_mesh')
|
||||
ns3_module_mesh.register_methods(root_module)
|
||||
|
||||
@@ -836,17 +836,6 @@ def register_functions(root_module):
|
||||
ns3_module_common__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_common')
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_contrib__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_node')
|
||||
ns3_module_node.register_functions(root_module)
|
||||
|
||||
@@ -858,72 +847,17 @@ def register_functions(root_module):
|
||||
ns3_module_node__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_node')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_functions(root_module)
|
||||
root_module.begin_section('ns3_module_contrib')
|
||||
ns3_module_contrib.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
import ns3_module_contrib__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_functions(root_module)
|
||||
ns3_module_contrib__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_onoff__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.end_section('ns3_module_contrib')
|
||||
root_module.begin_section('ns3_module_point_to_point')
|
||||
ns3_module_point_to_point.register_functions(root_module)
|
||||
|
||||
@@ -946,6 +880,17 @@ def register_functions(root_module):
|
||||
ns3_module_internet_stack__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_internet_stack')
|
||||
root_module.begin_section('ns3_module_tap_bridge')
|
||||
ns3_module_tap_bridge.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_tap_bridge__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_tap_bridge__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_tap_bridge')
|
||||
root_module.begin_section('ns3_module_csma')
|
||||
ns3_module_csma.register_functions(root_module)
|
||||
|
||||
@@ -957,28 +902,6 @@ def register_functions(root_module):
|
||||
ns3_module_csma__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_csma')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_wifi')
|
||||
ns3_module_wifi.register_functions(root_module)
|
||||
|
||||
@@ -990,6 +913,83 @@ def register_functions(root_module):
|
||||
ns3_module_wifi__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_wifi')
|
||||
root_module.begin_section('ns3_module_static_routing')
|
||||
ns3_module_static_routing.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_static_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_static_routing__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_static_routing')
|
||||
root_module.begin_section('ns3_module_v4ping')
|
||||
ns3_module_v4ping.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_v4ping__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_v4ping__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_v4ping')
|
||||
root_module.begin_section('ns3_module_virtual_net_device')
|
||||
ns3_module_virtual_net_device.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_virtual_net_device__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_virtual_net_device__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_virtual_net_device')
|
||||
root_module.begin_section('ns3_module_packet_sink')
|
||||
ns3_module_packet_sink.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_packet_sink__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_packet_sink__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_packet_sink')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.begin_section('ns3_module_stats')
|
||||
ns3_module_stats.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_stats__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_stats__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_stats')
|
||||
root_module.begin_section('ns3_module_list_routing')
|
||||
ns3_module_list_routing.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_list_routing__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_list_routing__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_list_routing')
|
||||
root_module.begin_section('ns3_module_emu')
|
||||
ns3_module_emu.register_functions(root_module)
|
||||
|
||||
@@ -1012,17 +1012,17 @@ def register_functions(root_module):
|
||||
ns3_module_bridge__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_bridge')
|
||||
root_module.begin_section('ns3_module_global_routing')
|
||||
ns3_module_global_routing.register_functions(root_module)
|
||||
root_module.begin_section('ns3_module_onoff')
|
||||
ns3_module_onoff.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_global_routing__local
|
||||
import ns3_module_onoff__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_global_routing__local.register_functions(root_module)
|
||||
ns3_module_onoff__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_global_routing')
|
||||
root_module.end_section('ns3_module_onoff')
|
||||
root_module.begin_section('ns3_module_udp_echo')
|
||||
ns3_module_udp_echo.register_functions(root_module)
|
||||
|
||||
@@ -1034,28 +1034,6 @@ def register_functions(root_module):
|
||||
ns3_module_udp_echo__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_udp_echo')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_ping6')
|
||||
ns3_module_ping6.register_functions(root_module)
|
||||
|
||||
@@ -1067,6 +1045,17 @@ def register_functions(root_module):
|
||||
ns3_module_ping6__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_ping6')
|
||||
root_module.begin_section('ns3_module_olsr')
|
||||
ns3_module_olsr.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_olsr__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_olsr__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_olsr')
|
||||
root_module.begin_section('ns3_module_flow_monitor')
|
||||
ns3_module_flow_monitor.register_functions(root_module)
|
||||
|
||||
@@ -1078,6 +1067,17 @@ def register_functions(root_module):
|
||||
ns3_module_flow_monitor__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_flow_monitor')
|
||||
root_module.begin_section('ns3_module_radvd')
|
||||
ns3_module_radvd.register_functions(root_module)
|
||||
|
||||
try:
|
||||
import ns3_module_radvd__local
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
ns3_module_radvd__local.register_functions(root_module)
|
||||
|
||||
root_module.end_section('ns3_module_radvd')
|
||||
root_module.begin_section('ns3_module_mesh')
|
||||
ns3_module_mesh.register_functions(root_module)
|
||||
|
||||
|
||||
Reference in new issue
Block a user