Re: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt

Martin Björklund <mbj+ietf@4668.se> Wed, 13 April 2022 08:44 UTC

Return-Path: <mbj+ietf@4668.se>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 460253A18C1; Wed, 13 Apr 2022 01:44:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=vDpv/V7E; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=dRRIRkct
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LhM5ogEqOvWm; Wed, 13 Apr 2022 01:44:46 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D9503A18BE; Wed, 13 Apr 2022 01:44:40 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 20A203201DD2; Wed, 13 Apr 2022 04:44:36 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 13 Apr 2022 04:44:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1649839475; x= 1649925875; bh=T7crij4hm1h33KQbYMzuosxCs2zgO0z3e4znUChQijk=; b=v Dpv/V7EKgscGQSaR6ckXBorOESmEn4CDGGRSSKApmz5O6eqsfwER0u8/r7s3NQdI QJVf5GhY+LTcriZzzcOyQ0aof3NXS06sHhcEKuS2qKNk3/usii6gGAAXdqBN06Q3 5wB8qCBbcym9MezbBt5XwAeMENGDM8hO8RpGyjoVhd/TEFD8UkFy13ivlaVVHtLq 38m1lWSDVu1ItVSekeFoQ8fOaUZOV2HTVN4M5FFYFPCNILMYM6IxfAKnznoknSNR SXgh5/1sXppQNIQrXE/OIy4FYh5AakFy7VsUEbpeWh3cf8cXSS58CW6hW8da+Qhz oJjhNnCNQboarUC/NSg3Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1649839475; x=1649925875; bh=T7crij4hm1h33 KQbYMzuosxCs2zgO0z3e4znUChQijk=; b=dRRIRkct+PYCcTUH7D2RuV0sYXh5K N/icR0KJfXTdadcvu/hAMAtp/RRxe8n30qJ8ZG/xnEXk+QLIR355IQj6+h9ihaPK RPwzpXukMlFUZQE8SZX+lHr047BGwNINzSyjaFnMN6cYCTUBNu/OLhAmRFxYP85A topHGFqC46mTbVj1KP0r+DsKpW7Z8ZpDhAARV1L63KNv7a3DTdlyA0L/e4C75eo+ e1BnliUkQXL225e1B+jdLPT6aEQXL73D9pF8OOKra5B/MSfT8IJ7MiPVcVm1far+ 0VtGz0x/ynj196ckYG5VEdoXbMwhXaDdDX9b/HpVdFdw5zXKwS98TDRtw==
X-ME-Sender: <xms:c41WYuxBoslO_vwOZQTyvH2xj0jowVlnJ8L94xSKhGprTPMfLAwvAg> <xme:c41WYqQ11lZrUwc4qz70hFVFseesMtkDrBo0CKCmXuevEMVSuUHpqaWFKYwOZ_Njr 6SEoYK8upeVlKM7QUQ>
X-ME-Received: <xmr:c41WYgWH9g9lAJbK7wRetvAo-2PpzYQJ8rwSVcQm6fJgCsgF9Q8uNAH-R54>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeltddgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvuffhjghfofggtgfgsehtqh ertdertddunecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnhepkeelvefhvedtuddvhfduvd dvfeduvdeufedtgfehleegffejieetleffiefgteejnecuffhomhgrihhnpehjrggtohgs shdquhhnihhvvghrshhithihrdguvgenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:c41WYkhnxVyCJ3cmvmxTu_7rkgNa7oaii2eGTkFNUL5_MJTYmlpcqw> <xmx:c41WYgBue72W8JPvqRQTXR6mTygsNaTPAOugk1mql33zhacEZ4haNw> <xmx:c41WYlJySHvasockRpaMpiJuridn2a7lOzC78B7_pgMhmZP_DeFTIQ> <xmx:c41WYjM7BrldOneShdb9A-42lAbqmWz14d3HHKiC84zB7fmv7A4hFA>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Apr 2022 04:44:34 -0400 (EDT)
Date: Wed, 13 Apr 2022 10:44:33 +0200
Message-Id: <20220413.104433.1880376159264359912.id@4668.se>
To: j.schoenwaelder@jacobs-university.de
Cc: rwilton=40cisco.com@dmarc.ietf.org, lsr@ietf.org, netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <20220412151822.srsfeeua2raaeuna@anna>
References: <20220412070222.bkc5bhby4c2n32bs@anna> <20220412.165241.437451577319155573.id@4668.se> <20220412151822.srsfeeua2raaeuna@anna>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7KQjY1ZQVoYIKGOdJSExG5XQ2eg>
Subject: Re: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2022 08:44:52 -0000

Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> On Tue, Apr 12, 2022 at 04:52:41PM +0200, Martin Björklund wrote:
> > Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> > 
> > [...]
> > 
> > > For me, the only sensible option (other than accepting that types are
> > > named the way they are) is to introduce ip-address-with-zone and to
> > > deprecate ip-address and stop there. Yes, this means coexistance of
> > > inet:ip-address and ip-address-with-zone until YANG is getting
> > > replaced.
> > 
> > But then what would you do with inet:host?
> >
> 
> I would define ip-address-with-zone to be the same as ip-address
> (i.e., with an optional zone index) and then I would then use
> ip-address-with-zone instead of ip-address in inet:host (like we are
> all going to replace the deprecated ip-address with either
> ip-address-with-zone or ip-address-no-zone in all modules in the
> future to avoid depending on a deprecated definition).

But if people believe that we have a big problem that ip-address may
contain a zone index, don't we have the same problem w/ inet:host?
Don't we have to deprecate also inet:host for the same reason?

(To be clear: Personally, I do not think that deprecating these
typedefs is the best solution)
 
> It does not make sense to me to have a type mandating a zone since on
> all systems I know of the zone index shows up only when needed (and
> creating yet another union seems overkill).

Did anyone suggest this?  I thought ip-address-with-zone was supposed to be
exactly what ip-address is today.



/martin


> 
> /js
> 
> PS: I guess someone will propose to use ip-address-opt-zone instead
>     ip-address-with-zone. ;-)
> 
> -- 
> Jürgen Schönwälder              Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>