From nobody Wed Jan 11 14:58:09 2023 X-Original-To: dev-commits-src-main@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 4NsW5G0hWZz2p6S9; Wed, 11 Jan 2023 14:58:10 +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 4NsW5G0FPpz4HdL; Wed, 11 Jan 2023 14:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673449090; 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=ZmwbRIM9bDjjFmOALrhVWlnvMslqkM11SxIs9ZPEe0I=; b=ybWv24l/bUMpykJ5Am80+7ic5IhGmaWwXa0ffMMg9ySgYr9IBKI9WqzyUy3zMaK3n2578e 8jLhNgZ+CliJUWO5x0ZhNL22VKeuO2NUtKfKMuMsx5xOEKb8NOQgfIknr4/DtvAGhhEl+r 4kPQ1ZbgHtbrVRIGsrQZ/Patoo+jNqvdLqwSxt9JNhdXzMmybOWXzQ4mGuao0KvAygXlqu KyqPOGqMUq7MEaJSjJvuQdsnXBMiuBC8s8WvuH7Wn3HssBOukYFomC15DjRUHLSETtLCiI ddGSgYpRcwrN+QHtVKFLpIOFYbM/7TqZaePdwoO7yQgEELftbypFph2cNJLA/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673449090; 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=ZmwbRIM9bDjjFmOALrhVWlnvMslqkM11SxIs9ZPEe0I=; b=PBGyjIEi/qFMqIRIHtm//27kr2trJk5punuX8AyscLzxtqgp+6SGHDwlGBwosFWmNWzwsn eyVNOqXv4P5+DNO4igIvWGky7mVJTDKbiZ3sgkT20KOu/BWlMnpMhdOoyx2TYh75PXjJR9 e1789mwVQtME4FVeKRORDJT7prq80mGIlxgEsULS2FnxH+71BWVc42udiTahWr3eJJMAL/ 1fM0xEw1JlhFkcXMY7WxBxH+ZIsLhfkpJ4mpxBdB/PYko+GpecPM6yiSQtJJZ6J8aKbi/r z7Is2RzNNIsAVdOmAxmeH0kYAntv3cGNzHz3TEloArb5JNF0gduMNo89HFZhyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673449090; a=rsa-sha256; cv=none; b=nRG1BpaL7n+M8uWr6w01fUCy+5DJj2AkT213Jw2NgKfMZisw0UVSF2ZaUYcfHzzbMjPceV GlJUDzNCzWrZjmIcISpjLtRbN92SFOblPpuX5UJdiHFmiLpNO+8qbMSohxkEWQDrKfSgsb 2JTeBsyWpXKG+zANmVVaU6ROOAYN6QEkV5a1HfY6G3ayACrhGY78Lsl7WnPjdfzjBikTiN aVzqnjMTyAVjJyiTWtl0ZbJTEBCXpFwf9doKhQZVDgJdpQVQLN1OJx7JTpT+itLq5Iedc0 mZrFvLfB1CrQ5gIK91S9Nu3yf5r0LSyoC3yeJNdggJHpyl+2HQcxGOy2op5mQw== 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 4NsW5F6HtLzrnW; Wed, 11 Jan 2023 14:58:09 +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 30BEw9CT040804; Wed, 11 Jan 2023 14:58:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30BEw9h7040803; Wed, 11 Jan 2023 14:58:09 GMT (envelope-from git) Date: Wed, 11 Jan 2023 14:58:09 GMT Message-Id: <202301111458.30BEw9h7040803@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 4856aeaaed17 - main - 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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 4856aeaaed17726a1dfa5dd6c736e5b0851255b6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=4856aeaaed17726a1dfa5dd6c736e5b0851255b6 commit 4856aeaaed17726a1dfa5dd6c736e5b0851255b6 Author: Jose Luis Duran AuthorDate: 2023-01-11 14:33:58 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-01-11 14:34:41 +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 --- 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