DTS testpmd and SCAPY integration

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Mon Jan 8 18:35:04 CET 2024



> -----Original Message-----
> From: Luca Vizzarro <Luca.Vizzarro at arm.com>
> Sent: Monday, January 8, 2024 6:18 AM
> To: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>; Etelson,
> Gregory <getelson at nvidia.com>; thomas at monjalon.net; Juraj Linkeš
> <juraj.linkes at pantheon.tech>; Paul Szczepanek <Paul.Szczepanek at arm.com>;
> Yoan Picchi <yoan.picchi at foss.arm.com>; Jeremy Spewock
> <jspewock at iol.unh.edu>; Patrick Robb <probb at iol.unh.edu>; ci at dpdk.org;
> dev at dpdk.org
> Subject: Re: DTS testpmd and SCAPY integration
> 
> Hi Honnappa,
> 
> > YAML has wide support built around it. By using our own text format, we will
> have to build the parsing support etc ourselves.
> >
> > However, YAML is supposed to be easy to read and understand. Is it just a
> matter for getting used to it?
> 
> I may be wrong, please feel free to correct me, but I believe what Gregory
> meant is to write raw Scapy and testpmd commands directly in YAML-written
> tests. As in, we wouldn't be using our own text format, we'd just need to feed
> the raw commands from YAML straight to the Scapy and testpmd shells.
> Finally, validate their responses to what was set in the YAML test. In Gregory's
> example this is just comparing stdout.
Yes, I have misunderstood Gregory's proposal. I am all for using YAML. Let us discuss more in the DTS meetings and hear what others have to say.

> 
> Best,
> Luca


More information about the dev mailing list