bindings/python/ns3_module_global_routing.py
changeset 3468 0bb5275704fc
parent 3457 2ff6f05b9467
child 3544 3685ab98e4b2
equal deleted inserted replaced
3467:351f5847dda5 3468:0bb5275704fc
     1 from pybindgen import Module, FileCodeSink, write_preamble, param, retval
     1 from pybindgen import Module, FileCodeSink, param, retval, cppclass
     2 
     2 
     3 def register_types(module):
     3 def register_types(module):
     4     root_module = module.get_root()
     4     root_module = module.get_root()
     5     
     5     
     6     ## global-route-manager.h: ns3::GlobalRouteManager [class]
     6     ## global-route-manager.h: ns3::GlobalRouteManager [class]
    65     register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter'])
    65     register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter'])
    66     return
    66     return
    67 
    67 
    68 def register_Ns3GlobalRouteManager_methods(root_module, cls):
    68 def register_Ns3GlobalRouteManager_methods(root_module, cls):
    69     ## global-route-manager.h: static void ns3::GlobalRouteManager::PopulateRoutingTables() [member function]
    69     ## global-route-manager.h: static void ns3::GlobalRouteManager::PopulateRoutingTables() [member function]
    70     cls.add_method('PopulateRoutingTables', 'void', [], is_static=True)
    70     cls.add_method('PopulateRoutingTables', 
       
    71                    'void', 
       
    72                    [], 
       
    73                    is_static=True)
    71     ## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function]
    74     ## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function]
    72     cls.add_method('AllocateRouterId', 'uint32_t', [], is_static=True)
    75     cls.add_method('AllocateRouterId', 
       
    76                    'uint32_t', 
       
    77                    [], 
       
    78                    is_static=True)
    73     return
    79     return
    74 
    80 
    75 def register_Ns3GlobalRoutingLSA_methods(root_module, cls):
    81 def register_Ns3GlobalRoutingLSA_methods(root_module, cls):
    76     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor]
    82     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor]
    77     cls.add_constructor([], visibility='public')
    83     cls.add_constructor([])
    78     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor]
    84     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor]
    79     cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')], visibility='public')
    85     cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')])
    80     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor]
    86     ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor]
    81     cls.add_constructor([param('ns3::GlobalRoutingLSA&', 'lsa')], visibility='public')
    87     cls.add_constructor([param('ns3::GlobalRoutingLSA&', 'lsa')])
    82     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function]
    88     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function]
    83     cls.add_method('AddAttachedRouter', 'uint32_t', [param('ns3::Ipv4Address', 'addr')])
    89     cls.add_method('AddAttachedRouter', 
       
    90                    'uint32_t', 
       
    91                    [param('ns3::Ipv4Address', 'addr')])
    84     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function]
    92     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function]
    85     cls.add_method('AddLinkRecord', 'uint32_t', [param('ns3::GlobalRoutingLinkRecord *', 'lr')])
    93     cls.add_method('AddLinkRecord', 
       
    94                    'uint32_t', 
       
    95                    [param('ns3::GlobalRoutingLinkRecord *', 'lr')])
    86     ## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function]
    96     ## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function]
    87     cls.add_method('ClearLinkRecords', 'void', [])
    97     cls.add_method('ClearLinkRecords', 
       
    98                    'void', 
       
    99                    [])
    88     ## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function]
   100     ## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function]
    89     cls.add_method('CopyLinkRecords', 'void', [param('ns3::GlobalRoutingLSA&', 'lsa', is_const=True)])
   101     cls.add_method('CopyLinkRecords', 
       
   102                    'void', 
       
   103                    [param('ns3::GlobalRoutingLSA&', 'lsa', is_const=True)])
    90     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function]
   104     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function]
    91     cls.add_method('GetAdvertisingRouter', 'ns3::Ipv4Address', [], is_const=True)
   105     cls.add_method('GetAdvertisingRouter', 
       
   106                    'ns3::Ipv4Address', 
       
   107                    [], 
       
   108                    is_const=True)
    92     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function]
   109     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function]
    93     cls.add_method('GetAttachedRouter', 'ns3::Ipv4Address', [param('uint32_t', 'n')], is_const=True)
   110     cls.add_method('GetAttachedRouter', 
       
   111                    'ns3::Ipv4Address', 
       
   112                    [param('uint32_t', 'n')], 
       
   113                    is_const=True)
    94     ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function]
   114     ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function]
    95     cls.add_method('GetLSType', 'ns3::GlobalRoutingLSA::LSType', [], is_const=True)
   115     cls.add_method('GetLSType', 
       
   116                    'ns3::GlobalRoutingLSA::LSType', 
       
   117                    [], 
       
   118                    is_const=True)
    96     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function]
   119     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function]
    97     cls.add_method('GetLinkRecord', 'ns3::GlobalRoutingLinkRecord *', [param('uint32_t', 'n')], is_const=True)
   120     cls.add_method('GetLinkRecord', 
       
   121                    'ns3::GlobalRoutingLinkRecord *', 
       
   122                    [param('uint32_t', 'n')], 
       
   123                    is_const=True)
    98     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function]
   124     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function]
    99     cls.add_method('GetLinkStateId', 'ns3::Ipv4Address', [], is_const=True)
   125     cls.add_method('GetLinkStateId', 
       
   126                    'ns3::Ipv4Address', 
       
   127                    [], 
       
   128                    is_const=True)
   100     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function]
   129     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function]
   101     cls.add_method('GetNAttachedRouters', 'uint32_t', [], is_const=True)
   130     cls.add_method('GetNAttachedRouters', 
       
   131                    'uint32_t', 
       
   132                    [], 
       
   133                    is_const=True)
   102     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function]
   134     ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function]
   103     cls.add_method('GetNLinkRecords', 'uint32_t', [], is_const=True)
   135     cls.add_method('GetNLinkRecords', 
       
   136                    'uint32_t', 
       
   137                    [], 
       
   138                    is_const=True)
   104     ## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function]
   139     ## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function]
   105     cls.add_method('GetNetworkLSANetworkMask', 'ns3::Ipv4Mask', [], is_const=True)
   140     cls.add_method('GetNetworkLSANetworkMask', 
       
   141                    'ns3::Ipv4Mask', 
       
   142                    [], 
       
   143                    is_const=True)
   106     ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function]
   144     ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function]
   107     cls.add_method('GetStatus', 'ns3::GlobalRoutingLSA::SPFStatus', [], is_const=True)
   145     cls.add_method('GetStatus', 
       
   146                    'ns3::GlobalRoutingLSA::SPFStatus', 
       
   147                    [], 
       
   148                    is_const=True)
   108     ## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function]
   149     ## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function]
   109     cls.add_method('IsEmpty', 'bool', [], is_const=True)
   150     cls.add_method('IsEmpty', 
       
   151                    'bool', 
       
   152                    [], 
       
   153                    is_const=True)
   110     ## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function]
   154     ## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function]
   111     cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True)
   155     cls.add_method('Print', 
       
   156                    'void', 
       
   157                    [param('std::ostream&', 'os')], 
       
   158                    is_const=True)
   112     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function]
   159     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function]
   113     cls.add_method('SetAdvertisingRouter', 'void', [param('ns3::Ipv4Address', 'rtr')])
   160     cls.add_method('SetAdvertisingRouter', 
       
   161                    'void', 
       
   162                    [param('ns3::Ipv4Address', 'rtr')])
   114     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function]
   163     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function]
   115     cls.add_method('SetLSType', 'void', [param('ns3::GlobalRoutingLSA::LSType', 'typ')])
   164     cls.add_method('SetLSType', 
       
   165                    'void', 
       
   166                    [param('ns3::GlobalRoutingLSA::LSType', 'typ')])
   116     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function]
   167     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function]
   117     cls.add_method('SetLinkStateId', 'void', [param('ns3::Ipv4Address', 'addr')])
   168     cls.add_method('SetLinkStateId', 
       
   169                    'void', 
       
   170                    [param('ns3::Ipv4Address', 'addr')])
   118     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function]
   171     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function]
   119     cls.add_method('SetNetworkLSANetworkMask', 'void', [param('ns3::Ipv4Mask', 'mask')])
   172     cls.add_method('SetNetworkLSANetworkMask', 
       
   173                    'void', 
       
   174                    [param('ns3::Ipv4Mask', 'mask')])
   120     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function]
   175     ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function]
   121     cls.add_method('SetStatus', 'void', [param('ns3::GlobalRoutingLSA::SPFStatus', 'status')])
   176     cls.add_method('SetStatus', 
       
   177                    'void', 
       
   178                    [param('ns3::GlobalRoutingLSA::SPFStatus', 'status')])
   122     cls.add_output_stream_operator()
   179     cls.add_output_stream_operator()
   123     return
   180     return
   124 
   181 
   125 def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls):
   182 def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls):
   126     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor]
   183     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor]
   127     cls.add_constructor([], visibility='public')
   184     cls.add_constructor([])
   128     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor]
   185     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor]
   129     cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')], visibility='public')
   186     cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')])
   130     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function]
   187     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function]
   131     cls.add_method('GetLinkId', 'ns3::Ipv4Address', [], is_const=True)
   188     cls.add_method('GetLinkId', 
       
   189                    'ns3::Ipv4Address', 
       
   190                    [], 
       
   191                    is_const=True)
   132     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function]
   192     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function]
   133     cls.add_method('SetLinkId', 'void', [param('ns3::Ipv4Address', 'addr')])
   193     cls.add_method('SetLinkId', 
       
   194                    'void', 
       
   195                    [param('ns3::Ipv4Address', 'addr')])
   134     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function]
   196     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function]
   135     cls.add_method('GetLinkData', 'ns3::Ipv4Address', [], is_const=True)
   197     cls.add_method('GetLinkData', 
       
   198                    'ns3::Ipv4Address', 
       
   199                    [], 
       
   200                    is_const=True)
   136     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function]
   201     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function]
   137     cls.add_method('SetLinkData', 'void', [param('ns3::Ipv4Address', 'addr')])
   202     cls.add_method('SetLinkData', 
       
   203                    'void', 
       
   204                    [param('ns3::Ipv4Address', 'addr')])
   138     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function]
   205     ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function]
   139     cls.add_method('GetLinkType', 'ns3::GlobalRoutingLinkRecord::LinkType', [], is_const=True)
   206     cls.add_method('GetLinkType', 
       
   207                    'ns3::GlobalRoutingLinkRecord::LinkType', 
       
   208                    [], 
       
   209                    is_const=True)
   140     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function]
   210     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function]
   141     cls.add_method('SetLinkType', 'void', [param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')])
   211     cls.add_method('SetLinkType', 
       
   212                    'void', 
       
   213                    [param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')])
   142     ## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function]
   214     ## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function]
   143     cls.add_method('GetMetric', 'uint16_t', [], is_const=True)
   215     cls.add_method('GetMetric', 
       
   216                    'uint16_t', 
       
   217                    [], 
       
   218                    is_const=True)
   144     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function]
   219     ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function]
   145     cls.add_method('SetMetric', 'void', [param('uint16_t', 'metric')])
   220     cls.add_method('SetMetric', 
       
   221                    'void', 
       
   222                    [param('uint16_t', 'metric')])
   146     return
   223     return
   147 
   224 
   148 def register_Ns3GlobalRouter_methods(root_module, cls):
   225 def register_Ns3GlobalRouter_methods(root_module, cls):
   149     ## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function]
   226     ## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function]
   150     cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
   227     cls.add_method('GetTypeId', 
       
   228                    'ns3::TypeId', 
       
   229                    [], 
       
   230                    is_static=True)
   151     ## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor]
   231     ## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor]
   152     cls.add_constructor([], visibility='public')
   232     cls.add_constructor([])
   153     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function]
   233     ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function]
   154     cls.add_method('GetRouterId', 'ns3::Ipv4Address', [], is_const=True)
   234     cls.add_method('GetRouterId', 
       
   235                    'ns3::Ipv4Address', 
       
   236                    [], 
       
   237                    is_const=True)
   155     ## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function]
   238     ## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function]
   156     cls.add_method('DiscoverLSAs', 'uint32_t', [])
   239     cls.add_method('DiscoverLSAs', 
       
   240                    'uint32_t', 
       
   241                    [])
   157     ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function]
   242     ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function]
   158     cls.add_method('GetNumLSAs', 'uint32_t', [], is_const=True)
   243     cls.add_method('GetNumLSAs', 
       
   244                    'uint32_t', 
       
   245                    [], 
       
   246                    is_const=True)
   159     ## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function]
   247     ## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function]
   160     cls.add_method('GetLSA', 'bool', [param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA&', 'lsa')], is_const=True)
   248     cls.add_method('GetLSA', 
       
   249                    'bool', 
       
   250                    [param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA&', 'lsa')], 
       
   251                    is_const=True)
   161     ## global-router-interface.h: void ns3::GlobalRouter::DoDispose() [member function]
   252     ## global-router-interface.h: void ns3::GlobalRouter::DoDispose() [member function]
   162     cls.add_method('DoDispose', 'void', [], visibility='private', is_virtual=True)
   253     cls.add_method('DoDispose', 
       
   254                    'void', 
       
   255                    [], 
       
   256                    visibility='private', is_virtual=True)
   163     return
   257     return
   164 
   258 
   165 def register_functions(root_module):
   259 def register_functions(root_module):
   166     module = root_module
   260     module = root_module
   167     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   261     register_functions_ns3_internal(module.get_submodule('internal'), root_module)