[Ns-developers] improving regression tests of ns-3

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Wed Mar 19 15:50:25 PDT 2008


hi,

While trying to add a bunch of new tests to the regression testsuite in
ns-3, it occured to me that we could add a stupid NetDevice/Channel
implementation to provide cross-node connectivity and help testing of
the higher-layers. This would allow us to avoid making the
internet-node/udp-socket.cc test code depend on PointToPointNetDevice...

So, I would like to add to src/node/ (the main reason to add them to
src/node and not to src/devices/simple/ is that I want to re-use them
from applications/ and internet-node/):

  - simple-net-device.h/cc
  - simple-channel.h/cc

Both would work together and provide a multipoint broadcast medium
without any kind of MAC/PHY/queuing models and no state managament. Just
packet forwarding. Actually, 'Forwarding' might be a better prefix:
ForwardingNetDevice, and ForwardingChannel.

Since this stuff is pretty straightforward, in the absence of comments,
I will proceed with this tomorrow and push the additional regression
tests to ns-3-dev.

Mathieu



More information about the Ns-developers mailing list