Call delete() in link.stop() ; warn on exited node.cmd()
We should think a bit about the semantics that we want here. The comments say "stop and clean up link" so perhaps that's what we want. However, we could also imagine stop stopping forwarding on the link (and possibly allowing restarts). We warn on exited node.cmd() because we terminate the controller before stopping/deleting the links. This makes sense to avoid a storm of link/port down events, but since the controller's shell has exited we cannot call link.stop() on any of its links. We may want to simply stop the controller and not terminate it, but at least it doesn't hang for now.
Loading
Please register or sign in to comment