Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/paloalto/__pycache__/paloalto_panos.cpython-39.pyc
Ðазад
a v�h� � @ sP d dl Z d dlZd dlmZ G dd� de�ZG dd� de�ZG dd� de�ZdS ) � N)�BaseConnectionc s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd&� fdd� Zd'� fdd� Z d(� fdd� Z d)dd�Zdd� Zdd� Z dd� Zd d!� Z� fd"d#�Zd*d$d%�Z� ZS )+�PaloAltoPanosBasez� Implement methods for interacting with PaloAlto devices. Disables `enable()` and `check_enable_mode()` methods. Overrides several methods for PaloAlto-specific compatibility. c C sN d| _ | �� | jdd� | jdd� | jdd� t�d| j � | �� dS ) z� Prepare the session after the connection has been established. Disable paging (the '--more--' prompts). Set the base prompt for interaction ('>'). T� )�delay_factorzset cli pager off)�commandzset cli scripting-mode ong333333�?N)Zansi_escape_codesZ_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/paloalto/paloalto_panos.py�session_preparation s z%PaloAltoPanosBase.session_preparationc O s dS �zNo enable mode on PaloAlto.Nr �r �args�kwargsr r r �check_enable_mode s z#PaloAltoPanosBase.check_enable_modec O s dS r r r r r r �enable"