Re: [netconf] New draft: Augmentiton Addition into the IETF-YANG-Library

Benoit Claise <benoit.claise@huawei.com> Mon, 13 November 2023 17:07 UTC

Return-Path: <benoit.claise@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59B72C1522D3 for <netconf@ietfa.amsl.com>; Mon, 13 Nov 2023 09:07:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.994
X-Spam-Level:
X-Spam-Status: No, score=-1.994 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.091, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uq2GlF_h8NMI for <netconf@ietfa.amsl.com>; Mon, 13 Nov 2023 09:07:36 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41829C1519BF for <netconf@ietf.org>; Mon, 13 Nov 2023 09:07:36 -0800 (PST)
Received: from frapeml500001.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4STbN43Tcmz6JB42; Tue, 14 Nov 2023 01:03:00 +0800 (CST)
Received: from [10.48.217.204] (10.48.217.204) by frapeml500001.china.huawei.com (7.182.85.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Mon, 13 Nov 2023 18:07:23 +0100
Content-Type: multipart/alternative; boundary="------------vs0nzcwa05qVm5Zv9UYW0qUC"
Message-ID: <b5d4f252-7814-fe8b-b492-f967e718920d@huawei.com>
Date: Mon, 13 Nov 2023 18:07:21 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language: en-US
To: "Jan Lindblad (jlindbla)" <jlindbla=40cisco.com@dmarc.ietf.org>
CC: "netconf@ietf.org" <netconf@ietf.org>, Zhuoyao LIN <zephyre888@gmail.com>, me <benoit.claise@huawei.com>
References: <169926957480.41732.13691497170003209371@ietfa.amsl.com> <abb8d6c9-71d5-75b2-9988-b1b04ba158a3@huawei.com> <8EB468CE-61A5-49BA-8E2A-D647804A4E97@cisco.com>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <8EB468CE-61A5-49BA-8E2A-D647804A4E97@cisco.com>
X-Originating-IP: [10.48.217.204]
X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To frapeml500001.china.huawei.com (7.182.85.94)
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/d2krgt2h3d1sXXuqz_KW-C7jc-c>
Subject: Re: [netconf] New draft: Augmentiton Addition into the IETF-YANG-Library
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Nov 2023 17:07:40 -0000

Hi Jan,

Thanks for your review and comment.
See inline.

On 11/9/2023 6:17 PM, Jan Lindblad (jlindbla) wrote:
> Benoît, WG,
>
> I listened to the presentation in the NETCONF WG, and now I have also 
> read this draft. I think it's ok, even if it does not really provide 
> clients with any new information that they can't access today. Since 
> it is optional for servers to implement, I don't think there are any 
> problems standardizing a module like this. Servers that often 
> participate in use cases where clients find this shortcut to 
> information useful may well choose to implement the augmentation.

>
> If I may be very technical for a moment, I might add that the current 
> definition of the augmentation leaf-list is a bit odd. It is a leafref 
> referring 
> to /yanglib:yang-library/yanglib:module-set/yanglib:module/yanglib:name. 
> In this path there are two keys (module-set/name and 
> module-set/module/name). That means you need two leafrefs to uniquely 
> identify the module, one for each key leaf in the path. Instad of 
> using a leaf-list of leafrefs here, I'd suggest modeling this as a 
> traditional list with two leafref keys to avoid the problem. Other 
> solutions are also possible. Perhaps naming this addition 
> "augmented-by" would also make the contents clearer.
I like the "augmented-by" proposal.
And good advice on the two leafref keys, which we will implement.

Regards, Benoit
>
> Best Regards,
> /jan
>
>
>> On 6 Nov 2023, at 23:02, Benoit Claise 
>> <benoit.claise=40huawei.com@dmarc.ietf.org> wrote:
>>
>> Dear all,
>>
>> Let me introduce this draft
>>
>>     This document augments the ietf-yang-library in [RFC8525] to provide
>>     the augmentation list. It facilitates the process of obtaining the
>>     entire dependencies of YANG model, by directly querying the server
>>     YANG module.
>>
>> Feedback on this brand new draft (done during the hackathon) is welcome;
>>
>> Regards, Zhuoyao & Benoit
>>
>> -------- Forwarded Message --------
>>
>> A new version of Internet-Draft
>> draft-lincla-netconf-yang-library-augmentation-00.txt has been 
>> successfully
>> submitted by Benoit Claise and posted to the
>> IETF repository.
>>
>> Name: draft-lincla-netconf-yang-library-augmentation
>> Revision: 00
>> Title: Augmentaiton Addition into the IETF-YANG-Library
>> Date: 2023-11-03
>> Group: Individual Submission
>> Pages: 13
>> URL: 
>> https://www.ietf.org/archive/id/draft-lincla-netconf-yang-library-augmentation-00.txt
>> Status: 
>> https://datatracker.ietf.org/doc/draft-lincla-netconf-yang-library-augmentation/
>> HTMLized: 
>> https://datatracker.ietf.org/doc/html/draft-lincla-netconf-yang-library-augmentation
>>
>>
>> Abstract:
>>
>> This document augments the ietf-yang-library in [RFC8525] to provide
>> the augmentation list. It facilitates the process of obtaining the
>> entire dependencies of YANG model, by directly querying the server
>> YANG module.
>>
>> Discussion Venues
>>
>> This note is to be removed before publishing as an RFC.
>>
>> Source for this draft and an issue tracker can be found at
>> https://github.com/Zephyre777/draft-lincla-netconf-yang-library-
>> augmentation.
>>
>>
>>
>> The IETF Secretariat
>>
>>
>>
>> _______________________________________________
>> netconf mailing list
>> netconf@ietf.org
>> https://www.ietf.org/mailman/listinfo/netconf
>