diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-09-29 18:35:09 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-10-02 15:16:04 -0700 |
commit | 8f57623185bf321a9e44321aa6f968be0c4aad92 (patch) | |
tree | 1674347639435d644afda4fc87c860a603c299f4 | |
parent | 8ae63e17a4f6934895d69f4c8b4dbc7628d48526 (diff) |
Fix src/dst ip update in ixia configuration
Change-Id: I03976c182e164a512a5ef48ad20928f27451c3f6
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
-rw-r--r-- | yardstick/network_services/traffic_profile/ixia_rfc2544.py | 4 |
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'], }, |