diff options
author | 2017-08-31 01:08:41 -0700 | |
---|---|---|
committer | 2017-08-31 13:57:06 -0700 | |
commit | ea9c974d0951bbdce8ae584606c566a83868cb19 (patch) | |
tree | 093fcd87241bdcea2ce8ae85eace5d554f3094f3 /yardstick | |
parent | ad748320c73587fd09ef7204f03ba3d74567ba78 (diff) |
Enable update ip headers for given testcase
Change-Id: I008b3f09695f5e3f484b39d4e70b83e5942de863
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
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 |