From eb9654bc488b6f40ce75baeb45fc06a3c56e9344 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Fri, 29 Sep 2017 18:35:09 -0700 Subject: Fix src/dst ip update in ixia configuration Change-Id: I03976c182e164a512a5ef48ad20928f27451c3f6 Signed-off-by: Deepak S --- yardstick/network_services/traffic_profile/ixia_rfc2544.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yardstick/network_services/traffic_profile') diff --git a/yardstick/network_services/traffic_profile/ixia_rfc2544.py b/yardstick/network_services/traffic_profile/ixia_rfc2544.py index 53a99bf0b..7881131a7 100644 --- a/yardstick/network_services/traffic_profile/ixia_rfc2544.py +++ b/yardstick/network_services/traffic_profile/ixia_rfc2544.py @@ -67,8 +67,8 @@ class IXIARFC2544Profile(TrexProfile): 'count': ip['count'], 'dscp': ip['dscp'], 'ttl': ip['ttl'], - src_key: ip[src_key], - dst_key: ip[dst_key], + src_key: ip[src_key].split("-")[0], + dst_key: ip[dst_key].split("-")[0], 'type': key, 'proto': ip['proto'], }, -- cgit 1.2.3-korg