diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-04-11 18:32:52 +0100 |
---|---|---|
committer | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-06-12 08:31:13 +0100 |
commit | e5c78ae3ec1bcf0cb44646c6031fb9c04dd63e4a (patch) | |
tree | ac9d27d964de4f686f46f0144fa9ce3133288ec9 /yardstick/network_services/traffic_profile/ixia_rfc2544.py | |
parent | 8d10a6a8447fc2798491a6f3856e21b85fa309ba (diff) |
Improve IXIA IxNetwork library and traffic profile (3)
This patch modifies IP packet parameters.
"IxNextgen.update_ip_packet" modifies the L3 packet according to the
test case and setup the IP addresses.
JIRA: YARDSTICK-1116
Change-Id: I46ff75ab1989d0e6f5cc876418a015386717e06f
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'yardstick/network_services/traffic_profile/ixia_rfc2544.py')
-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 ec354c8df..453c58622 100644 --- a/yardstick/network_services/traffic_profile/ixia_rfc2544.py +++ b/yardstick/network_services/traffic_profile/ixia_rfc2544.py @@ -84,8 +84,8 @@ class IXIARFC2544Profile(TrexProfile): if key.startswith((self.UPLINK, self.DOWNLINK)): value["iload"] = str(self.rate) ixia_obj.update_frame(traffic) - ixia_obj.add_ip_header(traffic, 4) - ixia_obj.ix_start_traffic() + ixia_obj.update_ip_packet(traffic) + ixia_obj.start_traffic() self.tmp_drop = 0 self.tmp_throughput = 0 |