daemon/core/emane/emane.py
def buildplatformxmlnementry(self, doc, n, ifc):
        ''' Build the NEM definition that goes into the platform.xml file.
        This returns an XML element that will be added to the <platform/> element.
        This default method supports per-interface config
          (e.g. <nem definition="n2_0_63emane_rfpipe.xml" id="1"> or per-EmaneNode
        config (e.g. <nem definition="n1emane_rfpipe.xml" id="1">.
        This can be overriden by a model for NEM flexibility; n is the EmaneNode.
        '''
        nem = doc.createElement("nem")
        nem.setAttribute("name", ifc.localname)
        # if this netif contains a non-standard (per-interface) config,
        #  then we need to use a more specific xml file here
        nem.setAttribute("definition", self.nemxmlname(ifc))
        return nem
 Build the NEM definition that goes into the platform.xml file.
        This returns an XML element that will be added to the <platform/> element.
        This default method supports per-interface config
          (e.g. <nem definition="n2_0_63emane_rfpipe.xml" id="1"> or per-EmaneNode
        config (e.g. <nem definition="n1emane_rfpipe.xml" id="1">.
        This can be overriden by a model for NEM flexibility; n is the EmaneNode.
        
Build the NEM definition that goes into the platform.xml file.
This returns an XML element that will be added to the  element.
This default method supports per-interface config
(e.g.
Build the NEM definition that goes into the platform . xml file . This returns an XML element that will be added to the element . This default method supports per - interface config ( e . g .
def buildplatformxmlnementry(self, doc, n, ifc):
        nem = doc.createElement("nem")
        nem.setAttribute("name", ifc.localname)
        nem.setAttribute("definition", self.nemxmlname(ifc))
        return nem
def buildplatformxmlnementry ( self , doc , n , ifc ) : nem = doc . createElement ( "nem" ) nem . setAttribute ( "name" , ifc . localname ) nem . setAttribute ( "definition" , self . nemxmlname ( ifc ) ) return nem
Build the NEM definition that goes into the platform.xml file.
Build the NEM definition that goes into the platform . xml file .
''' Build the NEM definition that goes into the platform.xml file.
        This returns an XML element that will be added to the <platform/> element.
        This default method supports per-interface config
          (e.g. <nem definition="n2_0_63emane_rfpipe.xml" id="1"> or per-EmaneNode
        config (e.g. <nem definition="n1emane_rfpipe.xml" id="1">.
        This can be overriden by a model for NEM flexibility; n is the EmaneNode.
        ''' # if this netif contains a non-standard (per-interface) config, #  then we need to use a more specific xml file here
self
doc
n
ifc