Hi David,


Snice some protocols are only supported by scapy 2.4.4, it's recemented that 
scapy 2.4.4 as major version for DTS.

However perf users might not care these advanced protocols, to be compatible 
with trex, dts captured these exceptions and let it go through.

Fix was contained in the latest DTS. Could you update it.



commit 362ae41844e1992163b4eed53a721729985644be

Author: Chen, BoX C <box.c.c...@intel.com>

Date:   Wed Nov 4 10:52:09 2020 +0800



    framework: fix Trex mode not working

    DTS requires Trex compatible scapy, modify package loading mode and scapy 
version verification rules



    Signed-off-by: Chen, BoX C <box.c.c...@intel.com>


From: David Liu <d...@iol.unh.edu>
Sent: 2020年11月18日 4:24
To: Tu, Lijuan <lijuan...@intel.com>
Cc: dpdk-dev <dev@dpdk.org>
Subject: DTS Test Nic Single Core Perf Scapy Naming Conflict

Hi Lijuan,

I currently have issues with running the Nic Single-Core Perf Test.
I believe this is the scapy naming conflict issue, so I follow the solution
mentioned on the website to replace system scapy with trex scapy.
Then I got into another error that I wasn't able to get pass:

root@arm-dell:/opt/dts# ./dts
Traceback (most recent call last):
  File "./main.py", line 50, in <module>
    import dts
  File "/opt/dts/framework/dts.py", line 47, in <module>
    from tester import Tester
  File "/opt/dts/framework/tester.py", line 52, in <module>
    from packet import SCAPY_IMP_CMD
  File "/opt/dts/framework/packet.py", line 72, in <module>
    locals().update({clazz: getattr(module, clazz)})
AttributeError: module 'scapy.contrib.gtp' has no attribute 
'GTPPDUSessionContainer'

Do you have any clue how to fix this?

Thanks.
David

Reply via email to