Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
a8d4f25c
Commit
a8d4f25c
authored
Apr 27, 2022
by
Dmitry Lukhtionov
Browse files
Fix NAG.SNR profile
parent
a092d2d0
Pipeline
#36072
passed with stages
in 26 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/NAG/SNR/profile.py
View file @
a8d4f25c
...
...
@@ -2,7 +2,7 @@
# Vendor: NAG
# OS: SNR
# ---------------------------------------------------------------------
# Copyright (C) 2007-202
0
The NOC Project
# Copyright (C) 2007-202
2
The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
...
...
@@ -38,6 +38,8 @@ class Profile(BaseProfile):
match
=
self
.
rx_pager
.
search
(
c
)
if
match
:
script
.
cli
(
"
\x01\x0b
terminal length 0"
,
ignore_errors
=
True
)
elif
"% Unrecognized command"
in
c
:
# Return to normal prompt
script
.
cli
(
""
,
ignore_errors
=
True
)
INTERFACE_TYPES
=
{
"Ethe"
:
"physical"
,
# Ethernet
...
...
bee26
@bee26
mentioned in commit
3b841352
·
Apr 27, 2022
mentioned in commit
3b841352
mentioned in commit 3b8413522e8fd33f0dcbb55f8a33c650b3651ba0
Toggle commit list
Dmitry Lukhtionov
@dmitryluhtionov
mentioned in merge request
!6260 (merged)
·
Apr 27, 2022
mentioned in merge request
!6260 (merged)
mentioned in merge request !6260
Toggle commit list
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