a better internet for test-lte-epc-e2e-data
authorNicola Baldo <nbaldo@cttc.es>
Fri, 18 Nov 2011 18:31:46 +0100
changeset 8397 cf637a1c2be8
parent 8396 1e4c8e544f60
child 8398 407c931b9d27
a better internet for test-lte-epc-e2e-data
src/lte/test/test-lte-epc-e2e-data.cc
--- a/src/lte/test/test-lte-epc-e2e-data.cc	Fri Nov 18 18:13:23 2011 +0100
+++ b/src/lte/test/test-lte-epc-e2e-data.cc	Fri Nov 18 18:31:46 2011 +0100
@@ -119,6 +119,9 @@
 
   // Create the internet
   PointToPointHelper p2ph;
+  p2ph.SetDeviceAttribute ("DataRate", DataRateValue (DataRate ("100Gb/s")));
+  p2ph.SetDeviceAttribute ("Mtu", UintegerValue (1500));
+  p2ph.SetChannelAttribute ("Delay", TimeValue (Seconds (0.010)));  
   NetDeviceContainer internetDevices = p2ph.Install (pgw, remoteHost);  
   Ipv4AddressHelper ipv4h;
   ipv4h.SetBase ("1.0.0.0", "255.0.0.0");
@@ -206,7 +209,7 @@
             
     } 
 
-  Simulator::Stop (Seconds (5.0));  
+  Simulator::Stop (Seconds (1.0));  
   Simulator::Run ();
 
   for (std::vector<EnbTestData>::iterator enbit = m_enbTestData.begin ();