[Ns-developers] ns-3 nam support
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Sun Aug 24 12:28:25 PDT 2008
hi,
There were lots of question about nam support for ns-3 at the sigcomm
demo: tom managed to convince me to take a shot at this and see what we
could do. See http://code.nsnam.org/mathieu/ns-3-nam
src/contrib/nam-helper.h is the API and it seems to work reasonably well
for point to point links.
I still have some issues with the layout of broadcast links in nam so, I
would welcome input from nam experts.
Here is what I generate:
V -t * -v 1.13 -a 0
n -t * -a 0 -s 0 -S UP -v circle
n -t * -a 1 -s 1 -S UP -v circle
n -t * -a 2 -s 2 -S UP -v circle
n -t * -a 3 -s 3 -S UP -v circle
X -t * -n 4 -r 5000000 -D 0.002
L -t * -s 4 -d 0
L -t * -s 4 -d 1
L -t * -s 4 -d 2
L -t * -s 4 -d 3
and here is the output I get:
http://faculty.washington.edu/lacage/csma-one-subnet.png
which, honestly, looks pretty bad. Someone would know how to coerce nam
into generating something nicer looking ?
Mathieu
More information about the Ns-developers
mailing list