Commit 32bd502f authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'cherry-pick-02c017a8' into 'release-19.1'

release-19.1:Backport!2004

See merge request noc/noc!2005
parents 31f75f12 0a648547
......@@ -7,8 +7,8 @@
# Copyright (C) 2007-2009 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
"""
"""
# NOC modules
from noc.core.profile.base import BaseProfile
......@@ -17,6 +17,7 @@ class Profile(BaseProfile):
pattern_more = "^<--- More --->"
pattern_unprivileged_prompt = r"^\S+?>"
pattern_syntax_error = r"% Invalid input detected at|% Ambiguous command:|% Incomplete command."
pattern_username = r"^\s*([Uu]ser ?[Nn]ame|[Ll]ogin): ?" # Fix for exclude "...Last login: 10:48:33 MS..." match
command_super = "enable"
command_enter_config = "configure terminal"
command_leave_config = "end"
......
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