Cover Detail
Show a cover letter.
GET /api/covers/129571/?format=api
http://patchwork.dpdk.org/api/covers/129571/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20230717110709.39220-1-juraj.linkes@pantheon.tech/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230717110709.39220-1-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/20230717110709.39220-1-juraj.linkes@pantheon.tech", "date": "2023-07-17T11:07:03", "name": "[v2,0/6] dts: tg abstractions and scapy tg", "submitter": { "id": 1626, "url": "http://patchwork.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20230717110709.39220-1-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 28953, "url": "http://patchwork.dpdk.org/api/series/28953/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28953", "date": "2023-07-17T11:07:03", "name": "dts: tg abstractions and scapy tg", "version": 2, "mbox": "http://patchwork.dpdk.org/series/28953/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/129571/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 80B7C42E9B;\n\tMon, 17 Jul 2023 13:07:14 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 06ECB40E25;\n\tMon, 17 Jul 2023 13:07:14 +0200 (CEST)", "from mail-ej1-f47.google.com (mail-ej1-f47.google.com\n [209.85.218.47]) by mails.dpdk.org (Postfix) with ESMTP id 612A040698\n for <dev@dpdk.org>; Mon, 17 Jul 2023 13:07:12 +0200 (CEST)", "by mail-ej1-f47.google.com with SMTP id\n a640c23a62f3a-98e011f45ffso545682866b.3\n for <dev@dpdk.org>; Mon, 17 Jul 2023 04:07:12 -0700 (PDT)", "from jlinkes-PT-Latitude-5530.. (ip-46.34.239.87.o2inet.sk.\n [46.34.239.87]) by smtp.gmail.com with ESMTPSA id\n s21-20020a170906355500b0098de7d28c34sm8995051eja.193.2023.07.17.04.07.10\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 17 Jul 2023 04:07:11 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=pantheon.tech; s=google; t=1689592032; x=1692184032;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=iI6sI+iQdwdjwbM8X7Ie+CYj1St0l3V1Bw89nm/uW18=;\n b=kO2WQT0xylgDJDPrV7v53R0R3UYu1BbNCPteyU0tI9/cyAOvxvX+3cGTeeBWEvrt2p\n Az69yQQTcenwDbJWhxUNR3reFGQZH8A4kJlmc2xRgnqlXH1gh2FmXGPgSDQSwzgn1FYJ\n 5AlthqT0CXayxR8S1+phnSJKE21uuQZtm1muPGDKjK09hcJvlVy+ImqxI39bAY0JfQQI\n mB4HLATiPfP8sJMeRvUr9V5w72Y4Es78oMZLGw2ZubCAwyob810EOrlx93AQqetp5TiO\n SC42s7ChBSkEQ3AkhmJXZC1gS4F3Dx8LyAUnQvcpwz/cIyUkGWVvlCfmgbo8n5DqWpUA\n DMxw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1689592032; x=1692184032;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=iI6sI+iQdwdjwbM8X7Ie+CYj1St0l3V1Bw89nm/uW18=;\n b=HtduwRzBRDdIefC5bl1Rh+c86xsaDuKQK+rLIYptkvjG9B5pZdSgMfhN9H3XC/b6Cr\n GlG2ANvUy7d160qW7Zj2/vUMpHwvz4IRBAGI+jo6MRmWnlwDxJxTGyGIWn6FdYKhQ5YQ\n 3Cv2KYhES5s2LjQcdbs8xlkAPiAqP4q6lD0ft9taO7Bpt3i8Fwx2igQ3vucNQOPqcNVN\n zMO6WX0l/PuUk9WfwTokL2+RMtRZTjNR5jAI47cixewE4Gom3zIsR/gWotGclhK11Z54\n Yp/7o/OFij2IHWI85qR9w7zhsw8ra0LA3CpBal6spRGHnKT604Rm8NuDPk7Ge6tWwEnD\n JySw==", "X-Gm-Message-State": "ABy/qLYzO2MOh3KZaGUcxIU6BSEKM0Jzk1XvFdsy2ZS4yJzbBQKy7rDo\n lOHKn7Gyn3bjSVtZUkPe/BP21g==", "X-Google-Smtp-Source": "\n APBJJlErOBZwazl5t9DansxU5VwsOn3qkS1q6bGym4sznyPXAR5ItpQKdeIsBXHva0V9zCLqIKWENQ==", "X-Received": "by 2002:a17:906:c205:b0:993:f9d4:eab3 with SMTP id\n d5-20020a170906c20500b00993f9d4eab3mr9389729ejz.18.1689592031784;\n Mon, 17 Jul 2023 04:07:11 -0700 (PDT)", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, lijuan.tu@intel.com,\n jspewock@iol.unh.edu, probb@iol.unh.edu", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Subject": "[PATCH v2 0/6] dts: tg abstractions and scapy tg", "Date": "Mon, 17 Jul 2023 13:07:03 +0200", "Message-Id": "<20230717110709.39220-1-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230420093109.594704-1-juraj.linkes@pantheon.tech>", "References": "<20230420093109.594704-1-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "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>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Add abstractions for traffic generator split into those that can and\ncan't capture traffic.\n\nThe Scapy implementation uses an XML-RPC server for remote control. This\nrequires an interactive session to add Scapy funcions to the server. The\ninteractive session code is based on another patch [0].\n\nThe basic test case is there to showcase the Scapy implementation - it\nsends just one UDP packet and verifies it on the other end.\n\n[0]: http://patches.dpdk.org/project/dpdk/patch/20230713165347.21997-3-jspewock@iol.unh.edu/\n\nJuraj Linkeš (6):\n dts: add scapy dependency\n dts: add traffic generator config\n dts: traffic generator abstractions\n dts: add python remote interactive shell\n dts: scapy traffic generator implementation\n dts: add basic UDP test case\n\n doc/guides/tools/dts.rst | 31 ++\n dts/conf.yaml | 27 +-\n dts/framework/config/__init__.py | 115 ++++---\n dts/framework/config/conf_yaml_schema.json | 32 +-\n dts/framework/dts.py | 65 ++--\n dts/framework/remote_session/__init__.py | 3 +-\n dts/framework/remote_session/linux_session.py | 96 ++++++\n dts/framework/remote_session/os_session.py | 75 +++--\n .../remote_session/remote/__init__.py | 1 +\n .../remote/interactive_shell.py | 18 +-\n .../remote_session/remote/python_shell.py | 24 ++\n .../remote_session/remote/testpmd_shell.py | 33 +-\n dts/framework/test_suite.py | 221 ++++++++++++-\n dts/framework/testbed_model/__init__.py | 1 +\n .../capturing_traffic_generator.py | 135 ++++++++\n dts/framework/testbed_model/hw/port.py | 60 ++++\n dts/framework/testbed_model/node.py | 64 +++-\n dts/framework/testbed_model/scapy.py | 290 ++++++++++++++++++\n dts/framework/testbed_model/sut_node.py | 52 ++--\n dts/framework/testbed_model/tg_node.py | 99 ++++++\n .../testbed_model/traffic_generator.py | 72 +++++\n dts/framework/utils.py | 13 +\n dts/poetry.lock | 21 +-\n dts/pyproject.toml | 1 +\n dts/tests/TestSuite_os_udp.py | 45 +++\n dts/tests/TestSuite_smoke_tests.py | 6 +-\n 26 files changed, 1434 insertions(+), 166 deletions(-)\n create mode 100644 dts/framework/remote_session/remote/python_shell.py\n create mode 100644 dts/framework/testbed_model/capturing_traffic_generator.py\n create mode 100644 dts/framework/testbed_model/hw/port.py\n create mode 100644 dts/framework/testbed_model/scapy.py\n create mode 100644 dts/framework/testbed_model/tg_node.py\n create mode 100644 dts/framework/testbed_model/traffic_generator.py\n create mode 100644 dts/tests/TestSuite_os_udp.py" }{ "id": 129571, "url": "