Commit 03ee9e2a authored by Leigh B Stoller's avatar Leigh B Stoller

Ignore "internal" vlans in the TRACK_INTERSWITCH_BANDWIDTH section,

since those vlans might not be consistent in the DB. In general, we
need to be looking at only actual experiments with vlans on the
Experiment stack, but this change fixes the problem with ptopgen
bailing early with an error.
parent 4a34c6e5
......@@ -2064,6 +2064,9 @@ if ($TRACK_INTERSWITCH_BANDWIDTH) {
foreach my $vlan (@vlans) {
my @members;
if ($vlan->IsInternal());
if ($vlan->MemberList(\@members) != 0) {
die("*** $0:\n".
" Unable to load members for $vlan\n");
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