aboutsummaryrefslogtreecommitdiffstats
path: root/GPL/traffic_profiles/trex
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-06-10 08:02:29 +0000
committerpmikus <pmikus@cisco.com>2021-06-10 11:05:48 +0000
commit7829fea4a2c8936513fa95215b7d84997f814a69 (patch)
treea75d02efa5a270fbe31a845bcc3fc66de76bb827 /GPL/traffic_profiles/trex
parent8b25b4e89bdba964f2a3d602b8c47f551a084724 (diff)
FIX: Pylint reduce
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I909942dbb920df7f0fe15c0c92cda92c3cd8d8ad
Diffstat (limited to 'GPL/traffic_profiles/trex')
-rw-r--r--GPL/traffic_profiles/trex/profile_trex_astf_base_class.py2
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-2n-dot1qip4asym-ip4src254.py30
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc500kdst500k.py18
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc50kdst50k.py8
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc5kdst5k.py8
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-2cnf.py3
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-1cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-2cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-4cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-8cnf.py1
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000.py2
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc500kdst500k.py8
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc5kdst5k.py8
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-3n-ethip4udp-10u15p.py4
-rw-r--r--GPL/traffic_profiles/trex/trex-stl-dot1qip4vxlan-ip4src8udpsrcrnd.py3
44 files changed, 46 insertions, 81 deletions
diff --git a/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py b/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py
index 80ae78fc5a..e36e52c2c1 100644
--- a/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py
+++ b/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py
@@ -133,7 +133,7 @@ class TrafficProfileBaseClass:
"""
self.framesize = kwargs[u"framesize"]
self._pcap_dir = kwargs.get(
- u"pcap_dir",u"/opt/trex-core-2.88/scripts/avl"
+ u"pcap_dir", u"/opt/trex-core-2.88/scripts/avl"
)
return self.create_profile()
diff --git a/GPL/traffic_profiles/trex/trex-stl-2n-dot1qip4asym-ip4src254.py b/GPL/traffic_profiles/trex/trex-stl-2n-dot1qip4asym-ip4src254.py
index f5da9d95b7..91df41eba7 100644
--- a/GPL/traffic_profiles/trex/trex-stl-2n-dot1qip4asym-ip4src254.py
+++ b/GPL/traffic_profiles/trex/trex-stl-2n-dot1qip4asym-ip4src254.py
@@ -70,24 +70,24 @@ class TrafficStreams(TrafficStreamsBaseClass):
# Direction 0 --> 1
base_pkt_a = (
- Ether() /
- IP(
- src=self.p1_src_start_ip,
- dst=self.p1_dst_start_ip,
- proto=61
- )
+ Ether() /
+ IP(
+ src=self.p1_src_start_ip,
+ dst=self.p1_dst_start_ip,
+ proto=61
+ )
)
# Direction 1 --> 0
base_pkt_b = (
- Ether() /
- Dot1Q(
- vlan=self.vlan_id
- ) /
- IP(
- src=self.p2_src_start_ip,
- dst=self.p2_dst_start_ip,
- proto=61
- )
+ Ether() /
+ Dot1Q(
+ vlan=self.vlan_id
+ ) /
+ IP(
+ src=self.p2_src_start_ip,
+ dst=self.p2_dst_start_ip,
+ proto=61
+ )
)
# Direction 0 --> 1
diff --git a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc500kdst500k.py b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc500kdst500k.py
index 7792236269..73c36ef2a1 100644
--- a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc500kdst500k.py
+++ b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc500kdst500k.py
@@ -95,15 +95,15 @@ class TrafficStreams(TrafficStreamsBaseClass):
)
# Direction 1 --> 0
base_pkt_b = (
- Ether(
- src=self.p2_src_start_mac,
- dst=self.p2_dst_start_mac
- ) /
- IP(
- src=self.p2_src_start_ip,
- dst=self.p2_dst_start_ip,
- proto=61
- )
+ Ether(
+ src=self.p2_src_start_mac,
+ dst=self.p2_dst_start_mac
+ ) /
+ IP(
+ src=self.p2_src_start_ip,
+ dst=self.p2_dst_start_ip,
+ proto=61
+ )
)
# Direction 0 --> 1
diff --git a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc50kdst50k.py b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc50kdst50k.py
index 49d1032abb..535aa73e4f 100644
--- a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc50kdst50k.py
+++ b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc50kdst50k.py
@@ -124,11 +124,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
@@ -176,11 +176,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
diff --git a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc5kdst5k.py b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc5kdst5k.py
index d71c2d6eab..a9039fa49f 100644
--- a/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc5kdst5k.py
+++ b/GPL/traffic_profiles/trex/trex-stl-2n-ethip4-macsrc5kdst5k.py
@@ -125,11 +125,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
@@ -177,11 +177,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-1cnf.py
index 9d15e9ea28..615ca88bb4 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-2cnf.py
index 7fefc279db..5f9a9d6b68 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-2cnf.py
@@ -163,4 +163,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-4cnf.py
index e8fc20f488..04cfa5f2fb 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-8cnf.py
index ab2aaae36a..2b43760b05 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst1000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-1cnf.py
index 90c741d7dc..a997d8f5bc 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-2cnf.py
index 34a089abf1..db49cb73bc 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-4cnf.py
index 24611f1ec6..749258b8c5 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-8cnf.py
index 8217450185..a5ae2e2b55 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst10000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-1cnf.py
index 76a8299904..10e6a50d95 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-2cnf.py
index dff6e0209e..65f9d18ee0 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-4cnf.py
index c28e214995..ff02a2b811 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-8cnf.py
index 664e341b07..ce85e17c5e 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst20000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-2cnf.py
index 858ff84652..b34518f4b9 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-4cnf.py
index 42698bf7dc..3e941b98bd 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst4-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-1cnf.py
index a52c3d91e8..0acbfb701d 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-2cnf.py
index 78be186d91..e58d437753 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-2cnf.py
@@ -145,7 +145,7 @@ class TrafficStreams(TrafficStreamsBaseClass):
STLVmWrFlowVar(
fv_name=u"dst",
pkt_offset=u"IP.dst"
- ),
+ ),
STLVmFixIpv4(
offset=u"IP"
)
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-4cnf.py
index e49ffeeacd..6fce1ed791 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-8cnf.py
index b09b024a16..7a65d7ccad 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-1cnf.py
index 1af2c4c841..8b0df91ba5 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-2cnf.py
index 4acd1faf40..a40792ad0c 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-4cnf.py
index 302bd20f3c..0553e6faeb 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-8cnf.py
index e92efb927e..9ee65eb354 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst400-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-1cnf.py
index 14e258552b..7da9933da0 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-2cnf.py
index ac0c503f67..518e4b0d2d 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-4cnf.py
index 2c301efed2..d9dade68d0 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-8cnf.py
index 96bc3fbb26..7dc9410fd7 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst40000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-1cnf.py
index 02620e00e9..367624ea07 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-2cnf.py
index 03662d514e..c528be7a31 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-4cnf.py
index d8f8e69a6d..9df1f4da36 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-8cnf.py
index 1c793b98a1..4d062b4573 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst5000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-1cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-1cnf.py
index 43ef04ffbe..76cb46592b 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-1cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-1cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-2cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-2cnf.py
index 5a8c9f7f3d..f8d84c7696 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-2cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-2cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-4cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-4cnf.py
index 5fc755b2d1..c97f1ca176 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-4cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-4cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-8cnf.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-8cnf.py
index f655046bea..3d225f8ce3 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-8cnf.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000-8cnf.py
@@ -164,4 +164,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000.py
index d00fb76e78..53cef6b1ab 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-ip4dst60000.py
@@ -96,7 +96,7 @@ class TrafficStreams(TrafficStreamsBaseClass):
STLVmWrFlowVar(
fv_name=u"dst",
pkt_offset=u"IP.dst"
- ),
+ ),
STLVmFixIpv4(
offset=u"IP"
)
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc500kdst500k.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc500kdst500k.py
index c2e37fd3cd..1cbbffdb2a 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc500kdst500k.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc500kdst500k.py
@@ -125,11 +125,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
@@ -177,11 +177,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc5kdst5k.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc5kdst5k.py
index d71c2d6eab..a9039fa49f 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc5kdst5k.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4-macsrc5kdst5k.py
@@ -125,11 +125,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
@@ -177,11 +177,11 @@ class TrafficStreams(TrafficStreamsBaseClass):
),
STLVmWrFlowVar(
fv_name=u"mac_src",
- pkt_offset= 8
+ pkt_offset=8
),
STLVmWrFlowVar(
fv_name=u"mac_dst",
- pkt_offset= 2
+ pkt_offset=2
),
STLVmFlowVar(
name=u"ip_src",
diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4udp-10u15p.py b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4udp-10u15p.py
index 9b85dd529d..c84838d2f9 100644
--- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip4udp-10u15p.py
+++ b/GPL/traffic_profiles/trex/trex-stl-3n-ethip4udp-10u15p.py
@@ -92,7 +92,7 @@ class TrafficStreams(TrafficStreamsBaseClass):
)
# Direction 1 --> 0
base_pkt_b = (
- Ether() /
+ Ether() /
IP(
src=self.p2_src_start_ip,
dst=self.p2_dst_start_ip,
@@ -130,7 +130,7 @@ class TrafficStreams(TrafficStreamsBaseClass):
# Direction 0 --> 1
vm2 = STLScVmRaw(
[
- STLVmFlowVar(
+ STLVmFlowVar(
name=u"dport",
min_value=self.p2_dst_start_udp_port,
max_value=self.p2_dst_end_udp_port,
diff --git a/GPL/traffic_profiles/trex/trex-stl-dot1qip4vxlan-ip4src8udpsrcrnd.py b/GPL/traffic_profiles/trex/trex-stl-dot1qip4vxlan-ip4src8udpsrcrnd.py
index a1cf195bfa..0e2ac5ecaf 100644
--- a/GPL/traffic_profiles/trex/trex-stl-dot1qip4vxlan-ip4src8udpsrcrnd.py
+++ b/GPL/traffic_profiles/trex/trex-stl-dot1qip4vxlan-ip4src8udpsrcrnd.py
@@ -60,7 +60,7 @@ _VXLAN_FLAGS = list(u"R"*24 + u"RRRIRRRRR")
class VXLAN(Packet):
- name=u"VXLAN"
+ name = u"VXLAN"
fields_desc = [
FlagsField(u"flags", 0x08000000, 32, _VXLAN_FLAGS),
ThreeBytesField(u"vni", 0),
@@ -295,4 +295,3 @@ def register():
:rtype: Object
"""
return TrafficStreams()
-