daemon/core/emane/emane.py
def basename(self, ifc = None):
        ''' Return the string that other names are based on.
            If a specific config is stored for a node's interface, a unique
            filename is needed; otherwise the name of the EmaneNode is used.
        '''
        emane = self.session.emane
        name = "n%s" % self.objid
        if ifc is not None:
            nodenum = ifc.node.objid
            if emane.getconfig(nodenum, self._name, None)[1] is not None:
                name = ifc.localname.replace('.','_')
        return "%s%s" % (name, self._name)
 Return the string that other names are based on.
            If a specific config is stored for a node's interface, a unique
            filename is needed; otherwise the name of the EmaneNode is used.
        
Return the string that other names are based on.
If a specific config is stored for a node's interface, a unique
filename is needed; otherwise the name of the EmaneNode is used.
Return the string that other names are based on . If a specific config is stored for a node ' s interface a unique filename is needed ; otherwise the name of the EmaneNode is used .
def basename(self, ifc = None):
        emane = self.session.emane
        name = "n%s" % self.objid
        if ifc is not None:
            nodenum = ifc.node.objid
            if emane.getconfig(nodenum, self._name, None)[1] is not None:
                name = ifc.localname.replace('.','_')
        return "%s%s" % (name, self._name)
def basename ( self , ifc = None ) : emane = self . session . emane name = "n%s" % self . objid if ifc is not None : nodenum = ifc . node . objid if emane . getconfig ( nodenum , self . _name , None ) [ 1 ] is not None : name = ifc . localname . replace ( '.' , '_' ) return "%s%s" % ( name , self . _name )
Return the string that other names are based on.
Return the string that other names are based on .
''' Return the string that other names are based on.
            If a specific config is stored for a node's interface, a unique
            filename is needed; otherwise the name of the EmaneNode is used.
        '''
self
ifc