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

Alex Huang Feng <alex.huang-feng@insa-lyon.fr> Thu, 20 July 2023 21:59 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 EC643C151547 for <netconf@ietfa.amsl.com>; Thu, 20 Jul 2023 14:59:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.475
X-Spam-Level:
X-Spam-Status: No, score=0.475 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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=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 yh6KGIVT7dfe for <netconf@ietfa.amsl.com>; Thu, 20 Jul 2023 14:59:39 -0700 (PDT)
Received: from smtpout02-ext4.partage.renater.fr (smtpout02-ext4.partage.renater.fr [194.254.241.31]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CCD64C151534 for <netconf@ietf.org>; Thu, 20 Jul 2023 14:59:38 -0700 (PDT)
Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 8F068C0425; Thu, 20 Jul 2023 23:59:33 +0200 (CEST)
Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id 2757F1C0253; Thu, 20 Jul 2023 23:59:33 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 1C5981C0276; Thu, 20 Jul 2023 23:59:33 +0200 (CEST)
Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iAP_yQ36jwMy; Thu, 20 Jul 2023 23:59:33 +0200 (CEST)
Received: from 81.185.171.251 (unknown [194.254.241.249]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 9BB5E1C0253; Thu, 20 Jul 2023 23:59:31 +0200 (CEST)
From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
Message-Id: <847F5850-3B8D-4D7B-902D-BEE37FEE0627@insa-lyon.fr>
Content-Type: multipart/alternative; boundary="Apple-Mail=_12AC444F-FDB7-437F-A0D6-2EB09C243558"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\))
Date: Thu, 20 Jul 2023 23:59:28 +0200
In-Reply-To: <ec5c2be4ae0148ed8aa365eebe2e175e@huawei.com>
Cc: Netconf <netconf@ietf.org>, Pierre Francois <pierre.francois@insa-lyon.fr>
To: "Fengchong (frank)" <frank.fengchong@huawei.com>
References: <167785822747.47655.6113990654338542002@ietfa.amsl.com> <EDBA7E7C-ACAB-450B-98BC-64A56D369E5F@insa-lyon.fr> <ec5c2be4ae0148ed8aa365eebe2e175e@huawei.com>
X-Mailer: Apple Mail (2.3696.120.41.1.3)
X-Virus-Scanned: clamav-milter 0.103.8 at clamav04
X-Virus-Status: Clean
X-Renater-Ptge-SpamState: clean
X-Renater-Ptge-SpamScore: -100
X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedviedrhedugddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhkfgtggfuffgjvefvfhfosegrtdhmrehhtdejnecuhfhrohhmpeetlhgvgicujfhurghnghcuhfgvnhhguceorghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrqeenucggtffrrghtthgvrhhnpeekgeegveetffeitdeuueekudeivdevheefledthfeiteektefghfekgedthfehfeenucffohhmrghinhepihgvthhfrdhorhhgnecukfhppeduleegrddvheegrddvgedurddvgeelnecuuegrugftvghpuhhtkfhppeduleegrddvheegrddvgedurddvgeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdegledphhgvlhhopeekuddrudekhedrudejuddrvdehuddpmhgrihhlfhhrohhmpeetlhgvgicujfhurghnghcuhfgvnhhguceorghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrqedpnhgspghrtghpthhtohepfedprhgtphhtthhopehfrhgrnhhkrdhfvghnghgthhhonhhgsehhuhgrfigvihdrtghomhdprhgtphhtthhopehnvghttghonhhfsehivghtfhdrohhrghdprhgtphhtthhopehpihgvrhhrvgdrfhhrrghntghoihhs sehinhhsrgdqlhihohhnrdhfrh
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/kC-DQkrGWGX4KNz-XF2RzRFpZAM>
Subject: Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-01.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, 20 Jul 2023 21:59:44 -0000

Hi Frank,

We are solving different issues.

draft-ietf-netconf-notification-messages defines a model to be able to send multiple messages within 1 Netconf notification.

On the other hand, draft-ahuang-netconf-notif-yang defines a missing YANG module to encode Netconf Notifications with encodings other than XML. The structure for Netconf notifications is currently defined in RFC5277 using a XSD, but when the server wants to send this notification using YANG-JSON or YANG-CBOR, there is not a YANG module defining the structure.
This draft eases the automation of ingesting YANG notifications using YANG-compatible encodings.

Cheers,

Alex

> On 15 Jun 2023, at 09:59, Fengchong (frank) <frank.fengchong@huawei.com> wrote:
> 
> Hi Alex,
> Have you seen the draft: https://datatracker.ietf.org/doc/html/draft-ietf-netconf-notification-messages-08 <https://datatracker.ietf.org/doc/html/draft-ietf-netconf-notification-messages-08> ?
> I see this draft also defines a yang structure, what’s the difference between them?
>  
>  
>  
>  
> 发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 Alex Huang Feng
> 发送时间: 2023年3月4日 0:30
> 收件人: Netconf <netconf@ietf.org>
> 抄送: Pierre Francois <pierre.francois@insa-lyon.fr>
> 主题: Re: [netconf] New Version Notification for draft-ahuang-netconf-notif-yang-01.txt
>  
> Dear Netconf WG,
>  
> I published a new iteration of draft-ahuang-netconf-notif-yang.
>  
> I integrated the feedback I received from the mailing list and offline.
>  
> The following changes has been made: 
> - The yang module prefix has changed to “inotif” to be more explicit.
> - The namespace is changed to the one used in RFC5277 : urn:ietf:params:xml:ns:netconf:notification:1.0
> - In IANA section, instead of asking for a new URI, we ask IANA to add this document as a reference to the URI from RFC5277
>  
> Any new feedback on this draft is welcome.
>  
> Cheers,
>  
> Alex
> 
> 
> On 3 Mar 2023, at 16:43, internet-drafts@ietf.org <mailto:internet-drafts@ietf.org> wrote:
>  
> 
> A new version of I-D, draft-ahuang-netconf-notif-yang-01.txt
> has been successfully submitted by Alex Huang Feng and posted to the
> IETF repository.
> 
> Name:       draft-ahuang-netconf-notif-yang
> Revision:   01
> Title:      YANG model for NETCONF Event Notifications
> Document date: 2023-03-03
> Group:      Individual Submission
> Pages:      6
> URL:            https://www.ietf.org/archive/id/draft-ahuang-netconf-notif-yang-01.txt <https://www.ietf.org/archive/id/draft-ahuang-netconf-notif-yang-01.txt>
> Status:         https://datatracker.ietf.org/doc/draft-ahuang-netconf-notif-yang/ <https://datatracker.ietf.org/doc/draft-ahuang-netconf-notif-yang/>
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-ahuang-netconf-notif-yang <https://datatracker.ietf.org/doc/html/draft-ahuang-netconf-notif-yang>
> Diff:           https://author-tools.ietf.org/iddiff?url2=draft-ahuang-netconf-notif-yang-01 <https://author-tools.ietf.org/iddiff?url2=draft-ahuang-netconf-notif-yang-01>
> 
> Abstract:
>   This document defines the YANG model for NETCONF Event Notifications.
> 
> 
> 
> 
> 
> The IETF Secretariat
>