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
70b2dcdd
Commit
70b2dcdd
authored
Jun 23, 2022
by
bee26
Browse files
Merge branch 'cherry-pick-
e7a2ac57
' into 'release-22.1'
release-22.1:Backport!6395 See merge request
!6398
parents
1a47f301
e495db28
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Eltex/ESR/get_interfaces.py
View file @
70b2dcdd
# ---------------------------------------------------------------------
# Eltex.ESR.get_interfaces
# ---------------------------------------------------------------------
# Copyright (C) 2007-202
1
The NOC Project
# Copyright (C) 2007-202
2
The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
...
...
@@ -19,7 +19,7 @@ class Script(BaseScript):
name
=
"Eltex.ESR.get_interfaces"
interface
=
IGetInterfaces
rx_iface
=
re
.
compile
(
r
"Interface\s+(?P<iface>\S+)"
)
rx_iface
=
re
.
compile
(
r
"Interface
:?
\s+(?P<iface>\S+)"
)
types
=
{
"gi"
:
"physical"
,
"te"
:
"physical"
,
"po"
:
"aggregated"
,
"br"
:
"SVI"
}
...
...
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