Migrate Trex TG to use new NSPerf-RFC2544 scenario
[yardstick.git] / yardstick / network_services / traffic_profile / ixia_rfc2544.py
index ab347bc..c4664a3 100644 (file)
@@ -28,7 +28,6 @@ class IXIARFC2544Profile(trex_traffic_profile.TrexProfile):
     UPLINK = 'uplink'
     DOWNLINK = 'downlink'
     DROP_PERCENT_ROUND = 6
-    RATE_ROUND = 5
     STATUS_SUCCESS = "Success"
     STATUS_FAIL = "Failure"
 
@@ -171,10 +170,6 @@ class IXIARFC2544Profile(trex_traffic_profile.TrexProfile):
 
         self.ports = [port for port in port_generator()]
 
-    def _get_next_rate(self):
-        rate = round(float(self.max_rate + self.min_rate)/2.0, self.RATE_ROUND)
-        return rate
-
     def _get_framesize(self):
         framesizes = []
         traffic = self._get_ixia_traffic_profile(self.full_profile)