Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/ubiquiti/__pycache__/edge_ssh.cpython-39.pyc
Ðазад
a v�h� � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�CiscoSSHConnectionc sb e Zd ZdZdd� Zd� fdd� Zd� fdd � Zd� fdd� Zd� fd d� Zd� fdd� Z � Z S )�UbiquitiEdgeSSHz� Implements support for Ubiquity EdgeSwitch devices. Mostly conforms to Cisco IOS style syntax with a few minor changes. This is NOT for EdgeRouter devices. c C sL | � � | �� | �� | �� | �� | �� t�d| j � | �� d S )Ng333333�?) Z_test_channel_readZset_base_prompt�enableZset_terminal_widthZdisable_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/ubiquiti/edge_ssh.py�session_preparation s z#UbiquitiEdgeSSH.session_preparation�)#c s t � j|d�S )z5Checks if the device is in configuration mode or not.)�check_string)�super�check_config_mode)r r �� __class__r r r s z!UbiquitiEdgeSSH.check_config_mode� configurec s t � j|d�S )zEnter configuration mode.)�config_command)r �config_mode)r r r r r r s zUbiquitiEdgeSSH.config_mode�exitc s t � j|d�S )zExit configuration mode.)�exit_config)r �exit_config_mode)r r r r r r "