From nobody Thu Feb 9 16:11:20 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PCMLJ5dVhz3plLH; Thu, 9 Feb 2023 16:11:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PCMLJ548Jz4Hq9; Thu, 9 Feb 2023 16:11:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675959080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yTsQGFo41bRNZwddD5Jj1A3KFMnRhu1Z0gO3HnGNPto=; b=nkoLDExfBEPOO6emfFaVhWEK4CUjMuaJ6VcoLoCVfmyfJbe8P3obTXNELpW3RKfHLLkki8 7WmVkh6QWCsVqlRi8UEWIlp+1y91FTvDtiYfM4zJPXFxadDe0t1A5aP8LnrQ39XxZavyMN GVOJ1ImNZaqVDuzQYycKsgj37Zbw01ycrvjUGbZQgm8NVZSX2Rtc+LL1PpEQ8E9ml6bi5w gr1PeS7K0nDR1fnboO63J65u2YedF4ubt2l8XhCQ3ai1cEMChGCiHzH0zY791Op5OIq6uQ lCuNP4MYOGbevMKGfIGFlnKJDojSLaaL0mFiwvlDwq/BN6WDCCHqIgGlrihgLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675959080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yTsQGFo41bRNZwddD5Jj1A3KFMnRhu1Z0gO3HnGNPto=; b=W9+Q6drUH2hQeiQ8+Oe3As9jcxcIaPozznkrgv8MzKeAj6vYISxEXVGf15jgIvm2tv9hZG diJK23byNVHkiwIAO7dUHSG8QyIAFPb6M9F9ndxP5nIgS5nbgvgKnzgmLwQpyknAUqasD4 nvzIUIDmLq1WPlt9vgUAFWbp2xHVQWSvk7G9xHdThjRNYl8iQ13+KHWAWGALLq+AzDwq6K sZViYtPbEfA65FTd0OT8R8l9WUBtI5sVPaL5bsPWX/aHWLp1poY1zDfnUT00ZfB0tGQQN5 Xxlvmu+i9Tppv5/M5jrm2tXt70aUcIyc+LBZHWPXAfypYnexTzWBod3LbmBgDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675959080; a=rsa-sha256; cv=none; b=tCHdYd+XuYzvBfTzGhW8jdegTXQQDVK11MajCqqP5rhuXd23GkaUN0ubFAsWWSodcTilU+ YkOesxWmfUXdqvGbEZTgSvGCLdrWK63taG+9IJO3Pz8JCX2LHmGHv9dQzjVh88WFrOQF4t i5SgVgB84F5dpUvVxbkLFD1tCpSXdz6CzPkxFDXlN3/KOec5m3mQwbpir8Ydb3FTh5ow8I nFvCJCH5QZm6Z8FCbj+HzTnLL2pIpufmuAAGGfBBoFyrWPJ9PaA+JLgfFslSJfFjXxA/vU SRD1bcPNUM81sfegEh+IlmbIb1s/2BCnnVt5z26l8x5SY3M/MIIq3J9d8iIeQQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PCMLJ46vDzjlc; Thu, 9 Feb 2023 16:11:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 319GBK6L005354; Thu, 9 Feb 2023 16:11:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 319GBKeI005353; Thu, 9 Feb 2023 16:11:20 GMT (envelope-from git) Date: Thu, 9 Feb 2023 16:11:20 GMT Message-Id: <202302091611.319GBKeI005353@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 7c8355d205e7 - stable/13 - tests: Add an IPv4 loopback address of 127.0.0.1/8 to the lo0 interface by default when creating VNETSs using pytest. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7c8355d205e7490c61af1b0d9e20addea10cb513 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=7c8355d205e7490c61af1b0d9e20addea10cb513 commit 7c8355d205e7490c61af1b0d9e20addea10cb513 Author: Jose Luis Duran AuthorDate: 2023-01-11 14:33:58 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-02-09 15:44:42 +0000 tests: Add an IPv4 loopback address of 127.0.0.1/8 to the lo0 interface by default when creating VNETSs using pytest. Reviewed By: asomers Differential Revision: https://reviews.freebsd.org/D38021 (cherry picked from commit 4856aeaaed17726a1dfa5dd6c736e5b0851255b6) --- tests/atf_python/sys/net/vnet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/atf_python/sys/net/vnet.py b/tests/atf_python/sys/net/vnet.py index aca1b53d388c..1a8efe0d9edc 100644 --- a/tests/atf_python/sys/net/vnet.py +++ b/tests/atf_python/sys/net/vnet.py @@ -92,6 +92,7 @@ class VnetInterface(object): def setup_loopback(cls, vnet_name: str): lo = VnetInterface("", "lo0") lo.set_vnet(vnet_name) + lo.setup_addr("127.0.0.1/8") lo.turn_up() @classmethod