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

"Jason Sterne (Nokia)" <jason.sterne@nokia.com> Tue, 14 March 2023 14:07 UTC

Return-Path: <jason.sterne@nokia.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 A2ABBC14CE3F for <netmod@ietfa.amsl.com>; Tue, 14 Mar 2023 07:07:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nokia.com
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 OS2Q9qHX-k1F for <netmod@ietfa.amsl.com>; Tue, 14 Mar 2023 07:07:15 -0700 (PDT)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on20700.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eae::700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC68EC14CE4F for <netmod@ietf.org>; Tue, 14 Mar 2023 07:07:15 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UiEV28FFQb4BMMFP6FKjT1k4CNROk35uIge+xjByT5eJ9yupp9f88XRH+QN4krcnQMLCZNlvjOnq4yXDRCd2EXp0NN4txwV/gpqDAlZxYEcJ5coX6Ob29YmRGtX6KLOOfXIxhANhe/9oSQfb5Alezin3sf/fluMghgku5tp8u8w6CiofFqCznJ4Z6ZgNjNioed/uNjp1oUjf/BZSjV8jamEN5KEJtGwJjjuqcX3LdbQWgnlaDs6mbFbFc2LrxgWdAwxfm1JktSkenkv01XZByJKGhTeJozZdqAGlKJ2MVc6GZcfes23/RW4/MQO6Rqr8EbtK7JgzaiPcdw6AhHylmA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gJn8y2F7OrdY/lv3xGIyDZkj1rRdh710OsQZCwpjjTw=; b=KFFVnykGTZ+wparLOpZmX/up7PYeQbFIh0Eu5LoVVxsso41ZmE6P3f8eoSuD+5AMczIO9tSFCXerLpTofX3azi/XS6O/nRX8ahRvTLud2HKAEnVoe0kjUUPeO3Ls4RB7qfJMarcRnst/InoKib7zLURi2fXISNaGDMmWTw2NZdTCRS10qmmih7Ecb2fibHctGyotFMfpxQEw8CPrJLBRJB1Q9y2i1PMzm3fkP155zag4V70xbqRSAxt34fwFUEnIuLK6c+KwQ4M0kR3NoL8u5PSAWzB4MP+Jdm6Gu0ZHCB7W34UQtBlNBBRoTEGmGfurE5NBdKUtD/IgDryYPqRlPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gJn8y2F7OrdY/lv3xGIyDZkj1rRdh710OsQZCwpjjTw=; b=IJGVJXPadQdHDeIqtLLzHR2uBZ/tKySXMgZopidjVd1Fd+aErwbra683TdUV8I4UFOyrLEOWkyUHngJlWD4wX/ogpx4RRNqoY9HbjMysUNASKiX/yQqXd8q7UPI8HEGxHhZAFszXX9yoDc0ysvtPHjsjRSS2ERkvfajecexkEW6YQQOp9ddUzp+62Yh1PqXCKbx4LLLM0/4N+g2oV2T9wkNIzYIJ/50o8ISL8/UMGaFb1h4dmEmqS2s2lgrR/zCmMuw9cKcifNjwvWPtoksjFBuNOBtqc6h3Gl0YKkMOVKikYNJ01epL1rbw0lJK4RLEo21k8Usz2cwEoXm9YjwvkQ==
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by PH0PR08MB7794.namprd08.prod.outlook.com (2603:10b6:510:f5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.19; Tue, 14 Mar 2023 14:07:11 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::2ee0:8018:7be:86ba]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::2ee0:8018:7be:86ba%3]) with mapi id 15.20.6178.024; Tue, 14 Mar 2023 14:07:11 +0000
From: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>
To: Benoit Claise <benoit.claise=40huawei.com@dmarc.ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
CC: Pierre Francois <pierre.francois@insa-lyon.fr>, "Thomas.Graf@swisscom.com" <Thomas.Graf@swisscom.com>
Thread-Topic: [netmod] Fwd: New Version Notification for draft-tgraf-netconf-yang-notifications-versioning-03.txt
Thread-Index: AQHZS2OrlCqbHNpr4EqLK5ZTv8KSCK76ZHqg
Date: Tue, 14 Mar 2023 14:07:11 +0000
Message-ID: <DM6PR08MB5084D00620CD37680319434E9BBE9@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <9D15D1AF-D88B-4210-AF81-84A7B49B9D25@insa-lyon.fr> <64eab324-3d88-4c12-eabb-84ac4b59d48f@huawei.com>
In-Reply-To: <64eab324-3d88-4c12-eabb-84ac4b59d48f@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DM6PR08MB5084:EE_|PH0PR08MB7794:EE_
x-ms-office365-filtering-correlation-id: 8ccff0c1-1619-48fd-aa56-08db249567c4
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: oDf5a3wqYeXATOfGRZ7+9Ezy23Z6abenT0Txrgggb2K4+WPFzr1t1GSmukVLluVJ3EBrHorFsCKqc4X3VGTgSi342wh+UxwgFroiIS/f6KnHh1eV8Tx77hXXJLM2MrUfqRpZ7A4d/TSxI3zyMFO+tFOuKtQAV8GP3XC6rEocbyWy+kUcDVSlQ9VxXX1CUhBJCo6RMrShW38vOXMCRfxAr/i7boMbEHsKBgfkalLyhiMO2zFR5EHsmfkLVTAttblXVJxzZX06Z149gR6GEPZjkDLLCjhrmswyRiMYQ/At5u1U8+Y1vtf+RQt9IHpQAz2hE3rJf16IOGkcdwbTSNLsQXDQfiuhLyGY5ZbCDL7xFB+jqPhxsiHhtIbPKoNrk6Fr7a4776F8iKf5EhxYSYAnZU9FFQVS4yN5NaGpE+kEIhAF5XG3TdVVFsulZogIzRd9rl6yDYj1cZqAjflUJZbE4wddJtalEJO81eXFXhIU2Nl1tOJ4fqJiJAWM+J6Wbolnf7hGwGfpnYMmb4/Tuwgv9Je1gqo0V3WVGoikyS6RWi0hG61x86rb/BH0eyONQm0DDjBykKvmZQANhDuZx/mhXk5WO7SIiriN0dAF2hm0LTVV1nApJ3njNY7uw+iIQeaWVQ7qLVD46unBjdsBJV/zuFzWhiPKDm3WaMHV7O5BVBSU/h6MyRaJGIPX9r0UYKGNYWnYRX4h6j0mugis4KE6SGNnHUgvlOnlbtWR1Hh80VmI+dWiK+216e+J1cj1MQL1/B23DDQfUjS/x1XVnOac6Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR08MB5084.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(376002)(39860400002)(136003)(366004)(396003)(451199018)(76116006)(5660300002)(110136005)(7696005)(83380400001)(66946007)(8936002)(52536014)(53546011)(186003)(55016003)(478600001)(64756008)(966005)(6506007)(71200400001)(9686003)(26005)(38100700002)(38070700005)(4326008)(66476007)(9326002)(66556008)(66446008)(41300700001)(166002)(33656002)(86362001)(54906003)(8676002)(316002)(82960400001)(15650500001)(2906002)(122000001)(10090945012)(9984715007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: y6djllxhDQTNkOXyhdiSlafN9cV6+bZobXiJwSJFZj/eNVcbfU3zvL1c56kZwrVkoVXB9V1n0LzXMmVaex8J3GbIreYSZLGmH7wANURAV5CXIfnfhw1c+7poYTvf7C6IgpbRy3XjjoO779w9PwQpSusVjaFPML9L7yYVeylFU7mhOUXuqWcDHVrBg0BHuQBDu/z3MBaSKv7zZgdW74Njxer9u58kpyE0xLr9+NT21n6XIw4XNMz9XgGszrSdWmbGWbkjLGk5ADj3rjIUO01ByVbihXkZbPICb4Xq/G3CQrVlPJUYJE9kgflktWDSuaXjHkQcCHwOBbXPVrSusL4yWr30NpL/5YgxFXpO+4EckMMYra/QoyVxV4fQjXiz4HkFcgpzP6JfEEdG4cRLDUA8JvfVCtUknBXxNJ/9IpkjuSXRPxYwo0ghvu+J9kVnDZ23YGfOr59R/wfIP+2wYHTNFyRDz/TpPjXCldd3mVLbVti0+dnsQAF0jHOMfVE3up+m3/4E1z4Qq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Zf7BQmcFacxfnozi
Content-Type: multipart/alternative; boundary="_000_DM6PR08MB5084D00620CD37680319434E9BBE9DM6PR08MB5084namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR08MB5084.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8ccff0c1-1619-48fd-aa56-08db249567c4
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 14:07:11.2413 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: eBduSWzQTO5oYBjz5SmBRQ1ToapgZ2F+TR53hBozxzGDNGvgAdKHWREJaiehrPkrd6CD8wDVwzNTgrp5IObohA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR08MB7794
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dhieG0hTAVJmRUYcmM5eH9XV0O8>
Subject: Re: [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, 14 Mar 2023 14:07:20 -0000

Hi Benoit,

We talked about this briefly on the weekly call today. Our feeling is that it may be best to try and discuss this on the mailing list(s) for now rather than in the weekly calls. That way the entire WGs have the opportunity to be involved. The issues may have a scope that is larger than just the technical details about how to use the versioning drafts.

Jason

From: netmod <netmod-bounces@ietf.org> On Behalf Of Benoit Claise
Sent: Tuesday, February 28, 2023 5:58 AM
To: netmod@ietf.org
Cc: Pierre Francois <pierre.francois@insa-lyon.fr>; Thomas.Graf@swisscom.com
Subject: [netmod] Fwd: New Version Notification for draft-tgraf-netconf-yang-notifications-versioning-03.txt


CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See http://nok.it/ext for additional information.


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><mailto:alex.huang-feng@insa-lyon.fr>
To:
Netconf <netconf@ietf.org><mailto:netconf@ietf.org>
CC:
Pierre Francois <pierre.francois@insa-lyon.fr><mailto:pierre.francois@insa-lyon.fr>, Benoit Claise <benoit.claise@huawei.com><mailto:benoit.claise@huawei.com>, Thomas Graf <Thomas.Graf@swisscom.com><mailto: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<mailto: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<mailto:netconf@ietf.org>
Cc: Pierre Francois <pierre.francois@insa-lyon.fr><mailto:pierre.francois@insa-lyon.fr>; Alex Huang Feng <alex.huang-feng@insa-lyon.fr><mailto:alex.huang-feng@insa-lyon.fr>; Benoit Claise <benoit.claise@huawei.com><mailto: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