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 02EDD46134; Wed, 29 Jan 2025 23:11:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92E954026B; Wed, 29 Jan 2025 23:11:17 +0100 (CET) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mails.dpdk.org (Postfix) with ESMTP id 94F9B40156 for ; Wed, 29 Jan 2025 23:11:16 +0100 (CET) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7b98a2e3b3eso12200885a.2 for ; Wed, 29 Jan 2025 14:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1738188676; x=1738793476; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8kPZThm67xW3zqB7tCwXomRAg9/BaFaRmfNNI4pPtZw=; b=gEFae4ID4jNw1AEiol+iDq7j4ufXrBJrDiCZjEXE5vvTK9FlnB78q/ehDVlSi12Pkp wKsNZpM4KVku0RV1CVd3nlwfA6cPXyVB+e7ZWsDQ3zL9nq9fwJ4gbINy6bl0LTH3Mq32 GcyfMLIcEqVBnjSYqEZ3Ckf5s5UAPNAdwMbP4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738188676; x=1738793476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8kPZThm67xW3zqB7tCwXomRAg9/BaFaRmfNNI4pPtZw=; b=ute8lmIM9YRB60dhzukUUM1n4RRlrFi+MvJ0QqFfALP3FEMVguziwrlLetXgHS6MJ3 CqFx2+r0E1kBU95TiPRNs/FroQu6JH7izu6sa9+660RMOB+UhE11yv10ohd60N/Vt4OA g1fUbXmygM+p6FEbWX1pG4Nat1jt74anPXbpI9HEIrG4v647EqBri08Qqk1tMSUerTFp 8LiKQZ3Qj39REXHaLuxZ9E9GyIgczLh4Xj3czUsWnY7Gh2HIhuHLnRdKVize3dN+fmsu FOEDhfSeIvlG7kzLfuvKqkzt8ds7L3lmnz+oSW8Afn3kcv4xbl4pR7u/hVGh6f9BaTAy 70LQ== X-Forwarded-Encrypted: i=1; AJvYcCXyeen2eMolm5khjfXnCQkUsO8l9xATOa7vQ3DHOm4H0ucafpsT/l3vyz2cQasSxcsMND4=@dpdk.org X-Gm-Message-State: AOJu0YwpIATW2Za5rPD/gHqpfH46oDod6CZ2qVtp8FTJlynchx6edZwX Sz2bkdZZoVzprNNIL3u/jI8L98cUgebB3upAqW7ti8isDUmGGZOi9zM0vtpxqdzJgzyNlDVx+zX A X-Gm-Gg: ASbGncsJEgxw6Jam1xzvg8pmoY0yOnPOabqukOS0i6/utSWgadyvQ6XL2N4IFa5TwsP b51O+z5QKNeGO1vocr4nrcLTBXaHodazdcyqytCuQWBjuYB2227E9ZQ1qNs0QZiVQZfl+joRNe4 0Gg6LxAnYT/ZhvGHWY1BVmxMVODu9p8mS8gMyJZUMuytiwrkSFUbNOzbLrmkzBIYgSNJE+X7sOE qQ4KVWyPWvOALmkuJtpQycXjIeTXaKc6h8ApUOQuzWc1sUACgICFFAqi9gqzBl4rvsFh9uL74AA ucQXXHcZUv1UW8AAer6YQn1k6M1h1bcINr1WmMRznTGVlw99RUpmtb4= X-Google-Smtp-Source: AGHT+IGtJcPy1Y94+1GgXIJ6VHdsH8uhRL0wHaByHDYUT319wyEIukMiTNy6PscqPzWx0bRfeV0yNg== X-Received: by 2002:a05:620a:4509:b0:7b6:c4c7:ecfe with SMTP id af79cd13be357-7bffccc980bmr726601985a.4.1738188675777; Wed, 29 Jan 2025 14:11:15 -0800 (PST) Received: from d121003.iol.unh.edu ([2606:4100:3880:1271:8c70:5b9e:ecd3:14e]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c00a8bbaa1sm9145285a.16.2025.01.29.14.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 14:11:14 -0800 (PST) From: Patrick Robb To: paul.szczepanek@arm.com Cc: Luca.Vizzarro@arm.com, dev@dpdk.org, Patrick Robb Subject: [PATCH] dts: add sudo to linux link up Date: Wed, 29 Jan 2025 17:08:10 -0500 Message-ID: <20250129220810.261925-1-probb@iol.unh.edu> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 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 Fixes: 41d133d6c62f ("dts: automatically bring up link on interfaces") Cc: probb@iol.unh.edu Signed-off-by: Patrick Robb --- dts/framework/testbed_model/linux_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/framework/testbed_model/linux_session.py b/dts/framework/testbed_model/linux_session.py index e77fe9b692..d811d002ca 100644 --- a/dts/framework/testbed_model/linux_session.py +++ b/dts/framework/testbed_model/linux_session.py @@ -169,7 +169,7 @@ def update_ports(self, ports: list[Port]) -> None: def bring_up_link(self, ports: list[Port]) -> None: """Overrides :meth:`~.os_session.OSSession.bring_up_link`.""" for port in ports: - self.send_command(f"ip link set dev {port.logical_name} up") + self.send_command(f"sudo ip link set dev {port.logical_name} up", verify=True) def _get_lshw_info(self) -> list[LshwOutput]: output = self.send_command("lshw -quiet -json -C network", verify=True) -- 2.48.1