Example #1
0
def register_functions(root_module):
    module = root_module
    root_module.begin_section('ns3_module_core')
    ns3_module_core.register_functions(root_module)
    
    try:
        import ns3_module_core__local
    except ImportError:
        pass
    else:
        ns3_module_core__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_core')
    root_module.begin_section('ns3_module_core_test')
    ns3_module_core_test.register_functions(root_module)
    
    try:
        import ns3_module_core_test__local
    except ImportError:
        pass
    else:
        ns3_module_core_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_core_test')
    root_module.begin_section('ns3_module_network')
    ns3_module_network.register_functions(root_module)
    
    try:
        import ns3_module_network__local
    except ImportError:
        pass
    else:
        ns3_module_network__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_network')
    root_module.begin_section('ns3_module_visualizer')
    ns3_module_visualizer.register_functions(root_module)
    
    try:
        import ns3_module_visualizer__local
    except ImportError:
        pass
    else:
        ns3_module_visualizer__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_visualizer')
    root_module.begin_section('ns3_module_bridge')
    ns3_module_bridge.register_functions(root_module)
    
    try:
        import ns3_module_bridge__local
    except ImportError:
        pass
    else:
        ns3_module_bridge__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_bridge')
    root_module.begin_section('ns3_module_config_store')
    ns3_module_config_store.register_functions(root_module)
    
    try:
        import ns3_module_config_store__local
    except ImportError:
        pass
    else:
        ns3_module_config_store__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_config_store')
    root_module.begin_section('ns3_module_emu')
    ns3_module_emu.register_functions(root_module)
    
    try:
        import ns3_module_emu__local
    except ImportError:
        pass
    else:
        ns3_module_emu__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_emu')
    root_module.begin_section('ns3_module_mobility')
    ns3_module_mobility.register_functions(root_module)
    
    try:
        import ns3_module_mobility__local
    except ImportError:
        pass
    else:
        ns3_module_mobility__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mobility')
    root_module.begin_section('ns3_module_mpi')
    ns3_module_mpi.register_functions(root_module)
    
    try:
        import ns3_module_mpi__local
    except ImportError:
        pass
    else:
        ns3_module_mpi__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mpi')
    root_module.begin_section('ns3_module_network_test')
    ns3_module_network_test.register_functions(root_module)
    
    try:
        import ns3_module_network_test__local
    except ImportError:
        pass
    else:
        ns3_module_network_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_network_test')
    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_tools')
    ns3_module_tools.register_functions(root_module)
    
    try:
        import ns3_module_tools__local
    except ImportError:
        pass
    else:
        ns3_module_tools__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_tools')
    root_module.begin_section('ns3_module_topology_read')
    ns3_module_topology_read.register_functions(root_module)
    
    try:
        import ns3_module_topology_read__local
    except ImportError:
        pass
    else:
        ns3_module_topology_read__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_topology_read')
    root_module.begin_section('ns3_module_propagation')
    ns3_module_propagation.register_functions(root_module)
    
    try:
        import ns3_module_propagation__local
    except ImportError:
        pass
    else:
        ns3_module_propagation__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_propagation')
    root_module.begin_section('ns3_module_internet')
    ns3_module_internet.register_functions(root_module)
    
    try:
        import ns3_module_internet__local
    except ImportError:
        pass
    else:
        ns3_module_internet__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_internet')
    root_module.begin_section('ns3_module_point_to_point')
    ns3_module_point_to_point.register_functions(root_module)
    
    try:
        import ns3_module_point_to_point__local
    except ImportError:
        pass
    else:
        ns3_module_point_to_point__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_point_to_point')
    root_module.begin_section('ns3_module_flow_monitor')
    ns3_module_flow_monitor.register_functions(root_module)
    
    try:
        import ns3_module_flow_monitor__local
    except ImportError:
        pass
    else:
        ns3_module_flow_monitor__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_flow_monitor')
    root_module.begin_section('ns3_module_wifi')
    ns3_module_wifi.register_functions(root_module)
    
    try:
        import ns3_module_wifi__local
    except ImportError:
        pass
    else:
        ns3_module_wifi__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_wifi')
    root_module.begin_section('ns3_module_applications')
    ns3_module_applications.register_functions(root_module)
    
    try:
        import ns3_module_applications__local
    except ImportError:
        pass
    else:
        ns3_module_applications__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_applications')
    root_module.begin_section('ns3_module_click')
    ns3_module_click.register_functions(root_module)
    
    try:
        import ns3_module_click__local
    except ImportError:
        pass
    else:
        ns3_module_click__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_click')
    root_module.begin_section('ns3_module_nix_vector_routing')
    ns3_module_nix_vector_routing.register_functions(root_module)
    
    try:
        import ns3_module_nix_vector_routing__local
    except ImportError:
        pass
    else:
        ns3_module_nix_vector_routing__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_nix_vector_routing')
    root_module.begin_section('ns3_module_openflow')
    ns3_module_openflow.register_functions(root_module)
    
    try:
        import ns3_module_openflow__local
    except ImportError:
        pass
    else:
        ns3_module_openflow__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_openflow')
    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_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_netanim')
    ns3_module_netanim.register_functions(root_module)
    
    try:
        import ns3_module_netanim__local
    except ImportError:
        pass
    else:
        ns3_module_netanim__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_netanim')
    root_module.begin_section('ns3_module_energy')
    ns3_module_energy.register_functions(root_module)
    
    try:
        import ns3_module_energy__local
    except ImportError:
        pass
    else:
        ns3_module_energy__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_energy')
    root_module.begin_section('ns3_module_mesh')
    ns3_module_mesh.register_functions(root_module)
    
    try:
        import ns3_module_mesh__local
    except ImportError:
        pass
    else:
        ns3_module_mesh__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mesh')
    root_module.begin_section('ns3_module_ns3wifi')
    ns3_module_ns3wifi.register_functions(root_module)
    
    try:
        import ns3_module_ns3wifi__local
    except ImportError:
        pass
    else:
        ns3_module_ns3wifi__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_ns3wifi')
    root_module.begin_section('ns3_module_spectrum')
    ns3_module_spectrum.register_functions(root_module)
    
    try:
        import ns3_module_spectrum__local
    except ImportError:
        pass
    else:
        ns3_module_spectrum__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_spectrum')
    root_module.begin_section('ns3_module_csma')
    ns3_module_csma.register_functions(root_module)
    
    try:
        import ns3_module_csma__local
    except ImportError:
        pass
    else:
        ns3_module_csma__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_csma')
    root_module.begin_section('ns3_module_uan')
    ns3_module_uan.register_functions(root_module)
    
    try:
        import ns3_module_uan__local
    except ImportError:
        pass
    else:
        ns3_module_uan__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_uan')
    root_module.begin_section('ns3_module_aodv')
    ns3_module_aodv.register_functions(root_module)
    
    try:
        import ns3_module_aodv__local
    except ImportError:
        pass
    else:
        ns3_module_aodv__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_aodv')
    root_module.begin_section('ns3_module_dsdv')
    ns3_module_dsdv.register_functions(root_module)
    
    try:
        import ns3_module_dsdv__local
    except ImportError:
        pass
    else:
        ns3_module_dsdv__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_dsdv')
    root_module.begin_section('ns3_module_ns3wifi_test')
    ns3_module_ns3wifi_test.register_functions(root_module)
    
    try:
        import ns3_module_ns3wifi_test__local
    except ImportError:
        pass
    else:
        ns3_module_ns3wifi_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_ns3wifi_test')
    root_module.begin_section('ns3_module_wimax')
    ns3_module_wimax.register_functions(root_module)
    
    try:
        import ns3_module_wimax__local
    except ImportError:
        pass
    else:
        ns3_module_wimax__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_wimax')
    root_module.begin_section('ns3_module_ns3tcp')
    ns3_module_ns3tcp.register_functions(root_module)
    
    try:
        import ns3_module_ns3tcp__local
    except ImportError:
        pass
    else:
        ns3_module_ns3tcp__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_ns3tcp')
    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_test')
    ns3_module_test.register_functions(root_module)
    
    try:
        import ns3_module_test__local
    except ImportError:
        pass
    else:
        ns3_module_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_test')
    root_module.begin_section('ns3_module_lte')
    ns3_module_lte.register_functions(root_module)
    
    try:
        import ns3_module_lte__local
    except ImportError:
        pass
    else:
        ns3_module_lte__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_lte')
    root_module.begin_section('ns3_module_ns3tcp_test')
    ns3_module_ns3tcp_test.register_functions(root_module)
    
    try:
        import ns3_module_ns3tcp_test__local
    except ImportError:
        pass
    else:
        ns3_module_ns3tcp_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_ns3tcp_test')
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
    register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module)
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
    return
