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

Andy Bierman <andy@yumaworks.com> Fri, 15 April 2022 18:12 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 897DE3A175C for <netmod@ietfa.amsl.com>; Fri, 15 Apr 2022 11:12:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.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, HTML_MESSAGE=0.001, SPF_HELO_NONE=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=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 BI1k9V9UR9oU for <netmod@ietfa.amsl.com>; Fri, 15 Apr 2022 11:12:54 -0700 (PDT)
Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 0E9DC3A175D for <netmod@ietf.org>; Fri, 15 Apr 2022 11:12:53 -0700 (PDT)
Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-2ec0bb4b715so90049737b3.5 for <netmod@ietf.org>; Fri, 15 Apr 2022 11:12:53 -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 :cc; bh=M2ThLLLYMu0cwRD20TOCXSwI7QY46+IQFH3x//D4UBA=; b=psFb8BjcupfbeUnzwvmYwg6VpHeIwvRetHoTv8o8yOWoc9myseTJgE0pDxyUU3w+Kg Eu5jaLusxmMpqCJ3FZS+PSAoppqvyGT7qFXn61eRWk+j6nhhjKxgxT4Hw4k39npAnPmJ 5HRFABdQT3j4uaiiYUEV0nl8btoLfBGYood0GuxgiNfmH7f72Z52XdRuTZbSX/Bf11Pp CAGRBZnSC9OshRB0kWtQlohR4sqNaHUd08B/ad9W4sIE9U6NijwT0PRRRytpSidp5sUY aqrbNvKjZ4j+HnxTkFGWPVGHCUAdMO4ILZmq1yawf3mb2bhzlZRDq+7bemxRZeep/f43 5WAQ==
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:cc; bh=M2ThLLLYMu0cwRD20TOCXSwI7QY46+IQFH3x//D4UBA=; b=fK0oywKvq1qTrvp8jrLpk/dwejFE1n9o4gh4t2uF1FAQ5uYGCkCHHnIzqwKxWNfn1P fCSEBZuN/B4q0imgJLlojrQ8g1lw02oX4lj/SsROKa8GYF95rp132NzDQBpHVRVVKWI7 1XybQPxtyPvIbMlw6s9fC0zgCNro6ctZowAhTpUHgCN0ebvUPjX7P5ZMBspcLht3UysK ngA8BSxviCOMK91omteAcjbOnD0+rm1XtJ1mOjH11ZJYtE4GJOmLtP0/jMGFmTXGSp+Z 1teFn++cKU0wWS1VybsBiDnTCBlldVN/qktMSaOMEyML4FE+a4jKm7z5tJF9thkjF3Vl SQ7A==
X-Gm-Message-State: AOAM5337w/xGRDh18vvEB8lJNbxqrOm19+V2jHbGApOKvfeA9mg9/EUK nssylYDT2e3hmn6agDivjx6ICgmLKyu9NtGhv5ZbTw==
X-Google-Smtp-Source: ABdhPJyO97m1zJKtlZ0O4QR9qcBWWHan5WscmGXk1WYU53/KIaeqQfQWuG8Esy69o9j+waMzyrscLbc20vol0vR69EE=
X-Received: by 2002:a81:5dd6:0:b0:2d6:3041:12e0 with SMTP id r205-20020a815dd6000000b002d6304112e0mr146858ywb.331.1650046372659; Fri, 15 Apr 2022 11:12:52 -0700 (PDT)
MIME-Version: 1.0
References: <BY5PR11MB41966C83474B52949C2B660FB5EF9@BY5PR11MB4196.namprd11.prod.outlook.com> <20220414.152331.1522036488630734842.id@4668.se> <20220414134730.62e3fyhl7e4pvuz4@anna> <20220414.160345.1807693114840953491.id@4668.se> <1347E93F-F193-4677-8070-5E28EDB2F14F@cisco.com> <CABCOCHTPZ+ieLeNRhDR7AmyYYhEgq2bjyHsW-ARM3_9sAip0vQ@mail.gmail.com> <20220414193836.ufqzfhnitb5l5w3h@anna> <CABCOCHQApdv7U15kYZFGopeFE8dR9Xr9SN9vSrwWobwoX-9jyg@mail.gmail.com> <20220414201304.mrx72eycemhb2q6q@anna> <CABCOCHQWhMD=kXZugUNZ6VwsDChC33tP3fPPHgWuQYpirdhOoQ@mail.gmail.com> <a3b12c7a-2d78-47f7-4729-a5e8f6b8b19d@alumni.stanford.edu> <CABCOCHTKQT03Q25Le1TiVobsiKgMe7-OABFEhTzkoTK4NbqqoA@mail.gmail.com> <AM7PR07MB62482308F03E31BDEFBAC60DA0EE9@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB62482308F03E31BDEFBAC60DA0EE9@AM7PR07MB6248.eurprd07.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 15 Apr 2022 11:12:41 -0700
Message-ID: <CABCOCHRT67BvKhqU1ApdCUziBF2bs9t+KXWPj6Wp5cdXj+Vnzw@mail.gmail.com>
To: tom petch <ietfc@btconnect.com>
Cc: Randy Presuhn <randy_presuhn@alumni.stanford.edu>, "lsr@ietf.org" <lsr@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e7dc4105dcb55b5e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GeECmBoBWxeBCIl4AXstCOSv-Bg>
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: Fri, 15 Apr 2022 18:13:00 -0000

