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

Alex Huang Feng <alex.huang-feng@insa-lyon.fr> Wed, 25 January 2023 09:34 UTC

Return-Path: <alex.huang-feng@insa-lyon.fr>
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 3B796C14F6EC for <netconf@ietfa.amsl.com>; Wed, 25 Jan 2023 01:34:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.484
X-Spam-Level:
X-Spam-Status: No, score=0.484 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no 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 El-GUR87Us7P for <netconf@ietfa.amsl.com>; Wed, 25 Jan 2023 01:34:02 -0800 (PST)
Received: from smtpout01-ext2.partage.renater.fr (smtpout01-ext2.partage.renater.fr [194.254.240.33]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 368E4C14EB15 for <netconf@ietf.org>; Wed, 25 Jan 2023 01:34:00 -0800 (PST)
Received: from zmtaauth03.partage.renater.fr (zmtaauth03.partage.renater.fr [194.254.240.26]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 268DD6319A for <netconf@ietf.org>; Wed, 25 Jan 2023 10:33:56 +0100 (CET)
Received: from zmtaauth03.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPS id 798E88005A for <netconf@ietf.org>; Wed, 25 Jan 2023 10:33:54 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTP id 739BB8011D for <netconf@ietf.org>; Wed, 25 Jan 2023 10:33:54 +0100 (CET)
Received: from zmtaauth03.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth03.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KItpbh_w4z9B for <netconf@ietf.org>; Wed, 25 Jan 2023 10:33:54 +0100 (CET)
Received: from 176.146.148.215 (unknown [194.254.241.250]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPA id 326C48005A for <netconf@ietf.org>; Wed, 25 Jan 2023 10:33:54 +0100 (CET)
From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
Content-Type: multipart/alternative; boundary="Apple-Mail=_223E26FF-716A-4F06-BB46-FE472967D5B0"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Date: Wed, 25 Jan 2023 10:33:53 +0100
References: <167463735425.575.15306276671931656762@ietfa.amsl.com>
To: Netconf <netconf@ietf.org>
In-Reply-To: <167463735425.575.15306276671931656762@ietfa.amsl.com>
Message-Id: <021AE345-3227-47A7-BB72-C84476E2A459@insa-lyon.fr>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-Virus-Scanned: clamav-milter 0.103.6 at clamav01
X-Virus-Status: Clean
X-Renater-Ptge-SpamState: clean
X-Renater-Ptge-SpamScore: 0
X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvvddgtdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtggguffffhfvjgfkofesrgdtmherhhdtvdenucfhrhhomheptehlvgigucfjuhgrnhhgucfhvghnghcuoegrlhgvgidrhhhurghnghdqfhgvnhhgsehinhhsrgdqlhihohhnrdhfrheqnecuggftrfgrthhtvghrnhepkeetudfhteekudffteelteeljedulefhueehhefgueehhffftddtffdvhfdvhfdunecuffhomhgrihhnpehivghtfhdrohhrghenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepudejiedrudegiedrudegkedrvdduhedpmhgrihhlfhhrohhmpeetlhgvgicujfhurghnghcuhfgvnhhguceorghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehnvghttghonhhfsehivghtfhdrohhrgh
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/_lt7JKhv0wQuvWpxedlPnnVaSqs>
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: Wed, 25 Jan 2023 09:34:07 -0000

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