def register_functions(root_module):
    module = root_module
    root_module.begin_section('ns3_module_core')
    ns3_module_core.register_functions(root_module)

    try:
        import ns3_module_core__local
    except ImportError:
        pass
    else:
        ns3_module_core__local.register_functions(root_module)

    root_module.end_section('ns3_module_core')
    root_module.begin_section('ns3_module_network')
    ns3_module_network.register_functions(root_module)

    try:
        import ns3_module_network__local
    except ImportError:
        pass
    else:
        ns3_module_network__local.register_functions(root_module)

    root_module.end_section('ns3_module_network')
    root_module.begin_section('ns3_module_bridge')
    ns3_module_bridge.register_functions(root_module)

    try:
        import ns3_module_bridge__local
    except ImportError:
        pass
    else:
        ns3_module_bridge__local.register_functions(root_module)

    root_module.end_section('ns3_module_bridge')
    root_module.begin_section('ns3_module_config_store')
    ns3_module_config_store.register_functions(root_module)

    try:
        import ns3_module_config_store__local
    except ImportError:
        pass
    else:
        ns3_module_config_store__local.register_functions(root_module)

    root_module.end_section('ns3_module_config_store')
    root_module.begin_section('ns3_module_emu')
    ns3_module_emu.register_functions(root_module)

    try:
        import ns3_module_emu__local
    except ImportError:
        pass
    else:
        ns3_module_emu__local.register_functions(root_module)

    root_module.end_section('ns3_module_emu')
    root_module.begin_section('ns3_module_mobility')
    ns3_module_mobility.register_functions(root_module)

    try:
        import ns3_module_mobility__local
    except ImportError:
        pass
    else:
        ns3_module_mobility__local.register_functions(root_module)

    root_module.end_section('ns3_module_mobility')
    root_module.begin_section('ns3_module_mpi')
    ns3_module_mpi.register_functions(root_module)

    try:
        import ns3_module_mpi__local
    except ImportError:
        pass
    else:
        ns3_module_mpi__local.register_functions(root_module)

    root_module.end_section('ns3_module_mpi')
    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_tools')
    ns3_module_tools.register_functions(root_module)

    try:
        import ns3_module_tools__local
    except ImportError:
        pass
    else:
        ns3_module_tools__local.register_functions(root_module)

    root_module.end_section('ns3_module_tools')
    root_module.begin_section('ns3_module_topology_read')
    ns3_module_topology_read.register_functions(root_module)

    try:
        import ns3_module_topology_read__local
    except ImportError:
        pass
    else:
        ns3_module_topology_read__local.register_functions(root_module)

    root_module.end_section('ns3_module_topology_read')
    root_module.begin_section('ns3_module_propagation')
    ns3_module_propagation.register_functions(root_module)

    try:
        import ns3_module_propagation__local
    except ImportError:
        pass
    else:
        ns3_module_propagation__local.register_functions(root_module)

    root_module.end_section('ns3_module_propagation')
    root_module.begin_section('ns3_module_internet')
    ns3_module_internet.register_functions(root_module)

    try:
        import ns3_module_internet__local
    except ImportError:
        pass
    else:
        ns3_module_internet__local.register_functions(root_module)

    root_module.end_section('ns3_module_internet')
    root_module.begin_section('ns3_module_point_to_point')
    ns3_module_point_to_point.register_functions(root_module)

    try:
        import ns3_module_point_to_point__local
    except ImportError:
        pass
    else:
        ns3_module_point_to_point__local.register_functions(root_module)

    root_module.end_section('ns3_module_point_to_point')
    root_module.begin_section('ns3_module_wifi')
    ns3_module_wifi.register_functions(root_module)

    try:
        import ns3_module_wifi__local
    except ImportError:
        pass
    else:
        ns3_module_wifi__local.register_functions(root_module)

    root_module.end_section('ns3_module_wifi')
    root_module.begin_section('ns3_module_applications')
    ns3_module_applications.register_functions(root_module)

    try:
        import ns3_module_applications__local
    except ImportError:
        pass
    else:
        ns3_module_applications__local.register_functions(root_module)

    root_module.end_section('ns3_module_applications')
    root_module.begin_section('ns3_module_click')
    ns3_module_click.register_functions(root_module)

    try:
        import ns3_module_click__local
    except ImportError:
        pass
    else:
        ns3_module_click__local.register_functions(root_module)

    root_module.end_section('ns3_module_click')
    root_module.begin_section('ns3_module_flow_monitor')
    ns3_module_flow_monitor.register_functions(root_module)

    try:
        import ns3_module_flow_monitor__local
    except ImportError:
        pass
    else:
        ns3_module_flow_monitor__local.register_functions(root_module)

    root_module.end_section('ns3_module_flow_monitor')
    root_module.begin_section('ns3_module_nix_vector_routing')
    ns3_module_nix_vector_routing.register_functions(root_module)

    try:
        import ns3_module_nix_vector_routing__local
    except ImportError:
        pass
    else:
        ns3_module_nix_vector_routing__local.register_functions(root_module)

    root_module.end_section('ns3_module_nix_vector_routing')
    root_module.begin_section('ns3_module_openflow')
    ns3_module_openflow.register_functions(root_module)

    try:
        import ns3_module_openflow__local
    except ImportError:
        pass
    else:
        ns3_module_openflow__local.register_functions(root_module)

    root_module.end_section('ns3_module_openflow')
    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_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_netanim')
    ns3_module_netanim.register_functions(root_module)

    try:
        import ns3_module_netanim__local
    except ImportError:
        pass
    else:
        ns3_module_netanim__local.register_functions(root_module)

    root_module.end_section('ns3_module_netanim')
    root_module.begin_section('ns3_module_energy')
    ns3_module_energy.register_functions(root_module)

    try:
        import ns3_module_energy__local
    except ImportError:
        pass
    else:
        ns3_module_energy__local.register_functions(root_module)

    root_module.end_section('ns3_module_energy')
    root_module.begin_section('ns3_module_visualizer')
    ns3_module_visualizer.register_functions(root_module)

    try:
        import ns3_module_visualizer__local
    except ImportError:
        pass
    else:
        ns3_module_visualizer__local.register_functions(root_module)

    root_module.end_section('ns3_module_visualizer')
    root_module.begin_section('ns3_module_mesh')
    ns3_module_mesh.register_functions(root_module)

    try:
        import ns3_module_mesh__local
    except ImportError:
        pass
    else:
        ns3_module_mesh__local.register_functions(root_module)

    root_module.end_section('ns3_module_mesh')
    root_module.begin_section('ns3_module_ns3wifi')
    ns3_module_ns3wifi.register_functions(root_module)

    try:
        import ns3_module_ns3wifi__local
    except ImportError:
        pass
    else:
        ns3_module_ns3wifi__local.register_functions(root_module)

    root_module.end_section('ns3_module_ns3wifi')
    root_module.begin_section('ns3_module_spectrum')
    ns3_module_spectrum.register_functions(root_module)

    try:
        import ns3_module_spectrum__local
    except ImportError:
        pass
    else:
        ns3_module_spectrum__local.register_functions(root_module)

    root_module.end_section('ns3_module_spectrum')
    root_module.begin_section('ns3_module_csma')
    ns3_module_csma.register_functions(root_module)

    try:
        import ns3_module_csma__local
    except ImportError:
        pass
    else:
        ns3_module_csma__local.register_functions(root_module)

    root_module.end_section('ns3_module_csma')
    root_module.begin_section('ns3_module_uan')
    ns3_module_uan.register_functions(root_module)

    try:
        import ns3_module_uan__local
    except ImportError:
        pass
    else:
        ns3_module_uan__local.register_functions(root_module)

    root_module.end_section('ns3_module_uan')
    root_module.begin_section('ns3_module_aodv')
    ns3_module_aodv.register_functions(root_module)

    try:
        import ns3_module_aodv__local
    except ImportError:
        pass
    else:
        ns3_module_aodv__local.register_functions(root_module)

    root_module.end_section('ns3_module_aodv')
    root_module.begin_section('ns3_module_dsdv')
    ns3_module_dsdv.register_functions(root_module)

    try:
        import ns3_module_dsdv__local
    except ImportError:
        pass
    else:
        ns3_module_dsdv__local.register_functions(root_module)

    root_module.end_section('ns3_module_dsdv')
    root_module.begin_section('ns3_module_wimax')
    ns3_module_wimax.register_functions(root_module)

    try:
        import ns3_module_wimax__local
    except ImportError:
        pass
    else:
        ns3_module_wimax__local.register_functions(root_module)

    root_module.end_section('ns3_module_wimax')
    root_module.begin_section('ns3_module_ns3tcp')
    ns3_module_ns3tcp.register_functions(root_module)

    try:
        import ns3_module_ns3tcp__local
    except ImportError:
        pass
    else:
        ns3_module_ns3tcp__local.register_functions(root_module)

    root_module.end_section('ns3_module_ns3tcp')
    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_lte')
    ns3_module_lte.register_functions(root_module)

    try:
        import ns3_module_lte__local
    except ImportError:
        pass
    else:
        ns3_module_lte__local.register_functions(root_module)

    root_module.end_section('ns3_module_lte')
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'),
                                     root_module)
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'),
                                        root_module)
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
    register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module)
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
    register_functions_ns3_internal(module.get_submodule('internal'),
                                    root_module)
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
    return
