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

Ladislav Lhotka <lhotka@nic.cz> Fri, 10 March 2017 14:17 UTC

Return-Path: <lhotka@nic.cz>
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 C2C8C1295B0 for <netmod@ietfa.amsl.com>; Fri, 10 Mar 2017 06:17:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 QNiNyb1-W6qf for <netmod@ietfa.amsl.com>; Fri, 10 Mar 2017 06:17:55 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 4667B1295AC for <netmod@ietf.org>; Fri, 10 Mar 2017 06:17:55 -0800 (PST)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id 6D91E1820044; Fri, 10 Mar 2017 15:18:16 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Lyle Bertz <lyleb551144@gmail.com>
In-Reply-To: <CAC5bAiY06j52yU-B_x_jHyxkNTOPCKdv8nkkoHbazKsXiniHCg@mail.gmail.com>
References: <CAC5bAia030UoPbtqa6vu7u745XTm2JLvncFmkXQrHQApaUs4Ow@mail.gmail.com> <m2innlcw8l.fsf@nic.cz> <CAC5bAiY06j52yU-B_x_jHyxkNTOPCKdv8nkkoHbazKsXiniHCg@mail.gmail.com>
Date: Fri, 10 Mar 2017 15:17:53 +0100
Message-ID: <m21su5z04u.fsf@birdie.labs.nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/TNNpH1j_bP1B3f1gQTVv07-KvTw>
Cc: 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 14:17:56 -0000

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?

Lada

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