diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-01-28 10:33:36 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-28 10:40:24 +0000 |
commit | f941eb706efe809a6fbd839e92cc044853339444 (patch) | |
tree | b28a3bfe6265fc708f49cf0e346ce8b6b07aacc4 /resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py | |
parent | f9adb55599dd2e3564e66c5a4f6d46b99efedbb9 (diff) |
FIX: dot1qip4vxlan tests
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ieb6e6010108987f99f55730149e3e4b7f1a7fc21
(cherry picked from commit 97dbe2feecc6d592db7427c4f1a72c1ac31990d1)
Diffstat (limited to 'resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py')
-rwxr-xr-x | resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py index b65803bdfd..1e78cd3cae 100755 --- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py +++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py @@ -199,8 +199,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_ip", pkt_offset=86 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] ) @@ -264,8 +266,10 @@ class TrafficStreams(TrafficStreamsBaseClass): fv_name=u"in_ip", pkt_offset=86 ), - STLVmFixIpv4( - offset=u"IP" + STLVmFixChecksumHw( + l3_offset="IP:{}".format(0), + l4_offset="UDP:{}".format(0), + l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP ) ] ) |