Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-00.txt

"Jason Sterne (Nokia)" <jason.sterne@nokia.com> Thu, 16 February 2023 14:53 UTC

Return-Path: <jason.sterne@nokia.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 5FC97C15952A for <netconf@ietfa.amsl.com>; Thu, 16 Feb 2023 06:53:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 DIQkcgtfo3CP for <netconf@ietfa.amsl.com>; Thu, 16 Feb 2023 06:53:15 -0800 (PST)
Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2094.outbound.protection.outlook.com [40.107.101.94]) (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 70F51C1522D3 for <netconf@ietf.org>; Thu, 16 Feb 2023 06:53:14 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RTh0Ytf9F5X74iVVnu0+TAQYNKzvq9wAZArVwS4fqtvJSkE9KOG3LmQXVoqlZmfY8aYP4A+AZE9cNvyWRszhqIMiqLV0ywZFfGWd0eWayuzWveu0wGnN8JcPb3CZZ+Hleoa8zQfvird93oU03AV1Zsgbj3utqtt+j5FWS0K/vh5QN01HleADOo/Zepb2EdUgzTZUVJqwkBjczDhdOjPH9W+vT+twWLDQrFVMHb6BaSKpAb7gboq8cSwOSVryVtWymb49XDrA12CCcSEeoY4PQgpUDJJTld6qSUYmrxrziwHrGYLbGTqhYMW7WdASy9aWFAL+3TCmP7e6B+5bgES3dw==
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=PNIMQMBd+ccCRWe+RCeloXpA+C34sj1wxZareB2TIic=; b=B1hSKOS8VaDdJ/LsUbJX8WrA/McwUdKoZhONrCFd+sfSn38u07f18msV7Yy2++DBAh6tLodeggZgPc3YYhJq2vkWZnbjeaHSjj7NWJpn1PBOgDA4JCFzeGWaruGHmaBm9xNNN40jDIGM6zyIm7FSzipcX1CjqldhyKdx3NTb1SmvE6cuxk4bb/cSxBUIz5inXHrXSl22KOTFYSrsVxcZjcsg7dvMBqdy/mexEvPn9qDEWEBJONa4IwdRaepV/68wHuM3rWYtqwF6cb84Vq2RAgeXs3dbQ+Jde8EpEcgcN7R49j4DlxWOpz4AO33rLOWJm4Np6Svt80UYXtVL8o72Zw==
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=PNIMQMBd+ccCRWe+RCeloXpA+C34sj1wxZareB2TIic=; b=JIlU/dAnfeBYcKuTdw9Jvc64nYE6aF42qBwVCE0gTB9wPHtXdaytKkanI2npC9WnJNIIekwPfvOTliEmpVUkAfDXWsNhAbAVH8u9vw5NVeN+Y4INeQKmlZrYPn+ipTMoQK53cRVq+kyLjwUZCGq6vOyTDEaAqb4xn3g5HkfpXSHh8TQlOZ8wUdT44vqxPx2JtltXI0YVa349WOtrqt9OmRoI3cjMQiWpo5P2sfbwB5VM5Jm4IolNAJlNeCv/e69iOvQPjZ7kaaiM+u0riNWJfuUIBudtf+57yVq8r5tDHPbKbl+Nm8IGqzSmXamD6/wY176TFtBoBpI9PeYTWkbOvg==
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by PH0PR08MB7002.namprd08.prod.outlook.com (2603:10b6:510:92::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Thu, 16 Feb 2023 14:53:12 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::85b5:28e:a40e:89dc]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::85b5:28e:a40e:89dc%4]) with mapi id 15.20.6086.026; Thu, 16 Feb 2023 14:53:11 +0000
From: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>
To: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
CC: Netconf <netconf@ietf.org>
Thread-Topic: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-00.txt
Thread-Index: AQHZMKAxZrIS9pbTn0e6SqJTtBVBrK65HePggBhiP4CAAErBsA==
Date: Thu, 16 Feb 2023 14:53:11 +0000
Message-ID: <DM6PR08MB50842F1BC3352F984221278B9BA09@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <167463735425.575.15306276671931656762@ietfa.amsl.com> <021AE345-3227-47A7-BB72-C84476E2A459@insa-lyon.fr> <DM6PR08MB5084D3F9FB11F181E0B275619BD09@DM6PR08MB5084.namprd08.prod.outlook.com> <A24027D6-D710-4058-ADDD-847AC6320A57@insa-lyon.fr>
In-Reply-To: <A24027D6-D710-4058-ADDD-847AC6320A57@insa-lyon.fr>
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_|PH0PR08MB7002:EE_
x-ms-office365-filtering-correlation-id: 58178fd0-227c-4dd6-391b-08db102d8670
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: bpQY5nfOKE9gjr+s94ZeCJsvYJPQ4mtfHl0oM47tsAx6hNh6iYIU+/GWfqktjDYrmY/OWi6ZAIeS3nSTXtQ9BJHRtrYpkabCXej86LxqCGLs9vVB/1Jey/jf95rAdcrBOfVD+/5CkXEJ2JbBzEB4aFyrIWEhQzWR+Em986keaMQ/iAUXv8fOoAJBlUw59C6k7wUQjxIr1+XIYZGlvb3xUcKoGwUbUnlbu/98isNYY2DNpKr+MOsLgdvEJXDhN0ydtwXdn/hEgOaV0n4//iyC1u+WPWWf37AexOb2dCHMRfAC6uiCiC9wUi1zLNj5HdRtlYiUf1IwIs/NXMAx+e5EOf7eFO4iBIgGsDL8ymVWAyGD2fGRzL5ai/q//Vf1RNOWaIHpcWlyoj3lzJ9UXfrixereYN7UcH28evjSbwY3/xR6dLyz2k321RMDsZRXdX0+U3bJKXwQX4BcoQNIXFGu9QODlTRrL1MdpWBK8DLbZewv6fKRwRXCbHAV2tyaFqAlnDoxP5VNlVgXEsV9CiVXZTCz3j2Vt18JYzdIFO/ajCJCu4jJT7aOkUvOvJzuoyg5YNt6FnIWi43BVshduO0069LhxrgAIrkDtdZwu9nDKvLsTtsJM/PHKLxgJCjDOUYbHGhTExsGWjiiL+WbfKRFFIlcPuErAXnuUhhSeY81g6qWK4XnXmUgrYT6aTeELgSbsFM+sLfVY6Md5pYb7rqUEJgYdB/tlppBO/HcLoSgIxU=
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)(136003)(396003)(376002)(366004)(39860400002)(346002)(451199018)(33656002)(83380400001)(7696005)(55016003)(66574015)(478600001)(71200400001)(966005)(53546011)(26005)(6506007)(9686003)(186003)(166002)(38100700002)(41300700001)(82960400001)(5660300002)(52536014)(86362001)(8936002)(9326002)(38070700005)(316002)(66446008)(2906002)(4326008)(64756008)(8676002)(66476007)(66946007)(66556008)(15650500001)(6916009)(76116006)(122000001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: fdT3cTVsTYAw88+qPOCSN1fOxVQbGML1DWpd1SZoh6cB32Z+/9BTY6p3Hk+DABGQn8TrvcnIWI3kjWz2gv/WT86egnCICE3Xb9NgJHSVHg7UYfxEtN/qX4siwgEkrkcc7gvMIwUSwzTwsmrYYz5jWQRJju3foopnqVA/JWWi7/dN5zMCCbfa9pOtQsTj340Wbqypihi0Jo6QcBGMt0+9Ghn+tXGRpcIpAAUa3bhvzdm/ReQuU9i/qbPNBZdpzsqKMcL4kcagYajkiTRtYJ+JqLE/hzXNlNkKxpez5j3DhHH7guUGPOZowlBt8HdwvDPnVgRDjfF88PlhPLZ4dj0SGbo+YL9XkxftboALkFtxhyLZH5QwzMjDiew9nscCN8rCfssdyQl5YR9dqFAfifNu9yotC8vAfGIlfSaRSio+AB7KiZARCLrau74aLZo3qK5aYBzWPteNfLOL0FvKhXOz0t/rCdKQ7rDPAkrVpSBGfa+q+ijqMutfatnYqoai/z2aCHIreX+Z6Qi2ACwjlt0HhL7oV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50842F1BC3352F984221278B9BA09DM6PR08MB5084namp_"
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: 58178fd0-227c-4dd6-391b-08db102d8670
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2023 14:53:11.7662 (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: pJTtngxE+YBhFw3yDWVUfy41wI4BUfV9ZgxQsuJXpvxgz+OCqISzvittJMmqVexQ+GUzyrqMpk2DMhXg6hycjg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR08MB7002
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/0jmkyrCGjhigwebhNVbFXSGmZSk>
Subject: Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-00.txt
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: Thu, 16 Feb 2023 14:53:19 -0000

Hi Alex,

I’m not an expert on whether it is OK to have the same namespace for a YANG schema and an XML Schema (XSD) that both describe the same model. But it would be really good if we think that might be acceptable.

Anyone out there know if we couldn’t do that? It would be a shame…

Jason

From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
Sent: Thursday, February 16, 2023 5:23 AM
To: Jason Sterne (Nokia) <jason.sterne@nokia.com>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-00.txt

Hi Jason,

Thanks for your feedback.
Yes, that was my second option, just not asking for a new URI and reusing urn:ietf:params:xml:ns:netconf:notification:1.0 as defined in RFC5277.
My issue there was that the same namespace is linked to two schemas, one defined in XML (with RPCs) and one defined in YANG (without RPCs) which seems a bit confusing.
But if it is the way to go, happy to remove the URI from the draft.


Alex


On 31 Jan 2023, at 23:06, Jason Sterne (Nokia) <jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>> wrote:

Hello Alex,

If we use a different namespace, then it means the notifications that clients receive would be in a different namespace (that in theory they don’t recognize unless they are updated with your new draft).

Maybe we’d just want to keep the same old namespace as in RFC5277 here? It is just an alternative schema format for describing the same schema elements.

Jason

From: netconf <netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>> On Behalf Of Alex Huang Feng
Sent: Wednesday, January 25, 2023 4:34 AM
To: Netconf <netconf@ietf.org<mailto:netconf@ietf.org>>
Subject: Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-00.txt

Dear Netconf WG,

On the last IETF 115 (and some time ago in the ML), I raised the discussion on a gap in the spec of YANG-push notification model.

The definition of this model is necessary to encode and decode the YANG-push notification header using different encodings.

Currently, the definition of this model is specified in RFC5277 using a XML schema (See section 4 of RFC5277).

When the message needs to be encoded using other YANG-compatible encodings (such as YANG-json RFC7951 or CBOR RFC9254), a YANG model needs to be defined.

This draft defines the YANG model for this notification message.
It is a short and very simple draft addressing only the existing definition of RFC5277. No RPCs are defined since they are already defined in RFC8641.

In the IANA section, I asked for a new URI: urn:ietf:params:xml:ns:yang:ietf-notification. Here I asked myself if this is the way to do it.
In RFC5277, the authors asked for urn:ietf:params:xml:ns:netconf:notification:1.0. This URI reference the XML schema.
In practice, the validation of the header is valid using both namespaces, but since RFC5277 also defines some RPCs, I went for a new URI.

I would like to request feedback from the WG.

Cheers,

Alex



On 25 Jan 2023, at 10:02, internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> wrote:


A new version of I-D, draft-ahuang-netconf-notif-yang-00.txt
has been successfully submitted by Alex Huang Feng and posted to the
IETF repository.

Name:                draft-ahuang-netconf-notif-yang
Revision:            00
Title:                   YANG model for NETCONF Event Notifications
Document date:             2023-01-25
Group:                Individual Submission
Pages:                6
URL:            https://www.ietf.org/archive/id/draft-ahuang-netconf-notif-yang-00.txt
Status:         https://datatracker.ietf.org/doc/draft-ahuang-netconf-notif-yang/
Htmlized:       https://datatracker.ietf.org/doc/html/draft-ahuang-netconf-notif-yang


Abstract:
  This document defines the YANG model for NETCONF Event Notifications.





The IETF Secretariat