[netmod] Fwd: New Version Notification for draft-tgraf-netconf-yang-notifications-versioning-03.txt

Benoit Claise <benoit.claise@huawei.com> Tue, 28 February 2023 10:58 UTC

Return-Path: <benoit.claise@huawei.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 8AE78C151710 for <netmod@ietfa.amsl.com>; Tue, 28 Feb 2023 02:58:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 jyjyOzjtWC3W for <netmod@ietfa.amsl.com>; Tue, 28 Feb 2023 02:58:37 -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 7F399C15154E for <netmod@ietf.org>; Tue, 28 Feb 2023 02:58:37 -0800 (PST)
Received: from frapeml500001.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PQvNz5WRcz6J7Yh; Tue, 28 Feb 2023 18:53:39 +0800 (CST)
Received: from [10.81.215.227] (10.81.215.227) 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.21; Tue, 28 Feb 2023 11:58:30 +0100
Content-Type: multipart/alternative; boundary="------------0jZ0ZtQMop6jseVzMgCEbSw0"
Message-ID: <64eab324-3d88-4c12-eabb-84ac4b59d48f@huawei.com>
Date: Tue, 28 Feb 2023 11:58:24 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1
References: <9D15D1AF-D88B-4210-AF81-84A7B49B9D25@insa-lyon.fr>
Content-Language: en-GB
To: "netmod@ietf.org" <netmod@ietf.org>
CC: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>, Pierre Francois <pierre.francois@insa-lyon.fr>, "Thomas.Graf@swisscom.com" <Thomas.Graf@swisscom.com>, me <benoit.claise@huawei.com>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <9D15D1AF-D88B-4210-AF81-84A7B49B9D25@insa-lyon.fr>
X-Forwarded-Message-Id: <9D15D1AF-D88B-4210-AF81-84A7B49B9D25@insa-lyon.fr>
X-Originating-IP: [10.81.215.227]
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/netmod/iUKi_eCSQxSuIEol5K8iE9mP31M>
Subject: [netmod] Fwd: New Version Notification for draft-tgraf-netconf-yang-notifications-versioning-03.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 28 Feb 2023 10:58:41 -0000

Dear NETMOD WG,

Note the change of WG from NETCONF to NETMOD

Is this something that should be discussed during the Tuesday "NETMOD 
YANG Version Discussions " calls?

Regards, Benoit


-------- Forwarded Message --------
Subject: 	Re: New Version Notification for 
draft-tgraf-netconf-yang-notifications-versioning-03.txt
Date: 	Thu, 19 Jan 2023 17:26:06 +0100
From: 	Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
To: 	Netconf <netconf@ietf.org>
CC: 	Pierre Francois <pierre.francois@insa-lyon.fr>, Benoit Claise 
<benoit.claise@huawei.com>, Thomas Graf <Thomas.Graf@swisscom.com>



Dear Netconf WG,

I would like to raise a discussion on how this YANG module should be 
used and therefore if the current types are the right ones.

First of all, this draft wants to address two main issues:
1. Adds the version or the semver in the stablish-subscription and 
modify-subscription rpcs to allow selecting the versionned YANG module 
in YANG-push
2. Adds the version and the semver in the subscription-started and 
subscription-modified notifications and the subscription datastore to 
have the version and the semver in them.

My concern is the following:
In the rpc, the current “revision" is a "rev:revision-date-or-label", 
meaning that in the “revision” leaf you can chose either the revision 
“2020-01-10” or the semver “1.0.0”. Should this be “rev:revision-date” 
instead?
I am asking myself which is the wanted use-case of the different leaves. 
I understand that if the "revision-label" is used, there is no need for 
the “revision” (in the subscription rpc)?

On the notification side, I do think both are necessary, but the same 
issue, the “revision” should maybe be “rev:revision-date”.

Two ways to solve this:

1.
in the rpc: the "revision" being “rev:revision-date” and the 
"revision-label” be “ysver:version”
in the notifications and datastore: the revision being 
“rev:revision-date” and the "revision-label” be “ysver:version”

OR

2.
in the rpc: only having “revision” leaf being 
“rev:revision-date-or-label” and removing "revision-label" leaf.
in the notifications and datastore: the "revision" being 
“rev:revision-date” and the "revision-label” be “ysver:version”

Does this make sense? What are your thoughts?

Regards,

Alex Huang Feng


> On 17 Jan 2023, at 15:43, Thomas.Graf@swisscom.com wrote:
>
> Dear netconf wg,
>
> We addressed in section 4.2 a copy paste error on the yang module and 
> published the document in the -03 version.
>
> Best wishes
> Thomas
>
> A new version of I-D, 
> draft-tgraf-netconf-yang-notifications-versioning-03.txt
> has been successfully submitted by Thomas Graf and posted to the IETF 
> repository.
>
> Name: draft-tgraf-netconf-yang-notifications-versioning
> Revision: 03
> Title: Support of Versioning in YANG Notifications Subscription
> Document date: 2023-01-17
> Group: Individual Submission
> Pages: 15
> URL: 
> https://www.ietf.org/archive/id/draft-tgraf-netconf-yang-notifications-versioning-03.txt
> Status: 
> https://datatracker.ietf.org/doc/draft-tgraf-netconf-yang-notifications-versioning/
> Htmlized: 
> https://datatracker.ietf.org/doc/html/draft-tgraf-netconf-yang-notifications-versioning
> Diff: 
> https://author-tools.ietf.org/iddiff?url2=draft-tgraf-netconf-yang-notifications-versioning-03
>
> Abstract:
> This document extends the YANG notifications subscription mechanism
> to specify the YANG module semantic version at the subscription.
> Then, a new extension with the revision and the semantic version of
> the YANG push subscription state change notification is proposed.
>
> The IETF Secretariat
>
> -----Original Message-----
> From: Graf Thomas, INI-NET-VNC-HCS Sent: Saturday, January 14, 2023 
> 7:27 AM
> To: netconf@ietf.org
> Cc: Pierre Francois <pierre.francois@insa-lyon.fr>; Alex Huang Feng 
> <alex.huang-feng@insa-lyon.fr>; Benoit Claise <benoit.claise@huawei.com>
> Subject: FW: New Version Notification for 
> draft-tgraf-netconf-yang-notifications-versioning-02.txt
>
> Dear netconf wg,
>
> On top of the changes in the -01 version based on inputs from IETF 115 
> from of Jason Stern and Rob Wilton, we added in section 4.1.2 the YANG 
> full tree view, added descriptions and resolved some issues in the 
> YANG module raised by the YANG validation.
> On the behalf of the authors I like to request the adoption of the 
> document to the netconf working group and request a slot at IETF 116 
> to present an update, discuss and conclude how to progress on 
> subscription id being mandatory.
>
> Best wishes
> Thomas