Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/raisecom/__pycache__/raisecom_roap.cpython-39.pyc
Ðазад
a v�h: � @ s� d dl mZ d dlZd dlZd dlmZmZmZmZm Z m Z mZmZm Z mZ d dlmZ G dd� de�ZG dd� de�ZG d d � d e�ZdS )� )�CiscoBaseConnectionN) �IAC�DO�DONT�WILL�WONT�SB�SE�ECHO�SGA�NAWS)�NetmikoAuthenticationExceptionc s4 e Zd Zdd� Zd� fdd� Zd � fd d� Z� ZS )�RaisecomRoapBasec C sB | j dd� | �� | �� | �d� t�d| j � | �� dS )z>Prepare the session after the connection has been established.z[>#])�patternzterminal page-break disableg333333�?N)Z_test_channel_readZset_base_prompt�enableZdisable_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/raisecom/raisecom_roap.py�session_preparation s z$RaisecomRoapBase.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 z"RaisecomRoapBase.check_config_mode�write startup-configF� c s"