Re: [netmod] regarding draft-bierman-netmod-yang-data-ext-00

Andy Bierman <andy@yumaworks.com> Mon, 04 September 2017 16:24 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 33FF21321B7 for <netmod@ietfa.amsl.com>; Mon, 4 Sep 2017 09:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.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 2dReP-to62TX for <netmod@ietfa.amsl.com>; Mon, 4 Sep 2017 09:24:29 -0700 (PDT)
Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 ABFC01321C9 for <netmod@ietf.org>; Mon, 4 Sep 2017 09:24:28 -0700 (PDT)
Received: by mail-io0-x235.google.com with SMTP id z67so2699385iof.3 for <netmod@ietf.org>; Mon, 04 Sep 2017 09:24:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CKl5dmKFFC1kmzY8MOJTOVDQXbCkmJyqtnyak92d1hE=; b=K8zJ+ShRW0TkeenTWk9kncVVrAHbqlO4pVrS7CvEJcZcgvZgxxRKrREDdcx9Kl0mDL qbJtZtxzPJdrjLlMWPIe1llO0d+WSzXCrJ054S6lBZT4aOLwhRjwVz+WMVX7+cziRepf VWf/fgNL5eMicjmgrpQOPb34+LA35VwGxCjuqhUOrbM4yRme5YRC0aX1ZDPd8HKrRnz4 +YysVvkSj5Ar712OczgfPyYbK7MkzI4/eKhleO9tbJM1q4LRon205FreOvGHXCgrf71X FcjIGOKct5Z6We1EBItPF51OjeL1U87KqSlivSJE2QXQ6uk04Xfx48t0fXuCpdCYto2x phSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CKl5dmKFFC1kmzY8MOJTOVDQXbCkmJyqtnyak92d1hE=; b=QUByMiiPN43R/attTmmCOdZznA17+02x9pg/yCY7ie+93Uvm4rNExJfJHpUWAwPEuu B3uV2fDNkNZ9oiHoAltxfSXGWqqtA1b68Krcrt6ctETIcFBfxtYGhI0EZUio4w7ggiuK gzZUyi09KBpEE+8Ov45HwRXErUG6Hxt7Op5bI8YBBGpr1f1/Tg3RM2P9US0fLsEmure8 qlVTnjRID+eRTXUSCeg1vZDbhWZbkFeDF8vfGoWjpLF+4YTeJkh/TY4K+4aAlwlET/5W 9uody6lKvPhOGAGkiA6QJcFSDMZQRVTJ4e3zBHuRPhI2WWw/wOfiifSVWE23sGjqKkQK nmQg==
X-Gm-Message-State: AHPjjUhBXuL8kwKFONOq6EY4KfRA67Qdf9sUIg4sNi3ARkabyE7xIVr4 dD6UvrmQn5ABVXCUIOuwGrArxmcPari8
X-Google-Smtp-Source: ADKCNb6k5SpagYsBwCy2hD36bc/86aVNfylBnDDwA8PqckpW/VJL9C3c1G8EHZlh+L5J5PH1vI9PRRUP9PL3xhpDzW0=
X-Received: by 10.107.171.70 with SMTP id u67mr1267549ioe.227.1504542267936; Mon, 04 Sep 2017 09:24:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.6.206 with HTTP; Mon, 4 Sep 2017 09:24:27 -0700 (PDT)
In-Reply-To: <20170904.092913.858833299379016670.mbj@tail-f.com>
References: <CABCOCHSA_dqNwy=xj4vj8bCHKaJhisx0qCccYCyyBdLWXeW2Rw@mail.gmail.com> <56D58AA8-E71E-4CA1-B81E-70E2EDD94E91@juniper.net> <CABCOCHShmLL03Z7H=ZAFFj9N+=qqDjHttprR-_ev6i+0g21iJQ@mail.gmail.com> <20170904.092913.858833299379016670.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 04 Sep 2017 09:24:27 -0700
Message-ID: <CABCOCHRT97NprBgq15-KPSE=tmtd29Wuv+n+vXRNFaUKB247UA@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a1148bd7a6e263405585f8bd6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/P6JHV7FnJoqTjOtzXlEn0wsbt28>
Subject: Re: [netmod] regarding draft-bierman-netmod-yang-data-ext-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 04 Sep 2017 16:24:32 -0000

On Mon, Sep 4, 2017 at 12:29 AM, Martin Bjorklund <mbj@tail-f.com> wrote:

> Andy Bierman <andy@yumaworks.com> wrote:
> > On Fri, Sep 1, 2017 at 10:43 AM, Kent Watsen <kwatsen@juniper.net>
> wrote:
>
> [Re: moving the definition of rc:yang-data to a new document]
>
> > >
> > > > We went through that issue at least twice before RFC 8040.
> > >
> > > > There was no concern about this extension being in the RESTCONF spec.
> > >
> > >
> > >
> > > I don't think people understood what was at stake at the time -
> yang-data
> > > has since taken on more prominence.    You write "no concern", but I
> think
> > > it was more like "no response", and the solution just rolled on.
> > >
> >
> > I think I explained it well enough at the time.
> > There is a normative reference to RESTCONF to use yang-data.
> > This is just an RFC detail. In a server, the yang-library can indicate
> > that ietf-restconf is just imported (not implemented). It really does not
> > matter
> > that this extension is in ietf-restconf.yang.
> >
> >
> >
> > >
> > >
> > >
> > >
> > > > We really have to try to keep the documents stable, and not
> republish an
> > > RFC
> > >
> > > > just to move definitions around.
> > >
> > >
> > >
> > > We are talking about a new RFC (this draft).  I don't care if 8040 ever
> > > uses the new yang-data statement, it can forever have its own private
> > > definition.  I do care that we introduce a long-term solution (again,
> > > augment alone seems limited) and would like to make an incremental
> > > improvement for normative references.
> > >
> > >
> > >
> >
> > IMO it is not worth the trouble.
>
> If it wasn't for the new 'augment-yang-data' statement, I'd agree.
>
> But if we're doing a new standalone document for 'augment-yang-data',
> I think we should also define 'yang-data' in that document.  The cost
> is minimal, and we get one self-contained document with all things
> related to 'yang-data'.
>
>
So you are saying I was right 2 years ago when I brought this issue up
repeatedly?  ;-)
I don't agree that moving YANG definitions around for minor reasons is
helpful.
The larger YANG community (outside the IETF) are not asking for the
foundation
to be constantly replaced. They are not appreciative of constant churn in
the standards.

It seems we have already reached a point where we understand that modules
are cheap.
In some cases a new module does not even cost the length of a namespace
string in a packet.
We should learn to use YANG modularity, because it is almost free.  The
cost of high coupling
and low cohesion is much worse that the cost of splitting up YANG modules
at the start.




> /martin
>

Andy