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
6ccfdfe9
Commit
6ccfdfe9
authored
May 14, 2020
by
Andrey Vertiprahov
Browse files
Fix untagged.
parent
ab821de6
Pipeline
#23022
passed with stages
in 13 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/SKS/SKS/get_interfaces.py
View file @
6ccfdfe9
...
...
@@ -218,7 +218,7 @@ class Script(BaseScript):
c
=
self
.
cli
(
"show vlan interface %s"
%
ifname
)
t
=
parse_table
(
c
,
allow_wrap
=
True
,
n_row_delim
=
","
)
for
i
in
t
:
if
i
[
1
]
==
"Access"
:
if
i
[
1
]
==
"Access"
and
i
[
4
]
:
sub
[
"untagged_vlan"
]
=
int
(
i
[
4
])
elif
i
[
1
]
==
"Trunk"
:
sub
[
"untagged_vlan"
]
=
int
(
i
[
2
])
...
...
Andrey Vertiprahov
@aversant
mentioned in commit
b52f475c
·
May 14, 2020
mentioned in commit
b52f475c
mentioned in commit b52f475c0b2b887681d4818dcb81965017637d5b
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!3604 (merged)
·
May 14, 2020
mentioned in merge request
!3604 (merged)
mentioned in merge request !3604
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