Re: [netmod] New I-D Submission: draft-bertz-netmod-commonaugment

Andy Bierman <andy@yumaworks.com> Fri, 10 March 2017 17:08 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 D10981296A5 for <netmod@ietfa.amsl.com>; Fri, 10 Mar 2017 09:08:49 -0800 (PST)
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 fa-73FnHrmqy for <netmod@ietfa.amsl.com>; Fri, 10 Mar 2017 09:08:48 -0800 (PST)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 A07601295FD for <netmod@ietf.org>; Fri, 10 Mar 2017 09:08:47 -0800 (PST)
Received: by mail-wm0-x235.google.com with SMTP id t189so53408wmt.1 for <netmod@ietf.org>; Fri, 10 Mar 2017 09:08:47 -0800 (PST)
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=Q1CohUj5h9GWyvYQEDX5bjUa4pd28jsSzOEqAxcVN2o=; b=Na9eT3pD6yQUt/xLVp+qlPSeSx3q+RU0KgsWbeJy7gvXsB/s8Mf33J4dZYb4+lneG7 69ooc4g1aGe3d9aE623uDKtU9u62sBFm2pNGZrzw8W7ZugEN4FXSLa8CHqtYs9Utk/Xu btSzCP7eI7jrcoX9K/xQ0MgHzV2lKXYhEVhm4EBmy7a/5bvXBuS6ScgrJaJC3alcLVRM tFw7555N9AiqME/KtQpM834xyzDOU8/D2p6yRxLOUidGoEE3FsPfKOD1Ct8QavHP0BM2 h+2gHafsF3wKy7qX0xfnHIrUI3wgN1pLHSG4k8u1VL1YTN9fuqxtGVylJ2MV3Jl0XqFx dLZQ==
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=Q1CohUj5h9GWyvYQEDX5bjUa4pd28jsSzOEqAxcVN2o=; b=ld64ZwNQUQy+50Nwd1qAyxfw7hK0k4ZlmpE4HNXWdBH+QGzQx3kGxJTsr2UGYJ/BF/ vc7sLKF8ZP+gdUJu+E7SjN7aY3afzwiVePgfcm7WwaRh9fFQzVcUGc5t8XSMxvaXvEER rAz3MRRypuLqbH2DbTIU5ZPBiXpAkqLDTdfuyw5ftqwNsQWTjg2tSAjMe0wPyRZ12AVy +pATjWKotHTVIpvcaS/4SayffFJKC07HbIxd4EL68PbQvcM1ZnHHqACsdKBGMyY5/mua erMVwpsH+5qGjl4Nv+1REKGu1cjqgPftrHUpB1fbX33+bX3a2cHl/1Fw+DL22wDbqDJH R9WA==
X-Gm-Message-State: AFeK/H2iyQ5npuhDLf2L3yBv9RuvL5rIhJMmmgCRN5vffw3+X2Nc8t89ZnV9NY/yLzKHQedkNbynA4jkCkrBWQ==
X-Received: by 10.28.46.213 with SMTP id u204mr4386wmu.136.1489165726208; Fri, 10 Mar 2017 09:08:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.165.154 with HTTP; Fri, 10 Mar 2017 09:08:45 -0800 (PST)
In-Reply-To: <m21su5z04u.fsf@birdie.labs.nic.cz>
References: <CAC5bAia030UoPbtqa6vu7u745XTm2JLvncFmkXQrHQApaUs4Ow@mail.gmail.com> <m2innlcw8l.fsf@nic.cz> <CAC5bAiY06j52yU-B_x_jHyxkNTOPCKdv8nkkoHbazKsXiniHCg@mail.gmail.com> <m21su5z04u.fsf@birdie.labs.nic.cz>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 10 Mar 2017 09:08:45 -0800
Message-ID: <CABCOCHQeYH7=PFytn+0+JZRZcgKwGG5COZtkaTpY6gzxbmQv_Q@mail.gmail.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Content-Type: multipart/alternative; boundary="001a11497ace1f891b054a636a8f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/q3czvP5iqmzDsMmZ3WYgT51K5f4>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] New I-D Submission: draft-bertz-netmod-commonaugment
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 10 Mar 2017 17:08:50 -0000

On Fri, Mar 10, 2017 at 6:17 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

> Lyle Bertz <lyleb551144@gmail.com> writes:
>
> > Understood.
> >
> > Let's discuss at the meeting though.  This was a significant issue in the
> > development of the IETF DMM FPC yang files and our open source project.
>  I
> > am open to this going in the proper direction wherever that is but wanted
> > to bring the issue and a possible solution to the table.
>
> Yes, that's fine. One way to alleviate this problem is to define a
> grouping and then have multiple augments that use this grouping. We used
> this approach in RFC 8022. Would this work for your use cases?
>
>
I agree with Martin that this YANG extension replaces augment-stmt and
therefore will
break tools that conform to RFC 7950.  The extension saves 1 line of YANG
for each
"extra augment" so the benefit for readers and writers seems minimal.



> Lada
>

Andy


>
> >
> > Lyle
> >
> >
> > On Tue, Mar 7, 2017 at 2:43 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:
> >
> >> Hi,
> >>
> >> while the use case is clear, I believe such rather fundamental changes
> >> to YANG cannot be done through extensions because otherwise the value of
> >> YANG as a standard will be lost.
> >>
> >> Lada
> >>
> >> Lyle Bertz <lyleb551144@gmail.com> writes:
> >>
> >> > All,
> >> >
> >> > This is a small submission that allows a single augment statement to
> be
> >> > used to augment multiple schema locations or, at the very least, give
> the
> >> > YANG to language generation tools a hint that the augment is similar
> to
> >> > other augments in the module.
> >> >
> >> > It can be found at
> >> > https://datatracker.ietf.org/doc/draft-bertz-netmod-commonaugment/
> >> >
> >> > It is in direct response to issues that arose writing YANG for the
> IETF
> >> DMM
> >> > FPC specification that can be found at
> >> > https://datatracker.ietf.org/doc/draft-ietf-dmm-fpc-cpdp/
> >> >
> >> > and also in response to issues found wrt yangtools (OpenDaylight) code
> >> > generation of the FPC specification.
> >> >
> >> > Lyle
> >> > _______________________________________________
> >> > netmod mailing list
> >> > netmod@ietf.org
> >> > https://www.ietf.org/mailman/listinfo/netmod
> >>
> >> --
> >> Ladislav Lhotka, CZ.NIC Labs
> >> PGP Key ID: 0xB8F92B08A9F76C67
> >>
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>