aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/traffic_profile/ixia_rfc2544.py
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-09-29 18:35:09 -0700
committerDeepak S <deepak.s@linux.intel.com>2017-09-29 18:36:35 -0700
commiteb9654bc488b6f40ce75baeb45fc06a3c56e9344 (patch)
tree646ee9fba4baeeec3ef22a7864d2f35875222ad6 /yardstick/network_services/traffic_profile/ixia_rfc2544.py
parent2cc3ef430319e1b3b4984737abc656349ae1bc5c (diff)
Fix src/dst ip update in ixia configuration
Change-Id: I03976c182e164a512a5ef48ad20928f27451c3f6 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'yardstick/network_services/traffic_profile/ixia_rfc2544.py')
-rw-r--r--yardstick/network_services/traffic_profile/ixia_rfc2544.py4
1 files changed, 2 insertions, 2 deletions
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'],
},