summaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/traffic_profile/prox_ACL.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/network_services/traffic_profile/prox_ACL.py')
-rw-r--r--yardstick/network_services/traffic_profile/prox_ACL.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/network_services/traffic_profile/prox_ACL.py b/yardstick/network_services/traffic_profile/prox_ACL.py
index 7f2255d99..7a2280016 100644
--- a/yardstick/network_services/traffic_profile/prox_ACL.py
+++ b/yardstick/network_services/traffic_profile/prox_ACL.py
@@ -45,7 +45,8 @@ class ProxACLProfile(ProxProfile):
test_value = self.upper_bound
# throughput and packet loss from the last successful test
for _ in range(self.prox_config["attempts"]):
- result, port_samples = traffic_gen.run_test(pkt_size, duration,
- test_value, self.tolerated_loss)
+ result, port_samples = self._profile_helper.run_test(pkt_size, duration,
+ test_value, self.tolerated_loss)
+
samples = result.get_samples(pkt_size, result.pkt_loss, port_samples)
self.queue.put(samples)