Commit 289e9fb4 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Delete logical wires/interfaces at swapout time.

parent c9e64b35
......@@ -659,6 +659,16 @@ sub doSwapout($) {
}
}
#
# Clear logical interfaces and wires. This might move to support
# swapmod.
#
print "Removing logical wires.\n";
if (Interface::Wire->DeleteLogicalWires($experiment)) {
tberror("Could not delete logical wires and interfaces\n");
return 1;
}
#
# remove all nodes from the experiment.
# (nfree will send them to RES_FREE_DIRTY)
......
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