daemon/core/netns/nodes.py
def startup(self):
        ''' Set the interface in the up state.
        '''
        # interface will also be marked up during net.attach()
        self.savestate()
        try:
            check_call([IP_BIN, "link", "set", self.localname, "up"])
        except:
            self.warn("Failed to run command: %s link set %s up" % \
                      (IP_BIN, self.localname))
            return
        self.up = True
 Set the interface in the up state.
        
Set the interface in the up state.
Set the interface in the up state .
def startup(self):
        self.savestate()
        try:
            check_call([IP_BIN, "link", "set", self.localname, "up"])
        except:
            self.warn("Failed to run command: %s link set %s up" % \
                      (IP_BIN, self.localname))
            return
        self.up = True
def startup ( self ) : self . savestate ( ) try : check_call ( [ IP_BIN , "link" , "set" , self . localname , "up" ] ) except : self . warn ( "Failed to run command: %s link set %s up" % ( IP_BIN , self . localname ) ) return self . up = True
Set the interface in the up state.
Set the interface in the up state .
''' Set the interface in the up state.
        ''' # interface will also be marked up during net.attach()
self