[netconf] Re: Adoption call for notif-yang-04

Thomas.Graf@swisscom.com Fri, 14 June 2024 10:45 UTC

Return-Path: <Thomas.Graf@swisscom.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 33B53C18DB9F for <netconf@ietfa.amsl.com>; Fri, 14 Jun 2024 03:45:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=swisscom.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 hMjtyWXijvrW for <netconf@ietfa.amsl.com>; Fri, 14 Jun 2024 03:45:22 -0700 (PDT)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (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 4A0D1C17C8B0 for <netconf@ietf.org>; Fri, 14 Jun 2024 03:45:21 -0700 (PDT)
Received: by mail.swisscom.com; Fri, 14 Jun 2024 12:45:13 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1718361913; bh=7HOTKMlLRl74qviCQMrvDbMff96Zt/B3uvWuZv/kOHo=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=QvdEYewvvOvozObEP+fObw3G9RVyUn4rKpWan+HkoNU6YEBMmaGj7PJBhZqcIy3ao JWVplPHhQ6ieUgbSkdj/P6oSgXm0G00fBQEM6vOBibDSR3yFgDEZyjnaDVHzOrn09R o9ZEuD0XK4L6KEjP3vNbJOVuNLve698cOw62GXQHAx0T6O9UEjErdHzTtcBb5GEtLY 2JHflnh+ZWyEHPoTUWnBq4WVQ2kFyFMRjM+Drc3BIvKo6256UdY0OMMF4vssf8Kso/ cGclB6tGe8RcM3Si85b6tXvUQIIYEEd9Ewtu7Wv3H5wktIyz5Lv5kIArWK7HbBC4ji bFHxn/5RZ60bg==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_744179_1439031122.1718361913358"
X-Mailer: Totemo_TrustMail_(Notification)
From: Thomas.Graf@swisscom.com
To: andy@yumaworks.com, benoit.claise@huawei.com
Thread-Topic: [netconf] Re: Adoption call for notif-yang-04
Thread-Index: AQHava9UMs7k3Hn3w0iS+UJlAtAhgbHGBSaAgADV+YCAAAPvAIAAMZHg
Date: Fri, 14 Jun 2024 10:45:10 +0000
Message-ID: <183159d9be0a4e258edf3a9a71d503ff@swisscom.com>
References: <0100018eb57a21d8-26b38f41-a625-4d44-9248-09b349fd4212-000000@email.amazonses.com> <0100019012711c3f-d2317fe0-30c0-4207-bb1f-855190e3ea3f-000000@email.amazonses.com> <CABCOCHT-ThmSn-ikhHpfNfH8duV2hbkPVLoo+qLc4MAanjK=dg@mail.gmail.com> <f8ac63d7-c14f-3e28-5645-913cb5f535fc@huawei.com> <CABCOCHRK9J=CtP18ubd5GBmBCgUHWFM5w8FwAQr8mssLepOp0A@mail.gmail.com>
In-Reply-To: <CABCOCHRK9J=CtP18ubd5GBmBCgUHWFM5w8FwAQr8mssLepOp0A@mail.gmail.com>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=9d35b77d-4299-4808-a5e3-5472fcf5841f;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2024-06-14T10:31:19Z;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;
x-originating-ip: [138.188.161.184]
X-CFilter-Loop: Reflected
X-Trustmail: processed
Message-ID-Hash: F77FE5IATDUCKTM6MO7NCNIB5TMXKKAK
X-Message-ID-Hash: F77FE5IATDUCKTM6MO7NCNIB5TMXKKAK
X-MailFrom: Thomas.Graf@swisscom.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: netconf@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netconf] Re: Adoption call for notif-yang-04
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/fL8LrEG-gwCSrOPIQpbO2M3WOKQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>

Dear Andy,

AB> What is the notif-yang issue, exactly?

TG> Med posted the following concern and objection: https://mailarchive.ietf.org/arch/msg/netconf/Abw9mRHZos_yK9-x1HWHCVyv_xM/
TG> Kent raised the question wherever YANG notifications can be encoded in JSON. I described my reasoning why today it cannot be encoded in JSON and CBOR here: https://mailarchive.ietf.org/arch/msg/netconf/e_PsL-RK0f7jXKpeQSPdiHxgRno/

AB> YANG does not support abstract elements like XSD.
AB> It is not possible to use YANG to define the NotificationContent element.

