aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-01 20:36:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-01 20:36:40 +0000
commita99e33c3d866da0de7be6f3c5ecdf9a33aedd12e (patch)
tree83ec3e9ba8b0933b152952d49bde4394f5cfaab1
parentf1825df147027f63a51a6ef736bd1670690adcae (diff)
parenteb9654bc488b6f40ce75baeb45fc06a3c56e9344 (diff)
Merge "Fix src/dst ip update in ixia configuration"
-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'],
},