[core] Re: Coreconf Notifications

Carsten Bormann <cabo@tzi.org> Thu, 25 July 2024 21:06 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A570EC14F69E; Thu, 25 Jul 2024 14:06:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 xEkjp8JRwf9t; Thu, 25 Jul 2024 14:06:57 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EAD9C16940D; Thu, 25 Jul 2024 14:06:56 -0700 (PDT)
Received: from smtpclient.apple (p5dc5d6c5.dip0.t-ipconnect.de [93.197.214.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4WVNjp1hwKzDCbM; Thu, 25 Jul 2024 23:06:54 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <B1A2D516-1041-4744-8665-30BA32405EF7@insa-lyon.fr>
Date: Thu, 25 Jul 2024 23:06:42 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <ABA8040A-0548-4D8E-B7BF-22BF2EAAC5C2@tzi.org>
References: <E2DFFA8E-9766-4CB4-BCAA-6897402B8FB2@insa-lyon.fr> <5C0595E7-2071-4A6F-A0C8-6F9DE138535F@tzi.org> <C4AE55E1-0907-4BBD-A2BA-802063E10B50@insa-lyon.fr> <397772B6-6DAE-4A2D-BFD0-7A77ABE1415E@tzi.org> <E0D2CFE6-B0BD-4F0A-9F5C-4C29ADF16861@insa-lyon.fr> <CABCOCHT6B+9fjJL_UBArfcV1KO9SJBoV+588goWsDJ5_x_1x0A@mail.gmail.com> <0e37cbe90758409fae2a8f6763ffc986@swisscom.com> <C028C265-1624-4599-A0AC-64E075900275@tzi.org> <B1A2D516-1041-4744-8665-30BA32405EF7@insa-lyon.fr>
To: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
X-Mailer: Apple Mail (2.3774.600.62)
Message-ID-Hash: SZX6YXUVDKOMDCXFXK3VDBAGNLCUMW7D
X-Message-ID-Hash: SZX6YXUVDKOMDCXFXK3VDBAGNLCUMW7D
X-MailFrom: cabo@tzi.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Thomas. Graf" <Thomas.Graf@swisscom.com>, draft-ietf-core-comi@ietf.org, core@ietf.org, Pierre Francois <pierre.francois@insa-lyon.fr>, Vivekananda Boudia <vivekananda.boudia@insa-lyon.fr>, Benoit Claise <benoit.claise@huawei.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [core] Re: Coreconf Notifications
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/YJeR-FwrcXnInNjMNxhfzl2Uymk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>

> 
> “Implementations must support time zones” comes from RFC5277 [https://datatracker.ietf.org/doc/html/rfc5277#section-2.2.1]

Yes, but what does that *mean*?
How do you “support” timezones?
Maybe you decode time zone offsets?
But what do you use that useless information for then?

> What draft-ahuang-netconf-notif-yang is trying to solve is defining the structure of the notification in a YANG model so that YANG tooling can use the YANG module to validate Notifications rather than relying on just text.
> And the reason draft-ahuang-netconf-notif-yang goes up to RFC5277 is because YANG has until now relied on this RFC5277 to define how such notifications are encoded.

This might be the right time to clean that up.
Are emitters actually putting in their timezones there and expecting an effect from that?
Do consumers decode the timezone (beyond just applying the time zone offset, which is useless complication) and then do something useful with it?

> Note also that in RFC6991, the date-and-time type, the timezone is included.

Yes, and that is usually wrong, so it is not quite clear why this is reinforced.

> Our comments to draft-ietf-core-comi are because in section 3.4 (https://datatracker.ietf.org/doc/html/draft-ietf-core-comi-18#name-event-stream) the authors reference 5277 even though the model is defined in XML only.
> So, we suggest to the authors to change that reference to draft-ahuang-netconf-notif-yang to have a common model also in CORECONF.

That would be a normative reference to an individual draft.
That might slow us down, so I would prefer not to do that.

Grüße, Carsten