TG> I requested a problem description here on the mailing list: https://mailarchive.ietf.org/arch/msg/netconf/B3CML33wZJ0h6pSnB3S88HSh8O4/. Your reply https://mailarchive.ietf.org/arch/msg/netconf/g7KomEpdr2bthjuGTaAMZfyFvcg/ did not answer my question. I would appreciate a more detailed problem description with concrete references to existing documents and paragraphs describing reasoning.

Best wishes
Thomas

From: Andy Bierman <andy@yumaworks.com>
Sent: Friday, June 14, 2024 11:34 AM
To: Benoit Claise <benoit.claise@huawei.com>
Cc: netconf@ietf.org
Subject: [netconf] Re: Adoption call for notif-yang-04


Be aware: This is an external email.




On Fri, Jun 14, 2024 at 2:20 AM Benoit Claise <benoit.claise@huawei.com<mailto:benoit.claise@huawei.com>> wrote:
Dear all,
On 6/14/2024 4:34 AM, Andy Bierman wrote:


On Thu, Jun 13, 2024 at 9:32 AM Kent Watsen <kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net>> wrote:
Dear WG,

This adoption call was unsuccessful.

There is obviously a lot of interest, but the solution doesn’t seem adequate, given the comments made on the list.  Not to disparage the effort, but the problem is rather intractable!

Andy mentioned that an Interim may be needed, which seems right (+1 if you agree), but I wonder if there isn’t more that can be done in preparation first.  Specifically, as this effort challenges fundamentals, it would help to clarify the motivation and expected outcomes.

+1 to a better functional specification
An interim for which content?

I don't think an interim is required vs. email discussion.

We started with an adoption call on notif-yang-04 and it seems that discussion went in all directions. From the below message
    - new fields in notification header
    - binary encoding

Maybe we should focus just on notif-yang issue, to start with?

What is the notif-yang issue, exactly?
YANG does not support abstract elements like XSD.
It is not possible to use YANG to define the NotificationContent element.



Regards, Benoit

Andy

IMO there are no implementation problems caused by the RFC 5277 XSD for the notification element.
YANG is incapable of validating this element, but it is a trivial structure, easy to validate.

It is not clear to me that any new fields are needed in the notification header.
The NETCONF WG discussed multiple timestamps pre-5277 and decided against it.
Same for 'sequence-id'. IMO these are OK for YANG Push augments.

I supported this draft as a way to get 2 SID assignments.

IMO the NETCONF WG needs to make Binary YANG Push a top priority.
This needs to be protocol-independent as possible (not UDP-specific).
I think YANG Push can be simplified and improved. (But not in this WG)


One high-level question I have, is there anything wrong with the “notification” statement in RFC 7950?  That is, is this at all a YANG-next issue for the NETMOD WG, or is to purely NETCONF WG issue?

Kent

Andy


> On Apr 6, 2024, at 6:14 PM, Kent Watsen <kent+ietf@watsen.net<mailto:kent%2Bietf@watsen.net>> wrote:
>
> NETCONF WG,
>
> This message starts a two week poll on adopting the following document:
>
>       YANG model for NETCONF Event Notifications
>       https://datatracker.ietf.org/doc/html/draft-ahuang-netconf-notif-yang-04
>
> The poll ends April 20.
>
> Please send email to the list indicating "yes/support” or "no/do not support".  If indicating no, please state your reservations with the document.  If yes, please also feel free to provide comments you'd like to see addressed once the document is a WG document.
>
> No IPR is known for this document:  https://mailarchive.ietf.org/arch/msg/netconf/oQVZ6Pf_novNfMB4RsnDxQibHpM/
>
> PS: this document received strong support before, being very focused, providing just a module enabling validation of YANG “notification” messages.
>
> Kent and Per (as co-chairs)
>
>
>
>
>
> _______________________________________________
> netconf mailing list
> netconf@ietf.org<mailto:netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf

_______________________________________________
netconf mailing list -- netconf@ietf.org<mailto:netconf@ietf.org>
To unsubscribe send an email to netconf-leave@ietf.org<mailto:netconf-leave@ietf.org>



_______________________________________________

netconf mailing list -- netconf@ietf.org<mailto:netconf@ietf.org>

To unsubscribe send an email to netconf-leave@ietf.org<mailto:netconf-leave@ietf.org>