Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrey Yemelyanov
noc
Commits
32bd502f
Commit
32bd502f
authored
May 09, 2019
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Cisco/ASA/__init__.py
View file @
32bd502f
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment