Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/zte/__pycache__/zte_zxros.cpython-39.pyc
Ðазад
a v�hq � @ sx d dl mZ d dlZd dlmZmZmZmZmZm Z m Z mZmZm Z G dd� de�ZG dd� de�ZG dd � d e�ZdS ) � )�CiscoBaseConnectionN) �IAC�DO�DONT�WILL�WONT�SB�SE�ECHO�SGA�NAWSc s4 e Zd Zdd� Zd� fdd� Zd � fd d� Z� ZS )�ZteZxrosBasec C s8 | j dd� | �� | �� t�d| j � | �� dS )z>Prepare the session after the connection has been established.z[>#])�patterng333333�?N)Z_test_channel_readZset_base_promptZdisable_paging�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/zte/zte_zxros.py�session_preparation s z ZteZxrosBase.session_preparation�)#�#c s t � j||d�S )zG Checks if the device is in configuration mode or not. )�check_stringr )�super�check_config_mode)r r r �� __class__r r r s zZteZxrosBase.check_config_mode�writeF� c s t � j|||d�S )z!Saves Config Using Copy Run Start)�cmd�confirm�confirm_response)r �save_config)r r r r r r r r! s �zZteZxrosBase.save_config)r r )r Fr )�__name__� __module__�__qualname__r r r! � __classcell__r r r r r s r c @ s e Zd ZdS )�ZteZxrosSSHN)r"