aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/traffic_profile/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/network_services/traffic_profile/http.py')
-rw-r--r--yardstick/network_services/traffic_profile/http.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/network_services/traffic_profile/http.py b/yardstick/network_services/traffic_profile/http.py
index 2d00fb849..31ab17ef7 100644
--- a/yardstick/network_services/traffic_profile/http.py
+++ b/yardstick/network_services/traffic_profile/http.py
@@ -24,6 +24,10 @@ class TrafficProfileGenericHTTP(TrafficProfile):
def __init__(self, TrafficProfile):
super(TrafficProfileGenericHTTP, self).__init__(TrafficProfile)
+ def get_links_param(self):
+ return {k: v for k, v in self.params.items() if
+ "uplink" in k or "downlink" in k}
+
def execute(self, traffic_generator):
''' send run traffic for a selected traffic generator'''
pass