Re: [Lsr] When to augment LSR base YANG modules...

Rob Shakir <rjs@rob.sh> Sat, 30 March 2019 18:00 UTC

Return-Path: <rjs@rob.sh>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 245A5120240 for <lsr@ietfa.amsl.com>; Sat, 30 Mar 2019 11:00:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rob-sh.20150623.gappssmtp.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 yng1rAZHOd5K for <lsr@ietfa.amsl.com>; Sat, 30 Mar 2019 11:00:14 -0700 (PDT)
Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (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 9BCDB120232 for <lsr@ietf.org>; Sat, 30 Mar 2019 11:00:14 -0700 (PDT)
Received: by mail-oi1-x22b.google.com with SMTP id v7so4154573oie.8 for <lsr@ietf.org>; Sat, 30 Mar 2019 11:00:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rob-sh.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p2j5XDPggyN+QPgj4FAmIKfrBh6OX7OAMHBxqttfYRY=; b=okVKog8Db6NsGnQnvslSEPf4Bx7t5dL414O30BupHezXTmPrT7z9zhghfHjnlPycPJ BZw/FX9A+FXFCKKvLAfCWavXVg47PYUIlW01ggdI7A1jZ0/tv/KuZoBl/wzOqukssYNG hVj6HGZ8FgoyehxzBL8n0rfv5RtY6738OgqYUxGHDJ8vcOCoGXuqw8L73BY0p+rqYm8/ Hw7Mzb7d5gc1ej2mjekrLKzFe/TPM2RrtFuMoeCacJzeFhfvy5eCTNL7p/MxWD4LSSZZ iTNJs7mpUoh444eMOfbqbxpW0wSbUECYctWrBwvGDPklMgQPmgiBakMtLu8dRd41zjjH QJsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p2j5XDPggyN+QPgj4FAmIKfrBh6OX7OAMHBxqttfYRY=; b=PNssPr4kTKPnY3W7uINWGK1p9UPc48V8aVD2ks817/NnXNrc4r0TfpSdvWIGGw38+A CLmAU53wok23xfSP4cQXnf/MOL/nqCTaW1/0Q7ohjFnoJ3edsGpGTDLggeWSr1JDjjDK UwdjIOR9KhHkIyLnMLvjCgRXQ8pXvlvnsrBmkjjJVD+0oKiAAOMef/JPor2ntK9KaTcy vynq34kH5XbR28t3mbx8VeqMcNoYYHUCGORdkT6Z/CSOdf0BGFGdE6b/R2VNJuI65fRX ddqnjqLJWI9Dlmbkh+E8qbKryJTyf6lr3jcXX3MvacwfkEHWcUuZIWQLIR7SD6zXtUp2 z9RA==
X-Gm-Message-State: APjAAAUWJbHOPWFJx8HUhIuLNLTWUc/WfC2+TkZT5jzeI73zPzm/iVoI pZU/11dj5yPdgjcHUuL8xzAOroHlg4rpmObu6/aAzw==
X-Google-Smtp-Source: APXvYqz59L5OLEfwl3/VjdaLZGzG6spgviLkLB7uh4DP85GSBAeJfdVd5KUAQtgAWiPldUviSB1UCip1xVOZP0aT1Wc=
X-Received: by 2002:aca:4a53:: with SMTP id x80mr1786688oia.21.1553968813472; Sat, 30 Mar 2019 11:00:13 -0700 (PDT)
MIME-Version: 1.0
References: <sa6wokiayd9.fsf@chopps.org> <2E6CA4AD-AD65-4A20-9545-1C81ED8B8968@tony.li> <B838962D-BDEA-46C9-9B9A-587484819784@cisco.com>
In-Reply-To: <B838962D-BDEA-46C9-9B9A-587484819784@cisco.com>
From: Rob Shakir <rjs@rob.sh>
Date: Sat, 30 Mar 2019 11:00:02 -0700
Message-ID: <CAHxMReYFQ8atP3JX9NsauB4xqtnsYCZyqjaYHH+EGi2b4Fvj=Q@mail.gmail.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
Cc: "tony.li@tony.li" <tony.li@tony.li>, Christian Hopps <chopps@chopps.org>, "lsr@ietf.org" <lsr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001e8f0f0585538fc8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/5p9ujdLUD5ipuAaiybM2YHziipM>
Subject: Re: [Lsr] When to augment LSR base YANG modules...
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Mar 2019 18:00:18 -0000

I think this is a generic challenge that has to be solved across all
protocols -- and relies on a robust way to version and revise YANG modules
in the IETF.

In OpenConfig, as we're very lightweight for pushing a new revision, since
we're just specifying new versions of modules, adding new features to an
existing module is pretty trivial. They can be done as a minor revision if
there's no backwards incompatible changes.  It seems better, to me, to
ensure that there is common logic for how one splits up modules, to make
things actually usable for developers trying to consume them, rather than
needing to understand when and where in the IETF a feature was developed.

That being said -- this means one should probably expect each LSR base
module to be revised with most new LSR RFCs. With the current agility of
the review and publication process -- I'm not sure that is realistic either.

r.

On Sat, 30 Mar 2019 at 09:15, Acee Lindem (acee) <acee@cisco.com> wrote:

> Speaking as WG member:
>
> For many of the new LSR WG documents, we are already included both OSPF
> and IS-IS encodings in a single document. Now, we have agreed that
> documents requiring simple BGP-LS changes will also include the BGP-LS
> encoding. Given this, I don't want to add another requirement for
> publication of a WG document. This would also add additional reviews to the
> document. You've all heard the expression "divide and conquer", while let
> me introduce the corollary, "consolidate and stagnate".
>
> Additionally, I agree with Yingzhen's comment that it is not clear that we
> want a separate YANG module for every OSPF/IS-IS feature.
>
> Thanks,
> Acee
>
> On 3/29/19, 4:33 AM, "Lsr on behalf of tony.li@tony.li" <
> lsr-bounces@ietf.org on behalf of tony.li@tony.li> wrote:
>
>
>     Chris,
>
>     One concern is simply one of scale: doing this will increase the size
> of the document.  At what point do things become sufficiently awkward that
> we want to have a separate, concurrent document.
>
>     In other words, if the requirement is for concurrent delivery, is
> co-location really a requirement?
>
>     Regards,
>     Tony
>
>
>     > On Mar 29, 2019, at 9:17 AM, Christian Hopps <chopps@chopps.org>
> wrote:
>     >
>     >
>     > The base YANG modules for IS-IS and OSPF both include operational
> state to describe TLV data. During the discussion about OSPFv3's version of
> this data, I brought up the issue of when and how the base modules should
> be augmented to add new TLV types to the model, suggesting it be done
> inline and with the RFC that adds the new feature/functionality to the
> protocol.
>     >
>     > I'll go farther here and say this should apply to all the YANG
> required for management of the new feature, and it should all be added
> inline with the feature (i.e., in the same draft). In other words new
> features/functionality should include the YANG augment required to manage
> said features/functionality.
>     >
>     > This has been suggested/tried previously with SNMP with varying
> (low) levels of success. The difference here is 1) YANG additions (a new
> module perhaps just augmenting the base) is easy, whereas SNMP wasn't.
> Additionally, operators weren't using SNMP to fully manage functionality
> (e.g., not doing configuration) so a requirement for extra work was harder
> to justify. Operators *do* want to fully manage their networks/servers with
> YANG though.
>     >
>     > The argument against this during the meeting was that it would
> create many small modules. I don't find this compelling (i.e., "so"? :)
>     >
>     > Assume I'm an operator -- the actual consumer of this management
> stuff:
>     >
>     > - If I'm going to use this new feature X, I need to be able to
> manage it. So I need it YANG for it. Not only do I need any new TLV data in
> the operational state, but I need the configuration and any other
> operational state right along with it. Otherwise each vendor has to add new
> YANG to their vendor modules, or the feature is useless to me. I can't use
> something if I can't turn it on.
>     >
>     > - I don't care about having many smaller modules that augment the
> base module -- at all. Quite the opposite actually, when new functionality
> is accompanied by it's own module it provides me a simple way to see if
> that functionality is present as the module will be present in the YANG
> capabilities announced by the device.
>     >
>     > I'd be interested in hearing reasons we (as a WG) shouldn't just
> expect a YANG module (even if it's small) to be included with drafts that
> add new functionality.
>     >
>     > Thanks,
>     > Chris.
>     > _______________________________________________
>     > Lsr mailing list
>     > Lsr@ietf.org
>     > https://www.ietf.org/mailman/listinfo/lsr
>
>     _______________________________________________
>     Lsr mailing list
>     Lsr@ietf.org
>     https://www.ietf.org/mailman/listinfo/lsr
>
>
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
>