From nobody Mon Feb 9 01:30:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579098265; cv=none; d=zohomail.com; s=zohoarc; b=VuompsHQI//ahS/bgeamaBl2jGhoEhS9+TRMVtuts7jGvzUdgDm7sQfK+ElJM87au03wQmdcbzAN9EeuNP478bs6ggSR5xCK7HAxgKe4y/WfiDy4MNXsQu6pXrXh8azLIDlpwScAzAW755WMkItmMuJ+tfBAkPjPG2SyYrxBUXo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579098265; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DHYt40c0PsdpR2gyW+Qnen/mSyuwhsjlwG52Z0bMOz8=; b=SKbgQ/5s6ldjHuYFoiCvNMQy++ZQc8z8zuUlxwGKtv7k9ZCtc5oY+YBwW9/FkRHyMoSRkeYmX02ylTkj8CqkUeP3Oi3nZQ7gcg0UXwnvs/mtCSiNz3USwHNOaA9V3v1SjgwLgDo/fMfj6+w1WAht6g/PE/+1JfG7jgdOaB1o5g8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1579098265562421.1025737514767; Wed, 15 Jan 2020 06:24:25 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-286-__9VUsTPNTGt57lNdb1s4w-1; Wed, 15 Jan 2020 09:24:22 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D5F5519057C2; Wed, 15 Jan 2020 14:24:16 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7483A5DA7E; Wed, 15 Jan 2020 14:24:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D35898250D; Wed, 15 Jan 2020 14:24:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00FEODTn007740 for ; Wed, 15 Jan 2020 09:24:13 -0500 Received: by smtp.corp.redhat.com (Postfix) id 652BA1E6; Wed, 15 Jan 2020 14:24:13 +0000 (UTC) Received: from ridgehead.redhat.com (unknown [10.43.2.191]) by smtp.corp.redhat.com (Postfix) with ESMTP id A6A895C557; Wed, 15 Jan 2020 14:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579098264; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=DHYt40c0PsdpR2gyW+Qnen/mSyuwhsjlwG52Z0bMOz8=; b=hhT78h3c0xlgsEeK7q3mj5IaQLh0rmoYvUTtnHhJEJft0TtgYpnAtxz0ZX+SyESnxNNjiw y1Efj9ndqkkp2ZcOuIwzYx0oWzTwiLLXsUOODaPRXTnH5V1iUM/z3aAzxDz5Op+tiQuB5x LfIdjY45ZsJ1WaDIkMMgDyzqajyWsZY= From: Erik Skultety To: libvir-list@redhat.com Date: Wed, 15 Jan 2020 15:23:59 +0100 Message-Id: <2069f72fde24cd2a4952187716a20df1982b4406.1579098197.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Erik Skultety Subject: [libvirt] [tck PATCH 2/3] network: Fix the dhcp range output being matched X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: __9VUsTPNTGt57lNdb1s4w-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Since libvirt commit 82fe58ff libvirt has been formatting the network mask to the dnsmasq's dhcp-range config option which broke a few of the networking tests. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- scripts/networks/networkxml2hostout/tck-testnet-1.dat | 2 +- scripts/networks/networkxml2hostout/tck-testnet-2.dat | 2 +- scripts/networks/networkxml2hostout/tck-testnet-3.dat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/networks/networkxml2hostout/tck-testnet-1.dat b/script= s/networks/networkxml2hostout/tck-testnet-1.dat index eacd4c4..cf6f150 100644 --- a/scripts/networks/networkxml2hostout/tck-testnet-1.dat +++ b/scripts/networks/networkxml2hostout/tck-testnet-1.dat @@ -15,7 +15,7 @@ ACCEPT all -- 10.1.2.0/24 0.0.0.0/0 #grep bind-dynamic `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-= file=3D\(.*tck-testnet.conf\).*|\1|p'` bind-dynamic #grep dhcp-range `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-fi= le=3D\(.*tck-testnet.conf\).*|\1|p'` -dhcp-range=3D10.1.2.2,10.1.2.254 +dhcp-range=3D10.1.2.2,10.1.2.254,255.255.255.0 #ip link show type bridge | grep tck-testbr | gawk '{print $2}' tck-testbr: #ip -o addr show dev tck-testbr | gawk '{print $4" "$6}' diff --git a/scripts/networks/networkxml2hostout/tck-testnet-2.dat b/script= s/networks/networkxml2hostout/tck-testnet-2.dat index 9c90348..aabd959 100644 --- a/scripts/networks/networkxml2hostout/tck-testnet-2.dat +++ b/scripts/networks/networkxml2hostout/tck-testnet-2.dat @@ -10,7 +10,7 @@ ACCEPT all -- 10.1.2.0/24 0.0.0.0/0 #grep bind-dynamic `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-= file=3D\(.*tck-testnet.conf\).*|\1|p'` bind-dynamic #grep dhcp-range `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-fi= le=3D\(.*tck-testnet.conf\).*|\1|p'` -dhcp-range=3D10.1.2.2,10.1.2.254 +dhcp-range=3D10.1.2.2,10.1.2.254,255.255.255.0 #ip link show type bridge | grep tck-testbr | gawk '{print $2}' tck-testbr: #ip -o addr show dev tck-testbr | gawk '{print $4" "$6}' diff --git a/scripts/networks/networkxml2hostout/tck-testnet-3.dat b/script= s/networks/networkxml2hostout/tck-testnet-3.dat index 77664ba..cb3dd18 100644 --- a/scripts/networks/networkxml2hostout/tck-testnet-3.dat +++ b/scripts/networks/networkxml2hostout/tck-testnet-3.dat @@ -19,7 +19,7 @@ ACCEPT all 2001:db8:ac10:fe01::/64 ::/0 #grep bind-dynamic `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-= file=3D\(.*tck-testnet.conf\).*|\1|p'` bind-dynamic #grep dhcp-range `ps aux | sed -n '0,/dnsmasq .*tck-testnet/ s|.*--conf-fi= le=3D\(.*tck-testnet.conf\).*|\1|p'` -dhcp-range=3D10.1.2.2,10.1.2.254 +dhcp-range=3D10.1.2.2,10.1.2.254,255.255.255.0 dhcp-range=3D2001:db8:ac10:fe01::1,ra-only dhcp-range=3D2001:db8:ac10:fd01::1,ra-only #ip link show type bridge | grep tck-testbr | gawk '{print $2}' --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list