Changeset 3718 for source/ariba/Node.cpp


Ignore:
Timestamp:
May 27, 2009, 8:13:08 AM (15 years ago)
Author:
Christoph Mayer
Message:

-dynamische wahl des overlays durch den initiator, nodes kriegen bei join mitgeteilt welche overlay struktur zu verwenden ist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r3578 r3718  
    6464                        ariba_mod.getBootstrapNode(vnetname);
    6565        if( ep == NULL ) {
    66                 std::cout << "no bootstrap node defined" << std::endl; 
     66                std::cout << "no bootstrap node defined" << std::endl;
    6767                return;
    6868        }
     
    7373
    7474void Node::initiate(const Name& vnetname, const SpoVNetProperties& parm) {
    75         utility::OverlayParameterSet ovrpset =
     75        utility::OverlayParameterSet ovrpset;
     76        ovrpset.setOverlayStructure(
    7677                        (utility::OverlayParameterSet::_OverlayStructure)
    77                         parm.getBaseOverlayType();
     78                        parm.getBaseOverlayType()
     79                        );
    7880
    7981        spovnetId = vnetname.toSpoVNetId();
     
    8385
    8486        base_overlay->start( *ariba_mod.base_comm, nodeId );
    85         base_overlay->createSpoVNet( spovnetId );
     87        base_overlay->createSpoVNet( spovnetId, ovrpset );
    8688
    8789        ariba_mod.addBootstrapNode(vnetname,
Note: See TracChangeset for help on using the changeset viewer.