Adding sequence number tracer
diff --git a/examples/synthetic-topology.cc b/examples/synthetic-topology.cc
index 11f930f..971bbe1 100644
--- a/examples/synthetic-topology.cc
+++ b/examples/synthetic-topology.cc
@@ -93,6 +93,7 @@
consumerHelper.SetPrefix ("/6");
consumerHelper.SetAttribute ("MeanRate", StringValue ("2Mbps"));
+ consumerHelper.SetAttribute ("Size", StringValue ("1.0"));
ApplicationContainer consumers = consumerHelper.Install (Names::Find<Node> ("/synthetic", "c1"));
consumerHelper.SetPrefix ("/7");
@@ -108,9 +109,9 @@
ApplicationContainer consumers4 = consumerHelper.Install(Names::Find<Node> ("/synthetic", "c4"));
consumers.Start (Seconds (0));
- consumers2.Start (Seconds (10));
- consumers3.Start (Seconds (20));
- consumers4.Start (Seconds (30));
+ consumers2.Start (Seconds (2.5));
+ consumers3.Start (Seconds (5));
+ consumers4.Start (Seconds (7.5));
/////////////////////////////////////////////
@@ -146,7 +147,8 @@
// traceHelper.EnableAggregateL3All ();
// traceHelper.SetL3TraceFile ("trace-l3.log");
// traceHelper.SetAppTraceFile ("trace-app.log");
- traceHelper.EnableRateL3All ("rate-trace.log");
+ // traceHelper.EnableRateL3All ("rate-trace.log");
+ traceHelper.EnableSeqsAppAll ("ns3::CcnxConsumer", "consumers-seqs.log");
NS_LOG_INFO ("Run Simulation.");
Simulator::Run ();
diff --git a/examples/synthetic-topology.txt b/examples/synthetic-topology.txt
index a5c5446..260f6ab 100644
--- a/examples/synthetic-topology.txt
+++ b/examples/synthetic-topology.txt
@@ -16,9 +16,9 @@
#OSPF weight on 04/10/2003 (see http://www.abilene.iu.edu/images/Ab-IGP-topo.jpg)
#x y capacity(kbps) OSPF Delay MaxPackets
c1 n1 10Mbps 1 50ms 200
-c2 n1 10Mbps 1 1ms 200
-c3 n1 10Mbps 1 1ms 200
-n1 n2 1Mbps 1176 1ms 20
+c2 n1 10Mbps 1 10ms 200
+c3 n1 10Mbps 1 100ms 200
+n1 n2 1Mbps 1176 20ms 20
n1 n12 1Mbps 587 1ms 20
n12 n2 1Mbps 846 1ms 20
n2 p1 10Mbps 260 1ms 200