def register_functions(root_module):
    module = root_module
    root_module.begin_section('ns3_module_core')
    ns3_module_core.register_functions(root_module)
    
    try:
        import ns3_module_core__local
    except ImportError:
        pass
    else:
        ns3_module_core__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_core')
    root_module.begin_section('ns3_module_simulator')
    ns3_module_simulator.register_functions(root_module)
    
    try:
        import ns3_module_simulator__local
    except ImportError:
        pass
    else:
        ns3_module_simulator__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_simulator')
    root_module.begin_section('ns3_module_test')
    ns3_module_test.register_functions(root_module)
    
    try:
        import ns3_module_test__local
    except ImportError:
        pass
    else:
        ns3_module_test__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_test')
    root_module.begin_section('ns3_module_common')
    ns3_module_common.register_functions(root_module)
    
    try:
        import ns3_module_common__local
    except ImportError:
        pass
    else:
        ns3_module_common__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_common')
    root_module.begin_section('ns3_module_mobility')
    ns3_module_mobility.register_functions(root_module)
    
    try:
        import ns3_module_mobility__local
    except ImportError:
        pass
    else:
        ns3_module_mobility__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mobility')
    root_module.begin_section('ns3_module_mpi')
    ns3_module_mpi.register_functions(root_module)
    
    try:
        import ns3_module_mpi__local
    except ImportError:
        pass
    else:
        ns3_module_mpi__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mpi')
    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)
    
    try:
        import ns3_module_node__local
    except ImportError:
        pass
    else:
        ns3_module_node__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_node')
    root_module.begin_section('ns3_module_bridge')
    ns3_module_bridge.register_functions(root_module)
    
    try:
        import ns3_module_bridge__local
    except ImportError:
        pass
    else:
        ns3_module_bridge__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_bridge')
    root_module.begin_section('ns3_module_csma')
    ns3_module_csma.register_functions(root_module)
    
    try:
        import ns3_module_csma__local
    except ImportError:
        pass
    else:
        ns3_module_csma__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_csma')
    root_module.begin_section('ns3_module_emu')
    ns3_module_emu.register_functions(root_module)
    
    try:
        import ns3_module_emu__local
    except ImportError:
        pass
    else:
        ns3_module_emu__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_emu')
    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_internet_stack')
    ns3_module_internet_stack.register_functions(root_module)
    
    try:
        import ns3_module_internet_stack__local
    except ImportError:
        pass
    else:
        ns3_module_internet_stack__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_internet_stack')
    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_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.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_point_to_point')
    ns3_module_point_to_point.register_functions(root_module)
    
    try:
        import ns3_module_point_to_point__local
    except ImportError:
        pass
    else:
        ns3_module_point_to_point__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_point_to_point')
    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_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_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_topology_read')
    ns3_module_topology_read.register_functions(root_module)
    
    try:
        import ns3_module_topology_read__local
    except ImportError:
        pass
    else:
        ns3_module_topology_read__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_topology_read')
    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_wifi')
    ns3_module_wifi.register_functions(root_module)
    
    try:
        import ns3_module_wifi__local
    except ImportError:
        pass
    else:
        ns3_module_wifi__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_wifi')
    root_module.begin_section('ns3_module_wimax')
    ns3_module_wimax.register_functions(root_module)
    
    try:
        import ns3_module_wimax__local
    except ImportError:
        pass
    else:
        ns3_module_wimax__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_wimax')
    root_module.begin_section('ns3_module_aodv')
    ns3_module_aodv.register_functions(root_module)
    
    try:
        import ns3_module_aodv__local
    except ImportError:
        pass
    else:
        ns3_module_aodv__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_aodv')
    root_module.begin_section('ns3_module_flow_monitor')
    ns3_module_flow_monitor.register_functions(root_module)
    
    try:
        import ns3_module_flow_monitor__local
    except ImportError:
        pass
    else:
        ns3_module_flow_monitor__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_flow_monitor')
    root_module.begin_section('ns3_module_nix_vector_routing')
    ns3_module_nix_vector_routing.register_functions(root_module)
    
    try:
        import ns3_module_nix_vector_routing__local
    except ImportError:
        pass
    else:
        ns3_module_nix_vector_routing__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_nix_vector_routing')
    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_ping6')
    ns3_module_ping6.register_functions(root_module)
    
    try:
        import ns3_module_ping6__local
    except ImportError:
        pass
    else:
        ns3_module_ping6__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_ping6')
    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_udp_client_server')
    ns3_module_udp_client_server.register_functions(root_module)
    
    try:
        import ns3_module_udp_client_server__local
    except ImportError:
        pass
    else:
        ns3_module_udp_client_server__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_udp_client_server')
    root_module.begin_section('ns3_module_udp_echo')
    ns3_module_udp_echo.register_functions(root_module)
    
    try:
        import ns3_module_udp_echo__local
    except ImportError:
        pass
    else:
        ns3_module_udp_echo__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_udp_echo')
    root_module.begin_section('ns3_module_mesh')
    ns3_module_mesh.register_functions(root_module)
    
    try:
        import ns3_module_mesh__local
    except ImportError:
        pass
    else:
        ns3_module_mesh__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_mesh')
    root_module.begin_section('ns3_module_helper')
    ns3_module_helper.register_functions(root_module)
    
    try:
        import ns3_module_helper__local
    except ImportError:
        pass
    else:
        ns3_module_helper__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_helper')
    root_module.begin_section('ns3_module_dot11s')
    ns3_module_dot11s.register_functions(root_module)
    
    try:
        import ns3_module_dot11s__local
    except ImportError:
        pass
    else:
        ns3_module_dot11s__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_dot11s')
    root_module.begin_section('ns3_module_flame')
    ns3_module_flame.register_functions(root_module)
    
    try:
        import ns3_module_flame__local
    except ImportError:
        pass
    else:
        ns3_module_flame__local.register_functions(root_module)
    
    root_module.end_section('ns3_module_flame')
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
    return
