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
e495db28
Commit
e495db28
authored
Jun 23, 2022
by
bee26
Browse files
release-22.1:Backport!6395
parent
b868505b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Eltex/ESR/get_interfaces.py
View file @
e495db28
# ---------------------------------------------------------------------
# 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