daemon/core/emane/emane.py
def startup(self):
        ''' After all the EmaneNode objects have been added, build XML files
            and start the daemons. Returns Emane.(SUCCESS, NOT_NEEDED, or
            NOT_READY) which is used to delay session instantiation.
        '''
        self.reset()
        r = self.setup()
        if r != Emane.SUCCESS:
            return r  # NOT_NEEDED or NOT_READY
        if self.versionstr == "":
            raise ValueError, "EMANE version not properly detected"
        with self._objslock:
            if self.version < self.EMANE092:
                self.buildxml()
                self.initeventservice()
                self.starteventmonitor()
                if self.numnems() > 0:
                    # TODO: check and return failure for these methods
                    self.startdaemons()
                    self.installnetifs()
            else:
                self.buildxml2()
                self.initeventservice()
                self.starteventmonitor()
                if self.numnems() > 0:
                    self.startdaemons2()
                    self.installnetifs(do_netns=False)
            return Emane.SUCCESS
 After all the EmaneNode objects have been added, build XML files
            and start the daemons. Returns Emane.(SUCCESS, NOT_NEEDED, or
            NOT_READY) which is used to delay session instantiation.
        
After all the EmaneNode objects have been added, build XML files
and start the daemons. Returns Emane.(SUCCESS, NOT_NEEDED, or
NOT_READY) which is used to delay session instantiation.
After all the EmaneNode objects have been added build XML files and start the daemons . Returns Emane . ( SUCCESS NOT_NEEDED or NOT_READY ) which is used to delay session instantiation .
def startup(self):
        self.reset()
        r = self.setup()
        if r != Emane.SUCCESS:
            return r  
        if self.versionstr == "":
            raise ValueError, "EMANE version not properly detected"
        with self._objslock:
            if self.version < self.EMANE092:
                self.buildxml()
                self.initeventservice()
                self.starteventmonitor()
                if self.numnems() > 0:
                    self.startdaemons()
                    self.installnetifs()
            else:
                self.buildxml2()
                self.initeventservice()
                self.starteventmonitor()
                if self.numnems() > 0:
                    self.startdaemons2()
                    self.installnetifs(do_netns=False)
            return Emane.SUCCESS
def startup ( self ) : self . reset ( ) r = self . setup ( ) if r != Emane . SUCCESS : return r if self . versionstr == "" : raise ValueError , "EMANE version not properly detected" with self . _objslock : if self . version < self . EMANE092 : self . buildxml ( ) self . initeventservice ( ) self . starteventmonitor ( ) if self . numnems ( ) > 0 : self . startdaemons ( ) self . installnetifs ( ) else : self . buildxml2 ( ) self . initeventservice ( ) self . starteventmonitor ( ) if self . numnems ( ) > 0 : self . startdaemons2 ( ) self . installnetifs ( do_netns = False ) return Emane . SUCCESS
After all the EmaneNode objects have been added, build XML files
and start the daemons.
After all the EmaneNode objects have been added build XML files and start the daemons .
''' After all the EmaneNode objects have been added, build XML files
            and start the daemons. Returns Emane.(SUCCESS, NOT_NEEDED, or
            NOT_READY) which is used to delay session instantiation.
        ''' # NOT_NEEDED or NOT_READY # TODO: check and return failure for these methods
self