Commit faf4a5ce authored by bee26's avatar bee26
Browse files

Merge branch 'cherry-pick-e05feecf' into 'release-19.2'

release-19.2:Backport!2233

See merge request noc/noc!2239
parents 79db8a89 c86bdad2
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Vendor: Eltex
# OS: MES6448
# OS: MES5448
# ---------------------------------------------------------------------
# Copyright (C) 2007-2019 The NOC Project
# See LICENSE for details
......@@ -16,10 +16,11 @@ class Profile(BaseProfile):
pattern_more = [
(r"--More-- or \(q\)uit", " ")
]
# pattern_unprivileged_prompt = r"^(?P<hostname>\S+)>"
pattern_unprivileged_prompt = r"^(?P<hostname>\S+)>"
pattern_prompt = r"^(?P<hostname>\S+)#"
pattern_syntax_error = \
r"^% (Unrecognized command|Incomplete command|" \
r"Wrong number of parameters or invalid range, size or " \
r"characters entered)$"
command_super = "enable"
command_disable_pager = "terminal length 0"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment