def enable(self, cmd='enable', pattern='password', re_flags=re.IGNORECASE,
               default_username='manager'):
        """Enter enable mode"""
        debug = False
        output = self.send_command(cmd)
        if 'username' in output.lower():
            output += self.send_command(default_username)
        if 'password' in output.lower():
            output += self.send_command(self.secret)
        if debug:
            print(output)
        self.clear_buffer()
        return output
dataset/ETHPy150Open ktbyers/netmiko/netmiko/hp/hp_procurve_ssh.py/HPProcurveSSH.enable/original