[Ns-bugs] [Bug 277] star topologies are painful to create

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Aug 11 11:34:50 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=277





------- Comment #10 from mathieu.lacage at sophia.inria.fr  2008-08-11 14:34 -------
(In reply to comment #9)
> If any amount of code can be reused easily without copy/paste across multiple
> source files, it should be done.

There is, of course, no such black-or-white answer to the problem and your
comment shows it particularly well. Code reuse has costs. One of them is the
one you outline below: its does not deal particularly well with variant
behaviors, hence leading the system to behave in weird ways in some cases. So,
reusing 5 lines of a trivial for loop must be weighted against allowing
weird/invalid object/code combinations. I personnally could live with either
solution but I want to make sure that the consequences of that code reuse are
clear to everyone.

> The open question in my mind then becomes how do we handle when topology
> helpers are being used with incompatible device/link types?

That is clearly one of the issues which must be addressed.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list