daemon/core/emane/emane.py
def stopdaemons(self):
        ''' Kill the appropriate EMANE daemons.
        '''
        # TODO: we may want to improve this if we had the PIDs from the
        #       specific EMANE daemons that we've started
        cmd = ["killall", "-q", "emane"]
        stop_emane_on_host = False
        if self.version > self.EMANE091:
            for node in self.getnodes():
                if hasattr(node, 'transport_type') and \
                  node.transport_type == "raw":
                    stop_emane_on_host = True
                    continue
                if node.up:
                    node.cmd(cmd, wait=False)
                # TODO: RJ45 node
        else:
            stop_emane_on_host = True
        if stop_emane_on_host:
            subprocess.call(cmd)
            subprocess.call(["killall", "-q", "emanetransportd"])
 Kill the appropriate EMANE daemons.
        
Kill the appropriate EMANE daemons.
Kill the appropriate EMANE daemons .
def stopdaemons(self):
        cmd = ["killall", "-q", "emane"]
        stop_emane_on_host = False
        if self.version > self.EMANE091:
            for node in self.getnodes():
                if hasattr(node, 'transport_type') and \
                  node.transport_type == "raw":
                    stop_emane_on_host = True
                    continue
                if node.up:
                    node.cmd(cmd, wait=False)
        else:
            stop_emane_on_host = True
        if stop_emane_on_host:
            subprocess.call(cmd)
            subprocess.call(["killall", "-q", "emanetransportd"])
def stopdaemons ( self ) : cmd = [ "killall" , "-q" , "emane" ] stop_emane_on_host = False if self . version > self . EMANE091 : for node in self . getnodes ( ) : if hasattr ( node , 'transport_type' ) and node . transport_type == "raw" : stop_emane_on_host = True continue if node . up : node . cmd ( cmd , wait = False ) else : stop_emane_on_host = True if stop_emane_on_host : subprocess . call ( cmd ) subprocess . call ( [ "killall" , "-q" , "emanetransportd" ] )
Kill the appropriate EMANE daemons.
Kill the appropriate EMANE daemons .
''' Kill the appropriate EMANE daemons.
        ''' # TODO: we may want to improve this if we had the PIDs from the #       specific EMANE daemons that we've started # TODO: RJ45 node
self