Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
923356d7
Commit
923356d7
authored
Apr 21, 2014
by
Leigh B Stoller
Browse files
Remove blockmode argument in tree mode vlan allocation; want
only one of the tags, not all of them.
parent
0897c253
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
923356d7
...
...
@@ -2528,13 +2528,9 @@ sub GetTicketAuxAux($$$$$$$$$$)
"Could not find a free vlan tag for $linkname"
);
goto
bad
;
}
#
#
Do
this
in
"blockmode"
so
that
snmpit
does
not
throw
an
error
#
if
one
of
the
tags
is
not
available
.
#
print
STDERR
"Trying to allocate
vlan
tag
s
for $linkname: @tags
\n
"
;
system
(
"$SNMPIT
--blockmode
-A "
.
"Trying to allocate
one
tag for $linkname: @tags
\n
"
;
system
(
"$SNMPIT -A "
.
"$pid $eid $lanid,"
.
join
(
","
,
@
tags
));
if
($?)
{
$
vlan
->
Destroy
()
...
...
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