daemon/core/emane/nodes.py
def buildplatformxmlentry(self, doc):
        ''' Return a dictionary of XML elements describing the NEMs
            connected to this EmaneNode for inclusion in the platform.xml file.
        '''
        ret = {}
        if self.model is None:
            self.info("warning: EmaneNode %s has no associated model" % \
                      self.name)
            return ret
        for netif in self.netifs():
            # <nem name="NODE-001" definition="rfpipenem.xml">
            nementry = self.model.buildplatformxmlnementry(doc, self, netif)
            # <transport definition="transvirtual.xml" group="1">
            #    <param name="device" value="n1.0.158" />
            # </transport>
            trans = self.model.buildplatformxmltransportentry(doc, self, netif)
            nementry.appendChild(trans)
            ret[netif] = nementry

        return ret
 Return a dictionary of XML elements describing the NEMs
            connected to this EmaneNode for inclusion in the platform.xml file.
        
Return a dictionary of XML elements describing the NEMs
connected to this EmaneNode for inclusion in the platform.xml file.
Return a dictionary of XML elements describing the NEMs connected to this EmaneNode for inclusion in the platform . xml file .
def buildplatformxmlentry(self, doc):
        ret = {}
        if self.model is None:
            self.info("warning: EmaneNode %s has no associated model" % \
                      self.name)
            return ret
        for netif in self.netifs():
            nementry = self.model.buildplatformxmlnementry(doc, self, netif)
            trans = self.model.buildplatformxmltransportentry(doc, self, netif)
            nementry.appendChild(trans)
            ret[netif] = nementry
        return ret
def buildplatformxmlentry ( self , doc ) : ret = { } if self . model is None : self . info ( "warning: EmaneNode %s has no associated model" % self . name ) return ret for netif in self . netifs ( ) : nementry = self . model . buildplatformxmlnementry ( doc , self , netif ) trans = self . model . buildplatformxmltransportentry ( doc , self , netif ) nementry . appendChild ( trans ) ret [ netif ] = nementry return ret
Return a dictionary of XML elements describing the NEMs
connected to this EmaneNode for inclusion in the platform.xml file.
Return a dictionary of XML elements describing the NEMs connected to this EmaneNode for inclusion in the platform . xml file .
''' Return a dictionary of XML elements describing the NEMs
            connected to this EmaneNode for inclusion in the platform.xml file.
        ''' # <nem name="NODE-001" definition="rfpipenem.xml"> # <transport definition="transvirtual.xml" group="1"> #    <param name="device" value="n1.0.158" /> # </transport>
self
doc