From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A76F843864; Mon, 8 Jan 2024 13:29:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A29D94067B; Mon, 8 Jan 2024 13:29:40 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 5805040263; Mon, 8 Jan 2024 13:17:56 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BE56AC15; Mon, 8 Jan 2024 04:18:41 -0800 (PST) Received: from [192.168.50.86] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 728033F64C; Mon, 8 Jan 2024 04:17:54 -0800 (PST) Message-ID: <41fda532-9b11-43f3-b99f-46bd61779a96@arm.com> Date: Mon, 8 Jan 2024 12:17:53 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: DTS testpmd and SCAPY integration Content-Language: en-GB To: Honnappa Nagarahalli , "Etelson, Gregory" , "thomas@monjalon.net" , =?UTF-8?Q?Juraj_Linke=C5=A1?= , Paul Szczepanek , Yoan Picchi , Jeremy Spewock , Patrick Robb , "ci@dpdk.org" , "dev@dpdk.org" References: <2a287ee7-cda4-f2ab-a4e6-a47021f8573f@nvidia.com> From: Luca Vizzarro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 08 Jan 2024 13:29:39 +0100 X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org 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. Best, Luca