[ndnSIM] question for topology

aaronishere aaronishere at qq.com
Wed Mar 6 16:48:30 PST 2013

Hi, Alex
Sorry to bother you again
I'm still not clear about how to use the topology 
I copied the ndn-grid-topo-plugin under the file .../ndnSIM-sample-topologies/scenario and changed it like below :

main (int argc, char *argv[])
  RocketfuelWeightsReader  topologyReader ("", 25);
  topologyReader.SetFileName ("topologies/bw-delay-rand-1/1221.r0-conv-annotated.txt");
  topologyReader.Read ();
  // Getting containers for the consumer/producer
  Ptr<Node> producer = Names::Find<Node> ("bb-781");
  NodeContainer consumerNodes;
  consumerNodes.Add (Names::Find<Node> ("leaf-4349"));

but typed LD_LIBRARY_PATH=/usr/local/lib ./waf --run ndn-grid-topo-plugin --vis , it showed

Waf: Entering directory `/home/ndnSIM/ndnSIM-sample-topologies/build'
Waf: Leaving directory `/home/ndnSIM/ndnSIM-sample-topologies/build'
'build' finished successfully (0.024s)
assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=419
terminate called without an active exception

Thanks a lot! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130307/0d4a7cfe/attachment.html>

More information about the ndnSIM mailing list