def register_functions(root_module):
    module = root_module
    root_module.begin_section('ns3_module_core')
    ns3_module_core.register_functions(root_module)

    try:
        import ns3_module_core__local
    except ImportError:
        pass
    else:
        ns3_module_core__local.register_functions(root_module)

    root_module.end_section('ns3_module_core')
    root_module.begin_section('ns3_module_simulator')
    ns3_module_simulator.register_functions(root_module)

    try:
        import ns3_module_simulator__local
    except ImportError:
        pass
    else:
        ns3_module_simulator__local.register_functions(root_module)

    root_module.end_section('ns3_module_simulator')
    root_module.begin_section('ns3_module_test')
    ns3_module_test.register_functions(root_module)

    try:
        import ns3_module_test__local
    except ImportError:
        pass
    else:
        ns3_module_test__local.register_functions(root_module)

    root_module.end_section('ns3_module_test')
    root_module.begin_section('ns3_module_common')
    ns3_module_common.register_functions(root_module)

    try:
        import ns3_module_common__local
    except ImportError:
        pass
    else:
        ns3_module_common__local.register_functions(root_module)

    root_module.end_section('ns3_module_common')
    root_module.begin_section('ns3_module_mobility')
    ns3_module_mobility.register_functions(root_module)

    try:
        import ns3_module_mobility__local
    except ImportError:
        pass
    else:
        ns3_module_mobility__local.register_functions(root_module)

    root_module.end_section('ns3_module_mobility')
    root_module.begin_section('ns3_module_mpi')
    ns3_module_mpi.register_functions(root_module)

    try:
        import ns3_module_mpi__local
    except ImportError:
        pass
    else:
        ns3_module_mpi__local.register_functions(root_module)

    root_module.end_section('ns3_module_mpi')
    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)

    try:
        import ns3_module_node__local
    except ImportError:
        pass
    else:
        ns3_module_node__local.register_functions(root_module)

    root_module.end_section('ns3_module_node')
    root_module.begin_section('ns3_module_bridge')
    ns3_module_bridge.register_functions(root_module)

    try:
        import ns3_module_bridge__local
    except ImportError:
        pass
    else:
        ns3_module_bridge__local.register_functions(root_module)

    root_module.end_section('ns3_module_bridge')
    root_module.begin_section('ns3_module_csma')
    ns3_module_csma.register_functions(root_module)

    try:
        import ns3_module_csma__local
    except ImportError:
        pass
    else:
        ns3_module_csma__local.register_functions(root_module)

    root_module.end_section('ns3_module_csma')
    root_module.begin_section('ns3_module_emu')
    ns3_module_emu.register_functions(root_module)

    try:
        import ns3_module_emu__local
    except ImportError:
        pass
    else:
        ns3_module_emu__local.register_functions(root_module)

    root_module.end_section('ns3_module_emu')
    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_internet_stack')
    ns3_module_internet_stack.register_functions(root_module)

    try:
        import ns3_module_internet_stack__local
    except ImportError:
        pass
    else:
        ns3_module_internet_stack__local.register_functions(root_module)

    root_module.end_section('ns3_module_internet_stack')
    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_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.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_point_to_point')
    ns3_module_point_to_point.register_functions(root_module)

    try:
        import ns3_module_point_to_point__local
    except ImportError:
        pass
    else:
        ns3_module_point_to_point__local.register_functions(root_module)

    root_module.end_section('ns3_module_point_to_point')
    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_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_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_topology_read')
    ns3_module_topology_read.register_functions(root_module)

    try:
        import ns3_module_topology_read__local
    except ImportError:
        pass
    else:
        ns3_module_topology_read__local.register_functions(root_module)

    root_module.end_section('ns3_module_topology_read')
    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_wifi')
    ns3_module_wifi.register_functions(root_module)

    try:
        import ns3_module_wifi__local
    except ImportError:
        pass
    else:
        ns3_module_wifi__local.register_functions(root_module)

    root_module.end_section('ns3_module_wifi')
    root_module.begin_section('ns3_module_wimax')
    ns3_module_wimax.register_functions(root_module)

    try:
        import ns3_module_wimax__local
    except ImportError:
        pass
    else:
        ns3_module_wimax__local.register_functions(root_module)

    root_module.end_section('ns3_module_wimax')
    root_module.begin_section('ns3_module_aodv')
    ns3_module_aodv.register_functions(root_module)

    try:
        import ns3_module_aodv__local
    except ImportError:
        pass
    else:
        ns3_module_aodv__local.register_functions(root_module)

    root_module.end_section('ns3_module_aodv')
    root_module.begin_section('ns3_module_flow_monitor')
    ns3_module_flow_monitor.register_functions(root_module)

    try:
        import ns3_module_flow_monitor__local
    except ImportError:
        pass
    else:
        ns3_module_flow_monitor__local.register_functions(root_module)

    root_module.end_section('ns3_module_flow_monitor')
    root_module.begin_section('ns3_module_nix_vector_routing')
    ns3_module_nix_vector_routing.register_functions(root_module)

    try:
        import ns3_module_nix_vector_routing__local
    except ImportError:
        pass
    else:
        ns3_module_nix_vector_routing__local.register_functions(root_module)

    root_module.end_section('ns3_module_nix_vector_routing')
    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_ping6')
    ns3_module_ping6.register_functions(root_module)

    try:
        import ns3_module_ping6__local
    except ImportError:
        pass
    else:
        ns3_module_ping6__local.register_functions(root_module)

    root_module.end_section('ns3_module_ping6')
    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_udp_client_server')
    ns3_module_udp_client_server.register_functions(root_module)

    try:
        import ns3_module_udp_client_server__local
    except ImportError:
        pass
    else:
        ns3_module_udp_client_server__local.register_functions(root_module)

    root_module.end_section('ns3_module_udp_client_server')
    root_module.begin_section('ns3_module_udp_echo')
    ns3_module_udp_echo.register_functions(root_module)

    try:
        import ns3_module_udp_echo__local
    except ImportError:
        pass
    else:
        ns3_module_udp_echo__local.register_functions(root_module)

    root_module.end_section('ns3_module_udp_echo')
    root_module.begin_section('ns3_module_mesh')
    ns3_module_mesh.register_functions(root_module)

    try:
        import ns3_module_mesh__local
    except ImportError:
        pass
    else:
        ns3_module_mesh__local.register_functions(root_module)

    root_module.end_section('ns3_module_mesh')
    root_module.begin_section('ns3_module_helper')
    ns3_module_helper.register_functions(root_module)

    try:
        import ns3_module_helper__local
    except ImportError:
        pass
    else:
        ns3_module_helper__local.register_functions(root_module)

    root_module.end_section('ns3_module_helper')
    root_module.begin_section('ns3_module_dot11s')
    ns3_module_dot11s.register_functions(root_module)

    try:
        import ns3_module_dot11s__local
    except ImportError:
        pass
    else:
        ns3_module_dot11s__local.register_functions(root_module)

    root_module.end_section('ns3_module_dot11s')
    root_module.begin_section('ns3_module_flame')
    ns3_module_flame.register_functions(root_module)

    try:
        import ns3_module_flame__local
    except ImportError:
        pass
    else:
        ns3_module_flame__local.register_functions(root_module)

    root_module.end_section('ns3_module_flame')
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
    register_functions_ns3_TimeStepPrecision(
        module.get_submodule('TimeStepPrecision'), root_module)
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'),
                                        root_module)
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
    register_functions_ns3_internal(module.get_submodule('internal'),
                                    root_module)
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
    return
