From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D39BE438F2; Thu, 18 Jan 2024 13:32:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5D2940295; Thu, 18 Jan 2024 13:32:53 +0100 (CET) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by mails.dpdk.org (Postfix) with ESMTP id 1130940285 for <dev@dpdk.org>; Thu, 18 Jan 2024 13:32:51 +0100 (CET) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a2cea0563cbso943342766b.3 for <dev@dpdk.org>; Thu, 18 Jan 2024 04:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1705581171; x=1706185971; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Mg+xWpBfozVcMt09QJ/TLmWkyS1glaeVmCZKp1RNTIM=; b=swXYT2YAgvLB1NOn3E3eUEx041EPTxoj37JeFb2Pe+zHRWjwKrhvhAdJWsbkskYSVS SWs05v3PE1TOJeXcOG0YPKG0HI6dI4itICZuFGw05JJkqNvnZWuhjABdf1YsdhMAj9Ah aXgbOMf0n/6+IhuI8voMSockjC+Zs0rzaDKDAzWIOmzqikib81UJlMMmCFveqArsMtOt MYJc0EzBVZ4OIPrHC2xZrCIiggcrgDs/K/hu1dJuwLRAcW+LDZlJ/L26EEDc4AqcdB2q Dfc17LUm8qaxrdn4aIFloch5upmXdF/w7G9IoNOQRco/toxSp7TbGrs1ZDE6KJ5M8Ke9 d/mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705581171; x=1706185971; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Mg+xWpBfozVcMt09QJ/TLmWkyS1glaeVmCZKp1RNTIM=; b=KW7m1vO4BLSXJy/pD19zfw4DYUGwqaHz7eZI3a1xOrih9rtyM/JBWLJZSpwNY+vStV +DcSBE7C0PhqgBheZMG2dEdbP4Hj4VOJhYn+tmOkgkNneSxwQflQTTLe62LeKD6ZCvbx BegxPExwcaYCG//NDN/MiV7UvQ+Kt24GVDkRkqvZjKiPERO6kVxO2WiC34ktBn+FGJd7 tJdwEZ6t0OHgfgj5nGtXpdMIJS7E8Uf5G0Ae2CTViQHmdAE5vYbhAC38q6I5r0fFUSqr AZOSichMmIz3pWE23LjH/odWGS/D75cFcElH8TNWJtQmJvspsoMP3wobZNmMu56Bo2TV z6TQ== X-Gm-Message-State: AOJu0Yy8kZ9ZFfm309Qw7MX0y2j+MJC4QAniH9AlH7EVGsX9pivqmvZm fAlGgomjyZ6ZmPxQpgfp57OXsXpbM38kBa1W50SsInj4bvM4YuDpJ48FQUKo4SD/BomKaBX+mOu UMhE7T/iwdNQktJUq+eEh6+Fd27xy5sKJ2/6wCA== X-Google-Smtp-Source: AGHT+IGapJzh/SbFr7uCXTCc12dPR0Emr5Fz2qt5MQ9YU54/f4NG3UAvcDJtEzh4EbO7Nk6dBEbBDGSXYDtXaayohhI= X-Received: by 2002:a17:907:78c7:b0:a2c:b5a1:f8 with SMTP id kv7-20020a17090778c700b00a2cb5a100f8mr499225ejc.37.1705581170835; Thu, 18 Jan 2024 04:32:50 -0800 (PST) MIME-Version: 1.0 References: <2a287ee7-cda4-f2ab-a4e6-a47021f8573f@nvidia.com> <DBAPR08MB5814862CC7A1630D1F5139D7986B2@DBAPR08MB5814.eurprd08.prod.outlook.com> <377a847b-7be4-bda7-9020-173b2ca5bc92@nvidia.com> <DBAPR08MB581418ECB454AADFF4939982986B2@DBAPR08MB5814.eurprd08.prod.outlook.com> In-Reply-To: <DBAPR08MB581418ECB454AADFF4939982986B2@DBAPR08MB5814.eurprd08.prod.outlook.com> From: =?UTF-8?Q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech> Date: Thu, 18 Jan 2024 13:32:39 +0100 Message-ID: <CAOb5WZarn-+==hyeCeyfOV=eZi=EH5OAxuCRZ0mfijmm88v2jg@mail.gmail.com> Subject: Re: DTS testpmd and SCAPY integration To: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com> Cc: "Etelson, Gregory" <getelson@nvidia.com>, "thomas@monjalon.net" <thomas@monjalon.net>, Paul Szczepanek <Paul.Szczepanek@arm.com>, Luca Vizzarro <Luca.Vizzarro@arm.com>, Yoan Picchi <yoan.picchi@foss.arm.com>, Jeremy Spewock <jspewock@iol.unh.edu>, Patrick Robb <probb@iol.unh.edu>, "ci@dpdk.org" <ci@dpdk.org>, "dev@dpdk.org" <dev@dpdk.org>, nd <nd@arm.com>, Asaf Penso <asafp@nvidia.com>, Maayan Kashani <mkashani@nvidia.com> Content-Type: multipart/alternative; boundary="000000000000d2d8d2060f378f16" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org --000000000000d2d8d2060f378f16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi folks, Let me summarize the yesterday's discussion in a few keys points: - Greg's proposal aims at simplicity and is useful mainly for test cases which can be written in a few minutes. More complex test cases are not suitable for the YAML approach. - The above implies that the YAML based test cases would be supported alongside the existing approach. This fast way to implement simple test cases would likely be a valuable addition. - The big picture idea behind the YAML test cases is to take an application with interactive input, send commands, collect output and compare the output with expected string(s). - Greg may be able to make the code available and may assess how to integrate it with DTS. Regards, Juraj On Mon, Jan 8, 2024 at 6:36=E2=80=AFPM Honnappa Nagarahalli < Honnappa.Nagarahalli@arm.com> wrote: > <snip> > > > > > Hello Honnappa, > > > > [snip] > > > > > Hi Gregory, > > > I do not fully understand your proposal, it will be helpful to > join the DTS > > meetings to discuss this further. > > > > > > > Agree, let's discuss the proposal details during the DTS meeting. > > > > > 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 selected YAML for 2 reasons: > > * Plain and intuitive YAML format minimized test meta data. > > By the meta data I refer to control tags and markup characters > > that are not test commands. > > * YAML has Python parser. > I have mis-understood your proposal. I agree with your above comments. > +1 for the proposal. > > > > > Regards, > > Gregory > > > > > > --000000000000d2d8d2060f378f16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi folks,<div><br></div><div>Let me summarize the yesterda= y's discussion in a few keys points:</div><div><ul><li>Greg's propo= sal aims at simplicity and is useful mainly for test cases which can be wri= tten in a few minutes. More complex test cases are not suitable for the YAM= L approach.</li><li>The above implies=C2=A0that the YAML based test cases w= ould be supported alongside the existing approach. This fast way to impleme= nt simple test cases would likely be a valuable addition.<br></li><li>The b= ig picture idea behind the YAML test cases is to take an application with i= nteractive input, send commands, collect output and compare the output with= expected string(s).</li><li>Greg may be able to make the code available an= d may assess how to integrate it with DTS.</li></ul><div>Regards,</div></di= v><div>Juraj</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla= ss=3D"gmail_attr">On Mon, Jan 8, 2024 at 6:36=E2=80=AFPM Honnappa Nagarahal= li <<a href=3D"mailto:Honnappa.Nagarahalli@arm.com">Honnappa.Nagarahalli= @arm.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex"><snip><br> <br> > <br> > Hello Honnappa,<br> > <br> > [snip]<br> > <br> > > Hi Gregory,<br> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 I do not fully understand your proposa= l, it will be helpful to join the DTS<br> > meetings to discuss this further.<br> > ><br> > <br> > Agree, let's discuss the proposal details during the DTS meeting.<= br> > <br> > > YAML has wide support built around it. By using our own text form= at, we will<br> > have to build the parsing support etc ourselves.<br> > ><br> > > However, YAML is supposed to be easy to read and understand. Is i= t just a<br> > matter for getting used to it?<br> > ><br> > <br> > I selected YAML for 2 reasons:<br> >=C2=A0 =C2=A0 * Plain and intuitive YAML format minimized test meta dat= a.<br> >=C2=A0 =C2=A0 =C2=A0 By the meta data I refer to control tags and marku= p characters<br> >=C2=A0 =C2=A0 =C2=A0 that are not test commands.<br> >=C2=A0 =C2=A0 * YAML has Python parser.<br> I have mis-understood your proposal. I agree with your above comments.<br> +1 for the proposal.<br> <br> > <br> > Regards,<br> > Gregory<br> > <br> > <br> <br> </blockquote></div> --000000000000d2d8d2060f378f16--