[Ns-bugs] [Bug 215] Node names patch
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Sun Nov 30 18:52:37 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=215
Craig Dowell <craigdo at ee.washington.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #153 is|0 |1
obsolete| |
--- Comment #11 from Craig Dowell <craigdo at ee.washington.edu> 2008-11-30 21:52:37 EDT ---
Created an attachment (id=317)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=317)
Simple bimap for name/object association plus use in csma-one-subnet.cc
Here's a quick and dirty NameList to address bug 215. Even as simple as it is,
it makes some code much more readable. It is not completely integrated,
though,
For example, there are new device helper methods that look like
CsmaHelper::EnablePcap (std::string filename, std::string devname)
and you use them like
CsmaHelper::EnablePcap ("csma-one-subnet", "Node0/eth0");
the problem is that the pcap trace file still has a file name that looks like,
csma-one-subnet-0-0.pcap
which kindof defeats the high level purpose of naming. We should really create
files that reflect the names given in the script,
csma-one-subnet-Node0-eth0
I'm sure there's much more that needs to be done, but this patch provides basic
naming.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list