def register_functions(root_module):
    module = root_module
    root_module.begin_section("ns3_module_core")
    ns3_module_core.register_functions(root_module)

    try:
        import ns3_module_core__local
    except ImportError:
        pass
    else:
        ns3_module_core__local.register_functions(root_module)

    root_module.end_section("ns3_module_core")
    root_module.begin_section("ns3_module_simulator")
    ns3_module_simulator.register_functions(root_module)

    try:
        import ns3_module_simulator__local
    except ImportError:
        pass
    else:
        ns3_module_simulator__local.register_functions(root_module)

    root_module.end_section("ns3_module_simulator")
    root_module.begin_section("ns3_module_test")
    ns3_module_test.register_functions(root_module)

    try:
        import ns3_module_test__local
    except ImportError:
        pass
    else:
        ns3_module_test__local.register_functions(root_module)

    root_module.end_section("ns3_module_test")
    root_module.begin_section("ns3_module_common")
    ns3_module_common.register_functions(root_module)

    try:
        import ns3_module_common__local
    except ImportError:
        pass
    else:
        ns3_module_common__local.register_functions(root_module)

    root_module.end_section("ns3_module_common")
    root_module.begin_section("ns3_module_mobility")
    ns3_module_mobility.register_functions(root_module)

    try:
        import ns3_module_mobility__local
    except ImportError:
        pass
    else:
        ns3_module_mobility__local.register_functions(root_module)

    root_module.end_section("ns3_module_mobility")
    root_module.begin_section("ns3_module_mpi")
    ns3_module_mpi.register_functions(root_module)

    try:
        import ns3_module_mpi__local
    except ImportError:
        pass
    else:
        ns3_module_mpi__local.register_functions(root_module)

    root_module.end_section("ns3_module_mpi")
    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)

    try:
        import ns3_module_node__local
    except ImportError:
        pass
    else:
        ns3_module_node__local.register_functions(root_module)

    root_module.end_section("ns3_module_node")
    root_module.begin_section("ns3_module_bridge")
    ns3_module_bridge.register_functions(root_module)

    try:
        import ns3_module_bridge__local
    except ImportError:
        pass
    else:
        ns3_module_bridge__local.register_functions(root_module)

    root_module.end_section("ns3_module_bridge")
    root_module.begin_section("ns3_module_csma")
    ns3_module_csma.register_functions(root_module)

    try:
        import ns3_module_csma__local
    except ImportError:
        pass
    else:
        ns3_module_csma__local.register_functions(root_module)

    root_module.end_section("ns3_module_csma")
    root_module.begin_section("ns3_module_emu")
    ns3_module_emu.register_functions(root_module)

    try:
        import ns3_module_emu__local
    except ImportError:
        pass
    else:
        ns3_module_emu__local.register_functions(root_module)

    root_module.end_section("ns3_module_emu")
    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_internet_stack")
    ns3_module_internet_stack.register_functions(root_module)

    try:
        import ns3_module_internet_stack__local
    except ImportError:
        pass
    else:
        ns3_module_internet_stack__local.register_functions(root_module)

    root_module.end_section("ns3_module_internet_stack")
    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_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.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_point_to_point")
    ns3_module_point_to_point.register_functions(root_module)

    try:
        import ns3_module_point_to_point__local
    except ImportError:
        pass
    else:
        ns3_module_point_to_point__local.register_functions(root_module)

    root_module.end_section("ns3_module_point_to_point")
    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_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_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_topology_read")
    ns3_module_topology_read.register_functions(root_module)

    try:
        import ns3_module_topology_read__local
    except ImportError:
        pass
    else:
        ns3_module_topology_read__local.register_functions(root_module)

    root_module.end_section("ns3_module_topology_read")
    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_wifi")
    ns3_module_wifi.register_functions(root_module)

    try:
        import ns3_module_wifi__local
    except ImportError:
        pass
    else:
        ns3_module_wifi__local.register_functions(root_module)

    root_module.end_section("ns3_module_wifi")
    root_module.begin_section("ns3_module_wimax")
    ns3_module_wimax.register_functions(root_module)

    try:
        import ns3_module_wimax__local
    except ImportError:
        pass
    else:
        ns3_module_wimax__local.register_functions(root_module)

    root_module.end_section("ns3_module_wimax")
    root_module.begin_section("ns3_module_aodv")
    ns3_module_aodv.register_functions(root_module)

    try:
        import ns3_module_aodv__local
    except ImportError:
        pass
    else:
        ns3_module_aodv__local.register_functions(root_module)

    root_module.end_section("ns3_module_aodv")
    root_module.begin_section("ns3_module_flow_monitor")
    ns3_module_flow_monitor.register_functions(root_module)

    try:
        import ns3_module_flow_monitor__local
    except ImportError:
        pass
    else:
        ns3_module_flow_monitor__local.register_functions(root_module)

    root_module.end_section("ns3_module_flow_monitor")
    root_module.begin_section("ns3_module_nix_vector_routing")
    ns3_module_nix_vector_routing.register_functions(root_module)

    try:
        import ns3_module_nix_vector_routing__local
    except ImportError:
        pass
    else:
        ns3_module_nix_vector_routing__local.register_functions(root_module)

    root_module.end_section("ns3_module_nix_vector_routing")
    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_ping6")
    ns3_module_ping6.register_functions(root_module)

    try:
        import ns3_module_ping6__local
    except ImportError:
        pass
    else:
        ns3_module_ping6__local.register_functions(root_module)

    root_module.end_section("ns3_module_ping6")
    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_udp_client_server")
    ns3_module_udp_client_server.register_functions(root_module)

    try:
        import ns3_module_udp_client_server__local
    except ImportError:
        pass
    else:
        ns3_module_udp_client_server__local.register_functions(root_module)

    root_module.end_section("ns3_module_udp_client_server")
    root_module.begin_section("ns3_module_udp_echo")
    ns3_module_udp_echo.register_functions(root_module)

    try:
        import ns3_module_udp_echo__local
    except ImportError:
        pass
    else:
        ns3_module_udp_echo__local.register_functions(root_module)

    root_module.end_section("ns3_module_udp_echo")
    root_module.begin_section("ns3_module_mesh")
    ns3_module_mesh.register_functions(root_module)

    try:
        import ns3_module_mesh__local
    except ImportError:
        pass
    else:
        ns3_module_mesh__local.register_functions(root_module)

    root_module.end_section("ns3_module_mesh")
    root_module.begin_section("ns3_module_helper")
    ns3_module_helper.register_functions(root_module)

    try:
        import ns3_module_helper__local
    except ImportError:
        pass
    else:
        ns3_module_helper__local.register_functions(root_module)

    root_module.end_section("ns3_module_helper")
    root_module.begin_section("ns3_module_dot11s")
    ns3_module_dot11s.register_functions(root_module)

    try:
        import ns3_module_dot11s__local
    except ImportError:
        pass
    else:
        ns3_module_dot11s__local.register_functions(root_module)

    root_module.end_section("ns3_module_dot11s")
    root_module.begin_section("ns3_module_flame")
    ns3_module_flame.register_functions(root_module)

    try:
        import ns3_module_flame__local
    except ImportError:
        pass
    else:
        ns3_module_flame__local.register_functions(root_module)

    root_module.end_section("ns3_module_flame")
    register_functions_ns3_Config(module.get_submodule("Config"), root_module)
    register_functions_ns3_TimeStepPrecision(module.get_submodule("TimeStepPrecision"), root_module)
    register_functions_ns3_addressUtils(module.get_submodule("addressUtils"), root_module)
    register_functions_ns3_aodv(module.get_submodule("aodv"), root_module)
    register_functions_ns3_dot11s(module.get_submodule("dot11s"), root_module)
    register_functions_ns3_flame(module.get_submodule("flame"), root_module)
    register_functions_ns3_internal(module.get_submodule("internal"), root_module)
    register_functions_ns3_olsr(module.get_submodule("olsr"), root_module)
    return