- Jan 27, 2015
-
-
Bob Lantz authored
Note that we are changing the interface of batchStartup/Shutdown slightly so that the method can choose not to start some of the switches. We might wish to refine this a bit...
-
- Jan 26, 2015
-
-
Bob Lantz authored
This should rarely happen - in the usual case, either the links will be shut down by Mininet.stop(), or the interfaces will be deleted by node.stop( deleteIntfs=True ), or the links or interfaces will be explicitly deleted or stopped using the low-level API. Cases that are relying on links being automatically deleted in cleanup() will potentially find that they are now no longer deleted, but these cases should be rare.
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
We still need to set it in batchShutdown()
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
This implements batch startup for OVS switches.
-
Bob Lantz authored
In the future, we would like to support higher bandwidth limits for TCIntfs, but we'll probably need to adjust some of the parameters dynamically.
-
- Jan 24, 2015
-
-
Bob Lantz authored
In my opinion, we really shouldn't even get POLLHUP, but we do. In case we get anything else odd, quite polling on that fd.
-
Bob Lantz authored
It's tricky to get this right, but basically we want to read if there is something to read; if not, we want to check for EOF.
-
Bob Lantz authored
Without this, we end up retrying until we fail, instead of returning immediately on success!
-
- Jan 22, 2015
-
-
Bob Lantz authored
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.
-
- Jan 19, 2015
-
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
This allows --switch ovsbr,stp=True to work correctly
-
Bob Lantz authored
-
Bob Lantz authored
With newer versions of OVS, this allows us to set up a switch with a single OVS command (if reconnectms is zero.) If reconnectms is specified, then it slows things down slightly (but not much.)
-
- Jan 17, 2015
- Jan 15, 2015
-
-
Bob Lantz authored
Eventually we should implement true batch shutdown. In the mean time, we just ignore it. Note there's no good way that I know of for a subclass to remove a superclass method, so we changed the protocol a bit to require a return value of True.
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
Note that this also changes the way that links are deleted; the reason is that the batch shutdown doesn't currently delete the links, but OVSSwitch.stop() does. We may wish to revisit this in the future.
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
Bob Lantz authored
-
- Jan 14, 2015
- Jan 07, 2015
-
-
Bob Lantz authored
-