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 B737B45A42; Fri, 27 Sep 2024 11:42:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51FEA4025D; Fri, 27 Sep 2024 11:42:16 +0200 (CEST) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mails.dpdk.org (Postfix) with ESMTP id B756D4021E for ; Fri, 27 Sep 2024 11:42:15 +0200 (CEST) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a8d100e9ce0so191982366b.2 for ; Fri, 27 Sep 2024 02:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1727430135; x=1728034935; darn=dpdk.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SmjXW1pyCl5/y6sdOX4MLqSOVSBPia+6aNvYCwaCm80=; b=OffBSuYRQm4FqmbL/WRa9TlHEM/OfsYEYuG2ewlFqfVH9SI/O7NxwyT/aY/0bMefWv KdQ9AmY0YF7sj+n3Ue2qTk6ZYTevJgG1VLL7mb8aXgcoUkz3fasHqZmPQiaDcBkxm1+T 595ZZ9hpTx0rdjAHms90HDsI562yhNHPhUoIiZNqwS1kxHbVLqw3kJ/89u59VFsln6gZ ntx8NXyTaZdG3xZMIVAX5aPEiT3ZzjE8hQdZuISP52hVgKxc+nQoOXvzEmP6NXlf4eDE MsRbja3CCdxyFGr1fS6f65DCUqvAp1a1Ckivy64047c26ftFGxq5Yu/ibxtjqbBxTzLb Bc6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727430135; x=1728034935; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SmjXW1pyCl5/y6sdOX4MLqSOVSBPia+6aNvYCwaCm80=; b=RJEoVjewh9td5u0ExMLCSqilOZ5q6tG0owZZOGGbbA9Ri0e4g635rXLZRD/dRsKgZK gvx7MZ3oNIyRiIfn5USdOj+Q83n+wOSZyOcCqvXpxnorDr/Qy4mmIecCgyXzPhEz8dky 9muZ89yvM7ZbpamXaxPbrpEoXhJRiQtUVhnNBTIEsj8pU/WmLIl5lOJAcOzXYy6fq92T 3bVCoIcTWLxIPNwPpR6shG0/xA3155ay/C6t0kItzahLLQQXzIf+RW8kYJLcaAE0qp4K fDrdHP4QlWUveAF5IdvoM55eO5GFKwpCsgF2druvRZoWKtB9rZnPrfV5Tteqp/Mn3LeC Zo7A== X-Gm-Message-State: AOJu0YxeTU54SlfM2xJ0/SWgFgzacmnyhDkp11dCcn69BUExIn4F6GCY F2nZrSUvCBh6s+nACDzA9Gs3sYTpHgusZcpMWD9OjFO4e+vm59NcR8kSdM9WP6o= X-Google-Smtp-Source: AGHT+IHv/1MHBPI3Mzr2BN5AVqQ6nvf6r1xilmqgklcPlkWeAN8PKV5DRkcIgVqimE1+ckxHqqd42A== X-Received: by 2002:a17:907:3f97:b0:a8a:8d81:97a8 with SMTP id a640c23a62f3a-a93c48f661fmr230140866b.1.1727430135174; Fri, 27 Sep 2024 02:42:15 -0700 (PDT) Received: from [192.168.200.22] ([84.245.121.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c299aca5sm110855366b.224.2024.09.27.02.42.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Sep 2024 02:42:14 -0700 (PDT) Message-ID: Date: Fri, 27 Sep 2024 11:42:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/1] dts: use PythonShell for Scapy instead of XML-RPC To: jspewock@iol.unh.edu, Luca.Vizzarro@arm.com, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, npratte@iol.unh.edu, thomas@monjalon.net, alex.chapman@arm.com, probb@iol.unh.edu, Honnappa.Nagarahalli@arm.com, wathsala.vithanage@arm.com Cc: dev@dpdk.org References: <20240605175227.7003-1-jspewock@iol.unh.edu> <20240926165024.12323-1-jspewock@iol.unh.edu> <20240926165024.12323-2-jspewock@iol.unh.edu> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240926165024.12323-2-jspewock@iol.unh.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 26. 9. 2024 18:50, jspewock@iol.unh.edu wrote: > From: Jeremy Spewock > > 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 > --- Reviewed-by: Juraj Linkeš