[Ns-bugs] [Bug 215] Node names patch
code at nsnam.ece.gatech.edu
Fri Dec 19 13:29:33 PST 2008
--- Comment #12 from Tom Henderson <tomh at tomh.org> 2008-12-19 16:29:33 EDT ---
Craig is going to investigate the following:
1) indirect the proposed Node::GetDeviceByName (std::string name) through the
NameList, allowing for non-unique names such as "eth0", and remove the private
std::string in class NetDevice (also remove the channel name).
2) try to prototype whether these names could also be used in the config
There are additionally some API issues regarding how we expose this at the
helper API level, beyond whether the names exist also in the config namespace.
For instance, one can conceive of a CsmaHelper that, by default or by explicit
configuration, adds an "eth" or "csm" prefix name to all devices when created,
and does the right thing to assign "eth0" "eth1" (or "csm0" "csm1") in order,
so that later, a user would have the expectation that if there is one CSMA
device on the node, it must be "csm0"
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