dhcpcanon/dhcpcapfsm.py
def BOUND(self):
        """BOUND state."""
        logger.debug('In state: BOUND')
        logger.info('(%s) state changed %s -> bound', self.client.iface,
                    STATES2NAMES[self.current_state])
        self.current_state = STATE_BOUND
        self.client.lease.info_lease()
        if self.script is not None:
            self.script.script_init(self.client.lease, self.current_state)
            self.script.script_go()
        else:
            try:
                set_net(self.client.lease)
            except Exception as e:
                logger.error('Can not set IP', exc_info=True)
def BOUND(self):
        logger.debug('In state: BOUND')
        logger.info('(%s) state changed %s -> bound', self.client.iface,
                    STATES2NAMES[self.current_state])
        self.current_state = STATE_BOUND
        self.client.lease.info_lease()
        if self.script is not None:
            self.script.script_init(self.client.lease, self.current_state)
            self.script.script_go()
        else:
            try:
                set_net(self.client.lease)
            except Exception as e:
                logger.error('Can not set IP', exc_info=True)
def BOUND ( self ) : logger . debug ( 'In state: BOUND' ) logger . info ( '(%s) state changed %s -> bound' , self . client . iface , STATES2NAMES [ self . current_state ] ) self . current_state = STATE_BOUND self . client . lease . info_lease ( ) if self . script is not None : self . script . script_init ( self . client . lease , self . current_state ) self . script . script_go ( ) else : try : set_net ( self . client . lease ) except Exception as e : logger . error ( 'Can not set IP' , exc_info = True )
BOUND state.
BOUND state .