On Fri, Apr 15, 2022 at 9:44 AM tom petch <ietfc@btconnect.com> wrote:

> From: netmod <netmod-bounces@ietf.org> on behalf of Andy Bierman <
> andy@yumaworks.com>
> Sent: 14 April 2022 22:25
>
> On Thu, Apr 14, 2022 at 1:41 PM Randy Presuhn <
> randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>>
> wrote:
> Hi -
>
> On 2022-04-14 1:33 PM, Andy Bierman wrote:
> >
> >
> > On Thu, Apr 14, 2022 at 1:13 PM Jürgen Schönwälder
> > <j.schoenwaelder@jacobs-university.de<mailto:
> j.schoenwaelder@jacobs-university.de>
> > <mailto:j.schoenwaelder@jacobs-university.de<mailto:
> j.schoenwaelder@jacobs-university.de>>> wrote:
> >
> >     On Thu, Apr 14, 2022 at 12:48:18PM -0700, Andy Bierman wrote:
> >
> >      > The proposal is for a 2 year phase to change modules
> >      > that really do want a zone index.  It is not blindly removing the
> >     zone
> >      > index.
> >
> >     People not reading type definitions will also not read a warning
> >     signs. This is blindly removing the zone index in two years, I hardly
> >     see a difference from doing the same (damage) today.
> >
> >
> > A 2 year advance notice is way more than normal in the open source world.
> >
> > There does not seem to be any consensus on the general issues or the
> > specific typedef,
> > or even agreement that OpenConfig (and RFC 4001) got it right and IETF
> > got it wrong.
> >
> > One set of data models treats a zone index as the normal case, not the
> > exception,
> > and the other treats a zone index as the exception.
> >
> > Spinning all the YANG modules that use these typedefs is not going to
> > happen,
> > and not even clear that would help with multi-SDO integration, given the
> > disconnect
> > on the design of the typedefs.
> ...
>
> Why do you believe it is necessary to revise all the YANG modules that
> use the current typedefs?  Have any interoperability problems resulted
> from the use of the current definitions?  The argument that not changing
> the substance of the current definitions would somehow result in the
> need to modify the modules that have used the current definitions is
> a paper tiger, I think.
>
> There seems to be many modules where ip-address was used
> when the intention of the WG was to use ip-address-no-zone.
>
> <tp>
> Well, we really do not know.  We do know that in the past two years or so,
> when the meaning of ip-address has been pointed out to YANG module authors,
> most, but not all, have changed to the no-zone format, suggesting that they
> were unfamiliar with the use of zones in IPv6.  But they may have got it
> wrong,  The flavour of RFC4007 is that from now on, all IPv6 addresses will
> include a zone in their representation but since that is mostly the default
> zone and the default zone can be omitted then we do not often see zones in
> the representation.  To quote RFC4007
> ' This is accomplished by assigning, within the node,
>    a distinct "zone index" to each zone of the same scope to which that
>    node is attached, and by allowing all internal uses of an address to
>    be qualified by a zone index.
> '
> All internal uses! that is what an implementer should be doing with YANG
> or with anything else.
>
>

I can support just "part 1" of the proposal.

Total solution:

 - provide guidelines for YANG authors and developers
    - base + options approach vs. full + without-options approach
    - ip-address vs. ip-address-no-zone


I retract support for my own previous suggestion of allowing the zone index
to be ignored. (!)
There should not be any special exceptions for a few typedefs.
RFC 6241 is very clear about the server requirements for returning <ok> for
an <edit-config>
request. No further comment in ietf-inet-types is needed.



> Tom Petch
>
>

Andy


> Tom Petch
>
> The easiest solution is to do nothing, and force the server implementers
> to deal with it.
> A server is obligated to check all client input.
> Any request with a zone index can be rejected instead of accepted.
> This solution is compatible with the OpenConfig typedef (unless zone index
> actually used).
>
>
>
> Randy
>
> Andy
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org<mailto:netmod@ietf.org>
> https://www.ietf.org/mailman/listinfo/netmod
>