aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_profiles/trex
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-01-28 10:33:36 +0000
committerPeter Mikus <pmikus@cisco.com>2020-01-28 10:40:08 +0000
commit97dbe2feecc6d592db7427c4f1a72c1ac31990d1 (patch)
tree9c351030894ae2394c57ac02882387d271fbaf3f /resources/traffic_profiles/trex
parenta4882cb1547e2abf424bb53f424439989fc3b6e7 (diff)
FIX: dot1qip4vxlan tests
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ieb6e6010108987f99f55730149e3e4b7f1a7fc21
Diffstat (limited to 'resources/traffic_profiles/trex')
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src1udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src4udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py12
-rwxr-xr-xresources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py12
7 files changed, 56 insertions, 28 deletions
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py
index e286a1e8d5..32ca072154 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src10udpsrcrnd.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
)
]
)
@@ -263,8 +265,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
)
]
)
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
)
]
)
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py
index a622830675..d195bc5b61 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src2udpsrcrnd.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
)
]
)
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src4udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src4udpsrcrnd.py
index 91ab119cc8..8a7bc08b1b 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src4udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src4udpsrcrnd.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
)
]
)
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py
index ccc8484808..fe46844571 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src6udpsrcrnd.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
)
]
)
diff --git a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py
index 9209aed8b9..cf34818781 100755
--- a/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-dot1qip4vxlan-ip4src8udpsrcrnd.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
)
]
)
diff --git a/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py b/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py
index cf97364da6..cd1a0a690c 100755
--- a/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py
+++ b/resources/traffic_profiles/trex/trex-sl-ethip4vxlan-ip4src1udpsrcrnd.py
@@ -182,8 +182,10 @@ class TrafficStreams(TrafficStreamsBaseClass):
fv_name=u"in_mac",
pkt_offset=60
),
- STLVmFixIpv4(
- offset=u"IP"
+ STLVmFixChecksumHw(
+ l3_offset="IP:{}".format(0),
+ l4_offset="UDP:{}".format(0),
+ l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP
)
]
)
@@ -237,8 +239,10 @@ class TrafficStreams(TrafficStreamsBaseClass):
fv_name=u"in_mac",
pkt_offset=60
),
- STLVmFixIpv4(
- offset=u"IP"
+ STLVmFixChecksumHw(
+ l3_offset="IP:{}".format(0),
+ l4_offset="UDP:{}".format(0),
+ l4_type=CTRexVmInsFixHwCs.L4_TYPE_UDP
)
]
)