[PATCH v5 1/1] dts: use PythonShell for Scapy instead of XML-RPC

Juraj Linkeš juraj.linkes at pantheon.tech
Fri Sep 27 11:42:13 CEST 2024



On 26. 9. 2024 18:50, jspewock at iol.unh.edu wrote:
> From: Jeremy Spewock <jspewock at iol.unh.edu>
> 
> Previously all scapy commands were handled using an XML-RPC server that
> ran on the TGNode. This unnecessarily enforces a minimum Python version
> of 3.10 on the server that is being used as a traffic generator and
> complicates the implementation of scapy methods. This patch removes the
> XML-RPC server completely and instead allows the Scapy TG to extend from
> the PythonShell to implement the functionality of a traffic generator.
> This is done by importing the Scapy library in the PythonShell and
> sending commands directly to the interactive session on the TG Node.
> 
> Bugzilla ID: 1374
> 
> Signed-off-by: Jeremy Spewock <jspewock at iol.unh.edu>
> ---

Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>


More information about the dev mailing list