The ns-3 Network Simulator Project
Replace Remove() calls with Cancel()
In the referenced bug Alexander suggests a couple of changes. This task is to partially adopt one of his changes: replacing Remove with Cancel everywhere. Your task is to two fold:
- Apply these two patches
- Check that ns-3 still builds. You should disable the Python bindings (
--disable-python
) if you normally have it enabled. It will fail because there are Remove() calls which have been added since these were last tested, so you'll have to fix these. - Check that all tests pass.
- As discussed in the bug report, deliver a new patch that is the synthesis of the previous two patches, plus any additional changes that you made to get the ns-3 code to compile, but that reverts all the changes to src/core and src/mpi that were removing the Remove() method from the API of the different Scheduler and Timer implementations. To summarize, your final patch should not touch src/core or src/mpi, but everywhere else in the codebase, the models should use Cancel() instead of Remove().
Task tags
Students who completed this task
hax0kartik, pterp, InquisitivePenguin, Kr0n0s, SaiMyGuy, howie