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
cd6470d4
Commit
cd6470d4
authored
May 25, 2021
by
Dmitry Lukhtionov
Browse files
Fix pep8
parent
3d3a5c8a
Pipeline
#31843
passed with stages
in 13 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Eltex/LTE/get_interfaces.py
View file @
cd6470d4
...
...
@@ -83,8 +83,8 @@ class Script(BaseScript):
cmd
=
self
.
cli
(
"show interfaces mac-address"
)
for
match
in
self
.
rx_mac1
.
finditer
(
cmd
):
macs
[
match
.
group
(
"port"
)]
=
match
.
group
(
"mac"
)
for
l
in
self
.
cli
(
"show interfaces vlans"
).
split
(
"
\n\n
"
):
match
=
self
.
rx_vlan
.
search
(
l
)
for
l
ine
in
self
.
cli
(
"show interfaces vlans"
).
split
(
"
\n\n
"
):
match
=
self
.
rx_vlan
.
search
(
l
ine
)
if
match
:
if
match
.
group
(
"tagged"
)
!=
"none"
:
tagged_vlans
[
match
.
group
(
"port"
)]
=
self
.
expand_rangelist
(
...
...
bee26
@bee26
mentioned in commit
0a20109c
·
Jun 17, 2021
mentioned in commit
0a20109c
mentioned in commit 0a20109cc0b66b275d5ab6bd1b5eb8e19d4fbac3
Toggle commit list
bee26
@bee26
mentioned in merge request
!5460 (merged)
·
Jun 17, 2021
mentioned in merge request
!5460 (merged)
mentioned in merge request !5460
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