dhcpcanon/dhcpcapfsm.py
def timeout_requesting(self):
        """Timeout requesting in REQUESTING state.

        Not specifiyed in [:rfc:`7844`]

        [:rfc:`2131#section-3.1`]::

            might retransmit the
            DHCPREQUEST message four times, for a total delay of 60 seconds

        """
        logger.debug("C3.2: T. In %s, timeout receiving response to request, ",
                     self.current_state)
        if self.discover_requests >= MAX_ATTEMPTS_REQUEST:
            logger.debug('C2.3: T. Maximum number %s of REQUESTs '
                         'reached, already sent %s, raise ERROR.',
                         MAX_ATTEMPTS_REQUEST, self.disover_requests)
            raise self.ERROR()
        logger.debug("C2.3: F. Maximum number of REQUESTs retries not reached,"
                     "raise REQUESTING.")
        raise self.REQUESTING()
def timeout_requesting(self):
        logger.debug("C3.2: T. In %s, timeout receiving response to request, ",
                     self.current_state)
        if self.discover_requests >= MAX_ATTEMPTS_REQUEST:
            logger.debug('C2.3: T. Maximum number %s of REQUESTs '
                         'reached, already sent %s, raise ERROR.',
                         MAX_ATTEMPTS_REQUEST, self.disover_requests)
            raise self.ERROR()
        logger.debug("C2.3: F. Maximum number of REQUESTs retries not reached,"
                     "raise REQUESTING.")
        raise self.REQUESTING()
def timeout_requesting ( self ) : logger . debug ( "C3.2: T. In %s, timeout receiving response to request, " , self . current_state ) if self . discover_requests >= MAX_ATTEMPTS_REQUEST : logger . debug ( 'C2.3: T. Maximum number %s of REQUESTs ' 'reached, already sent %s, raise ERROR.' , MAX_ATTEMPTS_REQUEST , self . disover_requests ) raise self . ERROR ( ) logger . debug ( "C2.3: F. Maximum number of REQUESTs retries not reached," "raise REQUESTING." ) raise self . REQUESTING ( )
Timeout requesting in REQUESTING state.

        Not specifiyed in [:rfc:`7844`]

        [:rfc:`2131#section-3.1`]::

            might retransmit the
            DHCPREQUEST message four times, for a total delay of 60 seconds
Timeout requesting in REQUESTING state .