From nobody Mon Feb 9 01:48:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1626261119; cv=none; d=zohomail.com; s=zohoarc; b=HVZ7ozS+EvIYudFYO5MEphdRsZC304n2Waolh3ps0WmSzBPtk2L3AoOx37mnbEBJx2RroK2EPc23FzOjMBkcFiC70ujXCZIDmheaSOJuBGqAM+i62ZJaptR0cQYPd8qyEz/bJ73JJufUoc8asViD61iJ6mg3X75i/muYqytobQ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626261119; h=Content-Type:Content-Transfer-Encoding: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=dipjl4Wz0XCOawt9IUfR+FwmijXXw2hi618rFMxu+R4=; b=cV3dfc3+9fpd9Wa8IuLYaL9I831DSV72vZLinglwOmmCwnsKQW0/Ym0e5cmnl0bw4Wzim7N44y7TX7ajQCSHNAo1ffOAfKkJsuuo3Vm9sQX8pvccNcW7XQ5nhWtAOrE71VOhtvF5MaHyeWyVnF9xQNxiyRe3/aVTEE8bGH/2Pf8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1626261119882966.6132449123559; Wed, 14 Jul 2021 04:11:59 -0700 (PDT) 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-500-Urf916q7PWy4TL8En_OMLg-1; Wed, 14 Jul 2021 07:11:57 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DCE059F92B; Wed, 14 Jul 2021 11:11:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6C7E518A50; Wed, 14 Jul 2021 11:11:50 +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 01B9A1809C97; Wed, 14 Jul 2021 11:11:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 16EBBjCb009597 for ; Wed, 14 Jul 2021 07:11:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5F30D100F49F; Wed, 14 Jul 2021 11:11:45 +0000 (UTC) Received: from andariel.lan (unknown [10.40.192.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id D6B11100EB3D for ; Wed, 14 Jul 2021 11:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626261118; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dipjl4Wz0XCOawt9IUfR+FwmijXXw2hi618rFMxu+R4=; b=iZoy5S+0OsxY57uLLtinnCZQtGkmFqSayNtU3f9OopGPJoqH+7Bvw4iBZukIknfzHS3MAx oMvj7JAIbn0sfsmBsxpEhU8ZUxu+AhaYSR/yXnqldFfKzfWrDl+lXepCI7GMb/1/SEvIv/ 6vVMvsEg/MwsNS4AKSr+l/+1V1Re+Tg= X-MC-Unique: Urf916q7PWy4TL8En_OMLg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/2] networkxml2xmltest: Add example of multiple addresses having the same hostname Date: Wed, 14 Jul 2021 13:11:38 +0200 Message-Id: <4c009a3eb08a6f784f29641b6349517e576775ad.1626261065.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626261122097100003 Content-Type: text/plain; charset="utf-8" Having multiple addresses for the same hostname is a legitimate configuration in DNS. Add test data to cover this case. Signed-off-by: Peter Krempa --- tests/networkxml2xmlin/nat-network-dns-hosts.xml | 8 ++++++++ tests/networkxml2xmlout/nat-network-dns-hosts.xml | 8 ++++++++ .../nat-network-dns-more-hosts.xml | 8 ++++++++ .../networkxml2xmlupdateout/nat-network-no-hosts.xml | 11 ++++++++++- 4 files changed, 34 insertions(+), 1 deletion(-) diff --git a/tests/networkxml2xmlin/nat-network-dns-hosts.xml b/tests/netwo= rkxml2xmlin/nat-network-dns-hosts.xml index da65267ec5..58608f6959 100644 --- a/tests/networkxml2xmlin/nat-network-dns-hosts.xml +++ b/tests/networkxml2xmlin/nat-network-dns-hosts.xml @@ -8,6 +8,14 @@ host gateway + + shared + names + + + shared + names + diff --git a/tests/networkxml2xmlout/nat-network-dns-hosts.xml b/tests/netw= orkxml2xmlout/nat-network-dns-hosts.xml index 17e269710b..7c561aad2a 100644 --- a/tests/networkxml2xmlout/nat-network-dns-hosts.xml +++ b/tests/networkxml2xmlout/nat-network-dns-hosts.xml @@ -10,6 +10,14 @@ host gateway + + shared + names + + + shared + names + diff --git a/tests/networkxml2xmlupdateout/nat-network-dns-more-hosts.xml b= /tests/networkxml2xmlupdateout/nat-network-dns-more-hosts.xml index 5464d90ab9..dfc12eb2f9 100644 --- a/tests/networkxml2xmlupdateout/nat-network-dns-more-hosts.xml +++ b/tests/networkxml2xmlupdateout/nat-network-dns-more-hosts.xml @@ -13,6 +13,14 @@ host gateway + + shared + names + + + shared + names + diff --git a/tests/networkxml2xmlupdateout/nat-network-no-hosts.xml b/tests= /networkxml2xmlupdateout/nat-network-no-hosts.xml index ee2d773729..7cff9edc09 100644 --- a/tests/networkxml2xmlupdateout/nat-network-no-hosts.xml +++ b/tests/networkxml2xmlupdateout/nat-network-no-hosts.xml @@ -5,7 +5,16 @@ - + + + shared + names + + + shared + names + + --=20 2.31.1