diff options
author | 2017-08-31 22:53:16 +0000 | |
---|---|---|
committer | 2017-08-31 22:53:16 +0000 | |
commit | 4f797e46089c51bd73d1a61bd8130c8bdf526f9d (patch) | |
tree | d7a9378972c4ceef46090d1cb5c99820ee1b86bd /yardstick | |
parent | ea8d64b33130e75de84f711b04a4eabd32ba75e6 (diff) | |
parent | ea9c974d0951bbdce8ae584606c566a83868cb19 (diff) |
Merge "Enable update ip headers for given testcase"
Diffstat (limited to 'yardstick')
-rw-r--r-- | yardstick/network_services/libs/ixia_libs/IxNet/IxNet.py | 4 | ||||
-rw-r--r-- | yardstick/network_services/traffic_profile/ixia_rfc2544.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/yardstick/network_services/libs/ixia_libs/IxNet/IxNet.py b/yardstick/network_services/libs/ixia_libs/IxNet/IxNet.py index 2b8905b4f..38831ee86 100644 --- a/yardstick/network_services/libs/ixia_libs/IxNet/IxNet.py +++ b/yardstick/network_services/libs/ixia_libs/IxNet/IxNet.py @@ -113,10 +113,10 @@ class IxNextgen(object): } MODE_SEEDS_MAP = { - 0: ('private', ['256', '2048']), + 0: ('private_1', ['256', '2048']), } - MODE_SEEDS_DEFAULT = 'public', ['2048', '256'] + MODE_SEEDS_DEFAULT = 'public_1', ['2048', '256'] @staticmethod def find_view_obj(view_name, views): diff --git a/yardstick/network_services/traffic_profile/ixia_rfc2544.py b/yardstick/network_services/traffic_profile/ixia_rfc2544.py index 5ba00180b..ba532b820 100644 --- a/yardstick/network_services/traffic_profile/ixia_rfc2544.py +++ b/yardstick/network_services/traffic_profile/ixia_rfc2544.py @@ -74,7 +74,7 @@ class IXIARFC2544Profile(TrexProfile): traffic[key]["iload"] = str(self.rate) ixia_obj.ix_update_frame(traffic) ixia_obj.ix_update_ether(traffic) - # ixia_obj.ix_update_ipv4(traffic) + ixia_obj.add_ip_header(traffic, 4) ixia_obj.ix_start_traffic() self.tmp_drop = 0 self.tmp_throughput = 0 |