commit | 04a62d16130e23bfa0a36b1fb5baa7df93c4e5c8 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Wed Oct 06 17:37:36 2021 +0200 |
committer | Daniele Moro <daniele@opennetworking.org> | Thu Oct 07 22:26:10 2021 +0200 |
tree | 9562542281d1a981ac87fbd2afd4be45a80f6858 | |
parent | a8cf76a5599f798f491cde4caaebb002b911553d [diff] [blame] |
[SDFAB-644] QoS test for with non-mobile traffic classification Change-Id: I69e4617fbee1628b3427f2f8be60dec2c8aa95e8
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/trex.py b/TestON/tests/USECASE/SegmentRouting/dependencies/trex.py index 9b15811..d710d07 100644 --- a/TestON/tests/USECASE/SegmentRouting/dependencies/trex.py +++ b/TestON/tests/USECASE/SegmentRouting/dependencies/trex.py
@@ -173,6 +173,10 @@ packet["gtp_teid"] = int(packet["gtp_teid"]) if "pktlen" in packet.keys(): packet["pktlen"] = int(packet["pktlen"]) + if "udp_dport" in packet.keys(): + packet["udp_dport"] = int(packet["udp_dport"]) + if "udp_sport" in packet.keys(): + packet["udp_sport"] = int(packet["udp_sport"]) return packet @staticmethod