Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
9b91c63b
Commit
9b91c63b
authored
Jul 26, 2012
by
Weibin Sun
Committed by
Robert Ricci
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bad python indentation bug
parent
f68e8ffd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tbsetup/snmpit_test/snmpit_arista_switch_daemon.py.in
tbsetup/snmpit_test/snmpit_arista_switch_daemon.py.in
+6
-6
No files found.
tbsetup/snmpit_test/snmpit_arista_switch_daemon.py.in
View file @
9b91c63b
...
...
@@ -266,13 +266,13 @@ def _listVlans():
if
vc
[
vnum
]
.
configuredName
.
startswith
(
VLAN_ID_PREFIX
):
vnums
.
append
(
vnum
)
for
vn
in
vnums
:
ports
=
[]
if
vs
.
has_key
(
vn
):
ports
=
vs
[
vn
]
.
vlanPortStatus
.
keys
()
for
vn
in
vnums
:
ports
=
[]
if
vs
.
has_key
(
vn
):
ports
=
vs
[
vn
]
.
vlanPortStatus
.
keys
()
vid
=
vc
[
vn
]
.
configuredName
[
len
(
VLAN_ID_PREFIX
):]
vlans
.
append
([
vid
,
vn
,
ports
])
vid
=
vc
[
vn
]
.
configuredName
[
len
(
VLAN_ID_PREFIX
):]
vlans
.
append
([
vid
,
vn
,
ports
])
except
:
print
sign
+
" error: "
+
str
(
sys
.
exc_info
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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