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

Andy Bierman <andy@yumaworks.com> Tue, 05 April 2022 19:20 UTC

Return-Path: <andy@yumaworks.com>
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 A5F9E3A1036 for <netmod@ietfa.amsl.com>; Tue, 5 Apr 2022 12:20:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
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 ftXdSDyHwOEN for <netmod@ietfa.amsl.com>; Tue, 5 Apr 2022 12:20:49 -0700 (PDT)
Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E72083A102B for <netmod@ietf.org>; Tue, 5 Apr 2022 12:20:48 -0700 (PDT)
Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-2e64a6b20eeso2892597b3.3 for <netmod@ietf.org>; Tue, 05 Apr 2022 12:20:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=hc9Ao+02ZCqWuJC2IYt7ZjIPz2LwNEkX8tI+XAG0O2s=; b=urznLpflohAaKbVtrGlovlv00cKUZ0MMVdeRdl+RU5aU3k1qsJO4apCFuArqn8Ul6O TB+7OTG5P6enW19bQ2gUNbiuw1ZLxzWm1LS2fyQAWl4nA7tpo8wmHKgvithzYPvMS6hd +kCN4XSqPzsRR2rHLdEJ1lByHmSVccpClGuaMYrUU9csNMOZg59ojaW7UWBgJB9tFijo MO5izzW8yq3ZJzJ9tYKERQzrDm34aiqNVRdojb4aSU753bO7x2nZXABr0EtSyqo6iVUc gbH11XuRFCP5Kpe4bYK1/NFRGtKzRXXXr/w1PUf7ysvjJGx/954o7iM1FR3o6ZrNXgKH P2GA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=hc9Ao+02ZCqWuJC2IYt7ZjIPz2LwNEkX8tI+XAG0O2s=; b=trOt4OdrbNFCJepBJaVWOXt+X1QhDvpWCcA07L3IIEWuFZWT1xLj0vSMtqlTtQTnC6 cAVHZWPiILLReJO/c25Ds3TMWU6VrD8WIBdiFNhADp77GtSiaXjuyRaTgohRELihdRcS rGFNhxX7OC1YkA5nqz/8Ye8Vv3GXrRO4gMXi+J5ibBQlxYQR2HvqbOsU7bIKbELKUXlR X0D1aKiNSjWXM/NblUeCKYfxkc9e0v20C0kuLb3nROg9M37D6UzgpA4aUBXhtM7QJoEZ t4+ZSXRSdynYiZFgtmkeAt1HlV3uL9MHDhre13nHehq08AMCiIkGwY19EUwULCRtIwo/ ahpA==
X-Gm-Message-State: AOAM532VUcwHPhaoo4K/dzYnSwna2y6ihJebymDZN2kgHxu37K7pmcAU kf8N0v/9eF4d74WrKlH1ApfwPccZgzLXEmMjYnNPNA==
X-Google-Smtp-Source: ABdhPJwoqumuJ3ryeE+K8PqSf9k/JOnelykGGt3eRhKBiqa9g5GesgEm7ytcWAqJuraLEsyGiioAKOoDW17y4uMlJTg=
X-Received: by 2002:a81:488e:0:b0:2eb:6891:4997 with SMTP id v136-20020a81488e000000b002eb68914997mr4233030ywa.433.1649186447642; Tue, 05 Apr 2022 12:20:47 -0700 (PDT)
MIME-Version: 1.0
References: <AM7PR07MB62483353E387A0538EDA44C6A0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <AM7PR07MB6248D0B4D19EF3168DEC4864A0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <978D3500-5A9C-49FA-A259-B4E234CC9332@cisco.com> <AM7PR07MB6248CE4BDC0B27008D4F04BCA0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <2C00E058-F836-415E-A357-797E01FE77AD@cisco.com> <DB7E3112-3C2F-4040-81E1-F4625689DA62@chopps.org> <645FCC0B-8279-4070-B052-A553317B8474@cisco.com> <20220405153644.w5faspao6qkbq337@anna> <B98C7C87-D7B6-4DB0-85C7-E8B61EDC66F6@cisco.com> <CABCOCHTZC+HqgBWr=m_wvVdgbDFnR6kTTv-XB20Ujn8uhj6krQ@mail.gmail.com> <20220405190249.chscwo4m4v4l5xoj@anna>
In-Reply-To: <20220405190249.chscwo4m4v4l5xoj@anna>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 05 Apr 2022 12:20:36 -0700
Message-ID: <CABCOCHQ17cQz1sM3iWLpmnOrrLR_V9r8qipckhaEb5ouW0YdEg@mail.gmail.com>
To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>, "lsr@ietf.org" <lsr@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000061759305dbed24b9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/aSl9XlvNGDkfVJYBR8CQUw9aWSU>
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: Tue, 05 Apr 2022 19:20:54 -0000

On Tue, Apr 5, 2022 at 12:02 PM Jürgen Schönwälder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Tue, Apr 05, 2022 at 10:03:25AM -0700, Andy Bierman wrote:
> > >
> > > The best outcome would be to fix ip-address to not include the zone,
> > > introduce ip-address-zone, and deprecate ip-address-no-zone. My take
> all
> > > the is that all the existing usages do not require zone and this would
> be a
> > > fix as opposed to a change.
> > >
> > >
> > I don't think this will harm our implementations.
> > The type is still string. The pattern will change but that is handled by
> a
> > library.
> > Whatever pattern is used will get handled the same way.
>
> Either a zone is allowed to be present or it is not, this does make a
> difference, its not a cosmetic change.
>


True. The code will probably accept the pattern then fail trying to use the
string.
If the client sends the form with a zone.




>
> > The same problem exists for 'date' and 'date-no-zone' types,
> > but they are not used very much.
>
> Perhaps we should call types a, b, c, and so on - this may force
> people to read the descriptions. ;-)
>

For some reason, the smarter the person, the less likely they are to
read any of the documentation before using some software.
I call it the "it should work the way I would design it" phenomenon :-)

You have to admit that Acee's suggestion is more intuitive than the current
definitions.

Clearly an NBC change.
IMO it is more useful to put some YANG extension magic in these specific
typedefs
than just bumping a major revision number. This is a great use-case for the
version DT.

There probably is no solution path where nobody has to change any YANG or
any code
and everything still works.



>
> /js
>
>
Andy


> --
> 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/>
>