daemon/core/emane/nodes.py
def buildnemxmlfiles(self, emane):
        ''' Let the configured model build the necessary nem, mac, and phy
            XMLs.
        '''
        if self.model is None:
            return
        # build XML for overall network (EmaneNode) configs
        self.model.buildnemxmlfiles(emane, ifc=None)
        # build XML for specific interface (NEM) configs
        need_virtual = False
        need_raw = False
        vtype = "virtual"
        rtype = "raw"
        for netif in self.netifs():
            self.model.buildnemxmlfiles(emane, netif)
            if "virtual" in netif.transport_type:
                need_virtual = True
                vtype = netif.transport_type
            else:
                need_raw = True
                rtype = netif.transport_type
        # build transport XML files depending on type of interfaces involved
        if need_virtual:
            self.buildtransportxml(emane, vtype)
        if need_raw:
            self.buildtransportxml(emane, rtype)
 Let the configured model build the necessary nem, mac, and phy
            XMLs.
        
Let the configured model build the necessary nem, mac, and phy
XMLs.
Let the configured model build the necessary nem mac and phy XMLs .
def buildnemxmlfiles(self, emane):
        if self.model is None:
            return
        self.model.buildnemxmlfiles(emane, ifc=None)
        need_virtual = False
        need_raw = False
        vtype = "virtual"
        rtype = "raw"
        for netif in self.netifs():
            self.model.buildnemxmlfiles(emane, netif)
            if "virtual" in netif.transport_type:
                need_virtual = True
                vtype = netif.transport_type
            else:
                need_raw = True
                rtype = netif.transport_type
        if need_virtual:
            self.buildtransportxml(emane, vtype)
        if need_raw:
            self.buildtransportxml(emane, rtype)
def buildnemxmlfiles ( self , emane ) : if self . model is None : return self . model . buildnemxmlfiles ( emane , ifc = None ) need_virtual = False need_raw = False vtype = "virtual" rtype = "raw" for netif in self . netifs ( ) : self . model . buildnemxmlfiles ( emane , netif ) if "virtual" in netif . transport_type : need_virtual = True vtype = netif . transport_type else : need_raw = True rtype = netif . transport_type if need_virtual : self . buildtransportxml ( emane , vtype ) if need_raw : self . buildtransportxml ( emane , rtype )
Let the configured model build the necessary nem, mac, and phy
XMLs.
Let the configured model build the necessary nem mac and phy XMLs .
''' Let the configured model build the necessary nem, mac, and phy
            XMLs.
        ''' # build XML for overall network (EmaneNode) configs # build XML for specific interface (NEM) configs # build transport XML files depending on type of interfaces involved
self
emane