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

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Aug 7 12:28:24 PDT 2008


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

           Summary: star topologies are painful to create
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: helpers
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: mathieu.lacage at sophia.inria.fr


This is especially obvious when using the BridgeNetDevice/BridgeHelper.

I would like to propose adding both methods:
std::pair<NetDeviceContainer,NetDeviceContainer> 
CsmaHelper::InstallStar (Ptr<Node> center, const NodeContainer &terminals);

std::pair<NetDeviceContainer,NetDeviceContainer> 
PointToPointHelper::InstallStar (Ptr<Node> center, const NodeContainer
&terminals);

The biggest issue with this proposal is what should be the return value of
InstallStar. As an alternative to the above proposal, we could create a
NetDeviceContainerPair class to mirror our use of std:: containers in the
helper API.


-- 
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