Commit ee0928ec authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add test for skipvlans, and skip vlan creation in experiment swapin.

Might be able to do this for swapmod at some point.
parent e96ba6fa
......@@ -1299,7 +1299,8 @@ sub doSwapin($) {
# the step has completed and 2) It's OK for the command to run in
# parallel with os_setup (no DB dependencies, etc.)
if ($type != MODIFY || ($ELABINELAB || !$MAINSITE || !$special)) {
if (!$experiments->skipvlans() &&
($type != MODIFY || ($ELABINELAB || !$MAINSITE || !$special))) {
print "Setting up VLANs.\n";
TBDebugTimeStamp("snmpit started");
if (system("snmpit -t $pid $eid")) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment