def reset_dev_via_serial(self, delay=1):
        reset_type = self.config.get('reset_type', 'default')
        if not reset_type:
            reset_type = 'default'
        disk = self.config.get('disk', None)

        self.logger.prn_inf("reset device using '%s' plugin..."% reset_type)
        result = host_tests_plugins.call_plugin('ResetMethod',
            reset_type,
            serial=self.serial,
            disk=disk)
        # Post-reset sleep
        self.logger.prn_inf("wait for it...")
        sleep(delay)
        return result
! Reset device using selected method, calls one of the reset plugins
dataset/ETHPy150Open ARMmbed/htrun/mbed_host_tests/host_tests_conn_proxy/conn_proxy.py/SerialConnectorPrimitive.reset_dev_via_serial