This issue is about cleaning up how we run tests for dslx. We want to use dslx in the oohelperd. To this end, we need to pass a custom model.UnderlyingNetwork because the oohelperd code cannot use the singleton in netxlite. In fact, when testing with netemx and using the oohelperd, we need a different emulated network than the probe one.
To make using dslx in oohelperd possible, we need to avoid using the netxlite singleton. Incidentally, by doing that, we also reduce some complexity in the implementation. Now we don't need custom mocks for each network operation.
This issue is about cleaning up how we run tests for dslx. We want to use dslx in the
oohelperd
. To this end, we need to pass a custommodel.UnderlyingNetwork
because theoohelperd
code cannot use the singleton innetxlite
. In fact, when testing withnetemx
and using theoohelperd
, we need a different emulated network than the probe one.To make using
dslx
inoohelperd
possible, we need to avoid using thenetxlite
singleton. Incidentally, by doing that, we also reduce some complexity in the implementation. Now we don't need custom mocks for each network operation.