* [dts][PATCH V2] framework/packet: optimize support for more gtp modules
@ 2023-03-28 7:39 Weiyuan Li
2023-04-11 7:48 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Weiyuan Li @ 2023-03-28 7:39 UTC (permalink / raw)
To: dts; +Cc: Weiyuan Li
For packet.py, only support limited gtp modules, some test cases require support for the echo-request/echo-reponse modules.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
v2:
-fix format issue.
framework/packet.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/framework/packet.py b/framework/packet.py
index f56bf178..ae99b6b7 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -45,7 +45,12 @@ if not os.path.exists(TMP_PATH):
os.system("mkdir -p %s" % TMP_PATH)
scapy_modules_required = {
- "scapy.contrib.gtp": ["GTP_U_Header", "GTPPDUSessionContainer"],
+ "scapy.contrib.gtp": [
+ "GTP_U_Header",
+ "GTPPDUSessionContainer",
+ "GTPEchoRequest",
+ "GTPEchoResponse",
+ ],
"scapy.contrib.lldp": ["LLDPDU", "LLDPDUManagementAddress"],
"scapy.contrib.pfcp": ["PFCP"],
"scapy.contrib.nsh": ["NSH"],
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-11 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 7:39 [dts][PATCH V2] framework/packet: optimize support for more gtp modules Weiyuan Li
2023-04-11 7:48 ` lijuan.tu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).