[V2] framework/packet: optimize support for more gtp modules
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
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>
---
v2:
-fix format issue.
framework/packet.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Comments
On Tue, 28 Mar 2023 15:39:45 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> 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>
Reviewed-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
@@ -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"],