Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/netmiko/juniper/__pycache__/juniper_screenos.cpython-39.pyc
Ðазад
a v�h � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�BaseConnectionc @ sR e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z ddd�ZdS )�JuniperScreenOsSSHzJ Implement methods for interacting with Juniper ScreenOS devices. c C s8 | � � | �� | 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 ('>'). zset console page 0)�commandg333333�?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/juniper/juniper_screenos.py�session_preparation s z&JuniperScreenOsSSH.session_preparationc O s dS )�#No enable mode on Juniper ScreenOS.Tr �r �args�kwargsr r r �check_enable_mode s z$JuniperScreenOsSSH.check_enable_modec O s dS �r � r r r r r �enable s zJuniperScreenOsSSH.enablec O s dS r r r r r r �exit_enable_mode s z#JuniperScreenOsSSH.exit_enable_modec O s dS )�*No configuration mode on Juniper ScreenOS.Fr r r r r �check_config_mode$ s z$JuniperScreenOsSSH.check_config_modec O s dS �r r r r r r r �config_mode( s zJuniperScreenOsSSH.config_modec O s dS r r r r r r �exit_config_mode, s z#JuniperScreenOsSSH.exit_config_mode�save configFr c C s | j |d�S )zSave Config.)Zcommand_string)Zsend_command)r �cmdZconfirmZconfirm_responser r r �save_config0 s zJuniperScreenOsSSH.save_configN)r Fr )�__name__� __module__�__qualname__�__doc__r r r r r r r r r r r r r s r )r Znetmiko.base_connectionr r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка