Commit a79f41a9 authored by Leigh B Stoller's avatar Leigh B Stoller

When syncing (-X) vlans, create the stack using switches in that vlan

only instead of all of the vlans in the pid,eid, and later culling them.
parent bcd273c1
......@@ -905,9 +905,12 @@ COMMAND: foreach my $command (@commands) {
(/synctables/) && do {
# We operate on all stacks on which we think VLANs do, or should,
# exist.
my @oldvlans = ();
@vlans = getExperimentVlans($pid,$eid,@optvlanids);
my @oldvlans;
VLan->StaleVlanList($experiment,\@oldvlans);
if (!@optvlanids) {
VLan->StaleVlanList($experiment,\@oldvlans);
}
#
# No old or new vlans, then skip all of this.
......
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