An Overlay-based
Virtual Network Substrate
SpoVNet

Changeset 6760


Ignore:
Timestamp:
Oct 30, 2009, 2:50:12 PM (11 years ago)
Author:
mies
Message:

added dht test case

Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r5993 r6760  
    5353sample/Makefile
    5454sample/pingpong/Makefile
     55sample/testdht/Makefile
    5556docu/Makefile
    5657docu/doxygen/Makefile
  • sample/Makefile.am

    r2411 r6760  
    1 SUBDIRS = pingpong
     1SUBDIRS = pingpong testdht
  • source/ariba/overlay/BaseOverlay.cpp

    r6584 r6760  
    18921892        stabilizeRelays();
    18931893        stabilizeLinks();
     1894        stabilizeDHT();
    18941895}
    18951896
    18961897
    18971898// ----------------------------------------------------------------------------
    1898 
    1899 
    19001899
    19011900/// stabilize DHT state
     
    20062005        // calculate hash
    20072006        NodeID dest = NodeID::sha1(key.getBuffer(), key.getLength() / 8);
    2008         OverlayMsg msg(OverlayMsg::typeDHTRemove);
     2007        OverlayMsg msg(OverlayMsg::typeDHTGet);
    20092008        DHTMessage dhtmsg(key);
    20102009        msg.setDestinationNode(dest);
     
    20142013}
    20152014
    2016 
    20172015}} // namespace ariba, overlay
Note: See TracChangeset for help on using the changeset viewer.