def _wait_for_responsive_ip(self): """ Wait until the testing harness detects the Beaglebone after boot Returns: Device ip address, or None if no active ip address was found """ return common.wait_for_responsive_ip_for_pc_device( self.parameters["leases_file_name"], self._BOOT_TIMEOUT, self._POLLING_INTERVAL)
def _wait_for_responsive_ip(self): """ Wait until the testing harness detects the Beaglebone after boot Returns: Device ip address, or None if no active ip address was found """ return common.wait_for_responsive_ip_for_pc_device( self.dev_id, self.parameters["leases_file_name"], self._BOOT_TIMEOUT, self._POLLING_INTERVAL)
def _wait_for_responsive_ip(self): """ For a limited amount of time, try to assess if the device is in the mode requested. Returns: (str or None): The device ip, or None if no active ip address was found """ self.dev_ip = common.wait_for_responsive_ip_for_pc_device( self.parameters["leases_file_name"], self._BOOT_TIMEOUT, self._POLLING_INTERVAL) return self.dev_ip
def get_ip(self): return common.wait_for_responsive_ip_for_pc_device( self._mac_address, self.parameters["leases_file_name"], self._BOOT_TIMEOUT, self._POLLING_INTERVAL)