Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/watchguard/__pycache__/fireware_ssh.cpython-39.pyc
Ðазад
a v�h� � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�BaseConnectionc sN e Zd ZdZdd� Zd� fdd� Zd� fd d � Zd� fdd � Zdd� Z� Z S )�WatchguardFirewareSSHzQ Implements methods for communicating with Watchguard Firebox firewalls. c C s, | � � | �� t�d| j � | �� dS )z� Prepare the session after the connection has been established. Set the base prompt for interaction ('#'). g333333�?N)Z_test_channel_readZset_base_prompt�time�sleepZglobal_delay_factorZclear_buffer)�self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/netmiko/watchguard/fireware_ssh.py�session_preparation s z)WatchguardFirewareSSH.session_preparation�)#�#c s t � j||d�S )zG Checks if the device is in configuration mode or not. )�check_string�pattern)�super�check_config_mode)r r r �� __class__r r r s z'WatchguardFirewareSSH.check_config_mode� configurec s t � j||d�S )N)�config_commandr )r �config_mode)r r r r r r r s z!WatchguardFirewareSSH.config_mode�exitc s t � j||d�S )N)�exit_configr )r �exit_config_mode)r r r r r r r s z&WatchguardFirewareSSH.exit_config_modec O s dS )zNo save config on Watchguard.Nr )r �args�kwargsr r r �save_config"