From f65cc17cd3a460f8d63d89c0e9aad3cb3c806523 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Tue, 29 May 2018 23:42:05 +0200 Subject: [PATCH] traffic-control: Remove deprecated QueueDisc attributes --- CHANGES.html | 5 + examples/tcp/tcp-variants-comparison.cc | 8 +- .../examples/main-attribute-value.cc | 4 +- src/traffic-control/doc/queue-discs.rst | 2 +- src/traffic-control/examples/pie-example.cc | 2 +- src/traffic-control/examples/red-tests.cc | 3 +- src/traffic-control/model/codel-queue-disc.cc | 113 +----------------- src/traffic-control/model/codel-queue-disc.h | 71 ----------- .../model/fq-codel-queue-disc.cc | 24 +--- .../model/fq-codel-queue-disc.h | 18 --- .../model/pfifo-fast-queue-disc.cc | 24 +--- .../model/pfifo-fast-queue-disc.h | 18 --- src/traffic-control/model/pie-queue-disc.cc | 75 +----------- src/traffic-control/model/pie-queue-disc.h | 45 ------- src/traffic-control/model/red-queue-disc.cc | 57 +-------- src/traffic-control/model/red-queue-disc.h | 38 ------ 16 files changed, 25 insertions(+), 482 deletions(-) diff --git a/CHANGES.html b/CHANGES.html index 4d1a4e7a2..2b3442cf1 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -81,6 +81,11 @@ or with a string value with 'b' (bytes) or 'p' (packets) suffix, such as: Config::SetDefault ("ns3::QueueBase::MaxSize", StringValue ("4p")); +
  • The Limit attribute of the PfifoFastQueueDisc class, that had been deprecated in favor of the MaxSize attribute in ns-3.28, has now been removed and cannot be used anymore. Likewise, the methods to get/set the old Limit attribute have been removed as well. The GetMaxSize/SetMaxSize methods of the base QueueDisc class must be used instead.
  • +
  • The Mode, MaxPackets and MaxBytes attributes of the CoDelQueueDisc class, that had been deprecated in favor of the MaxSize attribute in ns-3.28, have now been removed and cannot be used anymore. Likewise, the methods to get/set the old attributes have been removed as well. The GetMaxSize/SetMaxSize methods of the base QueueDisc class must be used instead.
  • +
  • The PacketLimit attribute of the FqCoDelQueueDisc class, that had been deprecated in favor of the MaxSize attribute in ns-3.28, has now been removed and cannot be used anymore. Likewise, the methods to get/set the old PacketLimit attribute have been removed as well. The GetMaxSize/SetMaxSize methods of the base QueueDisc class must be used instead.
  • +
  • The Mode and QueueLimit attributes of the PieQueueDisc class, that had been deprecated in favor of the MaxSize attribute in ns-3.28, have now been removed and cannot be used anymore. Likewise, the methods to get/set the old attributes have been removed as well. The GetMaxSize/SetMaxSize methods of the base QueueDisc class must be used instead.
  • +
  • The Mode and QueueLimit attributes of the RedQueueDisc class, that had been deprecated in favor of the MaxSize attribute in ns-3.28, have now been removed and cannot be used anymore. Likewise, the methods to get/set the old attributes have been removed as well. The GetMaxSize/SetMaxSize methods of the base QueueDisc class must be used instead.
  • Changes to build system: