[V1] framework/packet: optimize support for more gtp modules
Checks
Commit Message
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>
---
framework/packet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -45,7 +45,7 @@ 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"],