Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add: avf-dot1q testcases
[csit.git]
/
resources
/
traffic_profiles
/
trex
/
trex-sl-dot1qip4-vlan1ip4src254ip4dst254.py
diff --git
a/resources/traffic_profiles/trex/trex-sl-dot1qip4-vlan1ip4src254ip4dst254.py
b/resources/traffic_profiles/trex/trex-sl-dot1qip4-vlan1ip4src254ip4dst254.py
index
be58eb4
..
bf51519
100755
(executable)
--- a/
resources/traffic_profiles/trex/trex-sl-dot1qip4-vlan1ip4src254ip4dst254.py
+++ b/
resources/traffic_profiles/trex/trex-sl-dot1qip4-vlan1ip4src254ip4dst254.py
@@
-65,13
+65,13
@@
class TrafficStreams(TrafficStreamsBaseClass):
"""
# Direction 0 --> 1
"""
# Direction 0 --> 1
- base_pkt_a = (Ether(
dst='ba:dc:00:ff:ee:01'
) /
+ base_pkt_a = (Ether() /
Dot1Q(vlan=self.p1_vlan_start) /
IP(src=self.p1_src_start_ip,
dst=self.p1_dst_start_ip,
proto=61))
# Direction 1 --> 0
Dot1Q(vlan=self.p1_vlan_start) /
IP(src=self.p1_src_start_ip,
dst=self.p1_dst_start_ip,
proto=61))
# Direction 1 --> 0
- base_pkt_b = (Ether(
dst='ba:dc:00:ff:ee:01'
) /
+ base_pkt_b = (Ether() /
Dot1Q(vlan=self.p2_vlan_start) /
IP(src=self.p2_src_start_ip,
dst=self.p2_dst_start_ip,
Dot1Q(vlan=self.p2_vlan_start) /
IP(src=self.p2_src_start_ip,
dst=self.p2_dst_start_ip,