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
545e72de
Commit
545e72de
authored
Aug 08, 2012
by
Leigh B Stoller
Browse files
Whenever an experiment is using Vinterfaces, reserve the vlan tags
with snmpit -A before booting nodes.
parent
79af2aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbswap.in
View file @
545e72de
...
...
@@ -988,7 +988,7 @@ sub doSwapin($) {
# that did not boot.
#
my
$exitcode
;
my
$cmd
=
"
$mapper
";
my
$cmd
=
"
$mapper
";
if
(
EmulabFeatures
->
FeatureEnabled
("
OldMapper
",
$this_user
,
$group
,
$experiment
))
{
$cmd
=
"
$wrapper
";
...
...
@@ -1424,7 +1424,7 @@ sub doSwapin($) {
# the tags not being assigned yet. We can do this for all swap
# modes since it is harmless; snmpit does the correct thing.
#
if
(
$experiment
->
HasVirt
Nod
es
())
{
if
(
$experiment
->
HasVirt
Interfac
es
())
{
system
("
$SNMPIT
--redirect-err -A
$pid
$eid
");
if
(
$?
)
{
tberror
("
Failed to reserve VLAN tags.
");
...
...
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