[yang-doctors] Re: Yangdoctors early review of draft-ietf-netmod-schedule-yang-02
Reshad Rahman <reshad@yahoo.com> Thu, 10 October 2024 02:17 UTC
Return-Path: <reshad@yahoo.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4F9C14F681 for <yang-doctors@ietfa.amsl.com>; Wed, 9 Oct 2024 19:17:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 iX4NZNEVRXag for <yang-doctors@ietfa.amsl.com>; Wed, 9 Oct 2024 19:17:40 -0700 (PDT)
Received: from sonic306-3.consmr.mail.bf2.yahoo.com (sonic306-3.consmr.mail.bf2.yahoo.com [74.6.132.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0F12C1D4A92 for <yang-doctors@ietf.org>; Wed, 9 Oct 2024 19:17:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728526651; bh=znC7tzZsmpSFmG9Y+bbvlLILcZP8JMCSe4qe5mb9nW0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=riTafH2WBgiLHHzJHfVyU4BZdDIx0NVWllxRXJAqWNcwAiLqaymxYO+rFuquUszN34+NUns/gazPVip7vdoXBo1lH3W9F3mf3mbw+2txzZE5diQ5BSOs7FbhN0tWevn7ffbZtJQ0WT0cN4XJJei9Zb8OGDpndsZWbiLAsRwg5Hmbn4zeBfGMxnwdBrhCncWu7x12BLvWO7yFE3BuxAWQA2HkDv7DJO9B1ENa2o08AGKoCzT6OKwxZf8jDOjIJX3jRFVkPQEkbfnGbVBOulrmrVqR7UEjH7i4TzWoxJcKNsGcCnIiUKLb4QQL9/oIBPdGJ8TfCGZuyAC1rZ1tctJsow==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728526651; bh=vqbe2UGJi8a5SlGMwTqMavqzrVaTmko0tOdg5yhyuOi=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=LGI3BRIB/jjDvRgmpnSb/XxAkxkOLsDhslj4+NmPMuD8gAdHm+qnwORA5BWf4frwVZpSvDtTXazCxsHEcZvIgc3rCuRIHfXgc9vgzwadcr+jlXW8AGMs0Bmr/vTrCf2wTsa2I56JAmHZ07EVl7QCGTle5h8+O2ABsES5+S2AROMoaurllv1L+ezeoeVhn0T82Wi261nfsZtsfk+StF8LISUP9woM9g7tUtfDxIvtnPh4ZCRdMRay/WPJuq6ezL27gRfIjaho4LwTUprCAF/VUV2gQR5k568/5LQQk5FgYTAZ8fQqRkYfQq10mgmbg7jU7athrNKF+RQOyqMtzWV9KQ==
X-YMail-OSG: XsCnOs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EvN8ChtRjpNxNvEViVftDm3n i4R1PQrvs1Ra3PdepVqV.m3NnjPGv7KQXl6TjpqR2giRej6FffkfoDKbO.pvkHp5bzYsvFKP7s4E 9_q1fQdHbiclxr3wV4B77_JYz4rLC8GVfffgx1UHXW0Wbf3LVBvBYhsk9V6zWj6lsW7ggmmm0fHr JBM3s12_adLDvHkuQSDFIfCmaxsiiiNsaGAEy3QiVDn5wZ7Yp
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: 478e1da0-d3bb-4703-8e46-5bd177a6291b
Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Thu, 10 Oct 2024 02:17:31 +0000
Date: Thu, 10 Oct 2024 02:17:30 +0000
From: Reshad Rahman <reshad@yahoo.com>
To: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>
Message-ID: <2040160631.63189.1728526650781@mail.yahoo.com>
In-Reply-To: <DU2PR02MB101604236B76128CEA79E9AD3887F2@DU2PR02MB10160.eurprd02.prod.outlook.com>
References: <172798390985.1205347.2461480523255358589@dt-datatracker-7bbd96684-zjf54> <DU2PR02MB10160FD115414264B311860C688722@DU2PR02MB10160.eurprd02.prod.outlook.com> <907450088.9329002.1728422127919@mail.yahoo.com> <DU2PR02MB101604236B76128CEA79E9AD3887F2@DU2PR02MB10160.eurprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_63188_1222898418.1728526650776"
X-Mailer: WebService/1.1.22806 YMailNorrin
Message-ID-Hash: 4AQOOMDUZXTOXN6JKAAA6ZMSLUBRCHIK
X-Message-ID-Hash: 4AQOOMDUZXTOXN6JKAAA6ZMSLUBRCHIK
X-MailFrom: reshad@yahoo.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-yang-doctors.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-ietf-netmod-schedule-yang.all@ietf.org" <draft-ietf-netmod-schedule-yang.all@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc5
Precedence: list
Reply-To: Reshad Rahman <reshad@yahoo.com>
Subject: [yang-doctors] Re: Yangdoctors early review of draft-ietf-netmod-schedule-yang-02
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/JKDXOCGtxNUWprSrsidNUPZpdQ8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Owner: <mailto:yang-doctors-owner@ietf.org>
List-Post: <mailto:yang-doctors@ietf.org>
List-Subscribe: <mailto:yang-doctors-join@ietf.org>
List-Unsubscribe: <mailto:yang-doctors-leave@ietf.org>
Hi Med, I looked at PRs #49 and #52, the changes look good to me. Regards,Reshad. On Wednesday, October 9, 2024 at 03:13:04 AM EDT, mohamed.boucadair@orange.com <mohamed.boucadair@orange.com> wrote: Hi Reshad, Thanks for the follow-up. We will release a new version with the changes SOON. Please see inline for more context. Cheers, Med Ps: removed ACKed items. De : Reshad Rahman <reshad@yahoo.com> Envoyé : mardi 8 octobre 2024 23:15 À : yang-doctors@ietf.org; BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com> Cc : draft-ietf-netmod-schedule-yang.all@ietf.org; netmod@ietf.org Objet : Re: Yangdoctors early review of draft-ietf-netmod-schedule-yang-02 Hi Med, Thanks for the prompt response. Please see inline <RR> (where no explicit response, default is ack). On Friday, October 4, 2024 at 04:33:51 AM EDT, <mohamed.boucadair@orange.com> wrote: Hi Reshad, Thank you for the review. The diff to track the changes made so far can be found here: https://author-tools.ietf.org/api/iddiff?url_1=https://netmod-wg.github.io/schedule-yang/draft-ietf-netmod-schedule-yang.txt&url_2=https://netmod-wg.github.io/schedule-yang/reshad-review/draft-ietf-netmod-schedule-yang.txt Please see inline for more context. I let my co-authors further comment as appropriate. Cheers, Med > -----Message d'origine----- > De : Reshad Rahman via Datatracker <noreply@ietf.org> > Envoyé : jeudi 3 octobre 2024 21:32 > À : yang-doctors@ietf.org > Cc : draft-ietf-netmod-schedule-yang.all@ietf.org;netmod@ietf.org > Objet : Yangdoctors early review of draft-ietf-netmod-schedule- > yang-02 > > > Reviewer: Reshad Rahman > Review result: On the Right Track > > Hi all, > > - 3.1 mentions 2 features basic-recurrence and icalendar- > recurrence. Is it possible that one or the other recurrence > feature may be supported for some scheduled items but not for all. > e.g. both supported for disk backups but only basic-recurrence > supported for pings to a central controller. When implementing a > standard (e.g. IETF) YANG, a vendor can use deviations to work > around that. > Worth adding some text on this? I am also not sure whether it > makes sense to have those features. > [Med] The use of one or both in the same module is specific to the context where the groupings are used. This is why we do say the following: Implementations may support a basic recurrence rule or an advanced one as needed, by declaring different features. Whether only one or both features are supported is implementation specific and depend on specific scheduling context. Please note that we provided an example where both are used. <RR> I did see the example and that is actually what triggered the question. The example for scheduled backups has this: container basic-recurrence-schedules { if-feature schedule:basic-recurrence-supported; description "Basic recurrence schedule specification, only applies when schedule:basic-recurrence-supported feaure is supported."; leaf schedule-id { type string; description "The schedule identifier for this recurrence rule."; } uses schedule:recurrence; } container icalendar-recurrence-schedules { if-feature schedule:icalendar-recurrence-supported; description "Basic recurrence schedule specification, only applies when schedule:icalendar-recurrence-supported feaure is supported."; leaf schedule-id { type string; description "The schedule identifier for this recurrence rule."; } uses schedule:icalendar-recurrence; } Let's say the device has another module for scheduled pings (based on example above): container basic-recurrence-ping-schedules { if-feature schedule:basic-recurrence-supported; description "Basic recurrence schedule specification, only applies when schedule:basic-recurrence-supported feaure is supported."; leaf schedule-id { type string; description "The schedule identifier for this recurrence rule."; } uses schedule:recurrence; } container icalendar-recurrence-ping-schedules { if-feature schedule:icalendar-recurrence-supported; description "Basic recurrence schedule specification, only applies when schedule:icalendar-recurrence-supported feaure is supported."; leaf schedule-id { type string; description "The schedule identifier for this recurrence rule."; } uses schedule:icalendar-recurrence; } <RR> How would the device indicate e.g that it supports icalendar-recurrence-schedules but not icalendar-recurrence-ping-schedules? [Med] If the base schedule features are not sufficient, and such control is needed for a specific context, the device module can define dedicated features for that. Not via the feature since both use the same feature in the if-feature statement. And the feature support doesn't depend on the context afaik, it is either supported or not supported. So I think we'd need to define features for where the groupings are used and these features would depend on the features defined in this document? > - Section 3.2: one-shot is clear but the difference between period > and recurrence is not. > [Med] The period is similar to one-shot with the exception that it does not disable itself once the scheduled action is terminated. Recurrence is more a schedule that occurs many times (e.g., periodic). <RR> This subtlety, i.e. period v/s recurrence, still escapes me. If recurrence is periodic, then it sounds a lot like "period" :-) If it's clear for everyone, maybe I need to look at the document again... But some text in 3.2 may help. [Med] recurrence is more generic than “periodic”. Added some text to clarify this:https://github.com/netmod-wg/schedule-yang/pull/49/files > > - Section 3.3.1, what is the difference between validity and max- > allowed-end, not clear to me. [Med] These cover two distinct aspects of activating a schedule (start vs. end). Can you please let me know what is not clear in the following text: The "validity" parameter specifies the date and time after which a schedule will be considered as invalid. It determines the latest time that a schedule can be executed by a system and takes precedence over similar attributes that are provided at the schedule instance itself. And The "max-allowed-end" parameter specifies the maximum allowed end time of the last occurrence. A requested schedule will be rejected if the end time of last occurrence is later than the configured "max- allowed-end" value. Thanks. <RR> What would help confirm my understanding, or not, is an example with both in the appendix. Thanks. [Med] Noted: https://github.com/netmod-wg/schedule-yang/issues/50 > > - Section 3.3.3, should frequency be frequency-unit? Strictly > speaking, that's an interval-unit and not a frequency-unit? It > does seem odd to me to have frequency and interval in the same > grouping... And not a fan of identities such as "daily", > "minutely", "secondly": although those are English words I don't > think they mean what you're trying to convey here. But if you > rename frequency to interval-unit, you can use "day", "hour", > "minute", "second" etc for interval-type (renamed from frequency- > type). > [Med] We use frequency as we are relying upon RFC5545 for these matters. <RR> I have 2 problems with this: - RFC5545 is for iCalendar but the use of that definition of frequency has leaked into use-cases not requiring iCalendar - Terminology section mentions iCalendar (RFC5545) but no mention of frequency. Please add it there. I am not a fan of mixing interval and frequency. But I'll leave it to the WG. [Med] Thanks. Added new terms: https://github.com/netmod-wg/schedule-yang/pull/52/files > - Section 3.3.X, many names have recurrence- as prefix e.g. > recurrence-first, recurrence-bound, recurrence-description.Best > practice is to remove the > recurrence- prefix and put all these nodes in a recurrence > container. You might to rework the groupings a bit but it should > be straightforward. [Med] We are aware about that guidance however we added "recurrence-" for some of the items you mentioned in order to cover cases where, e.g., both period and recurrence are used within the same choice. Please see https://github.com/netmod-wg/schedule-yang/pull/37 where we made that change. <RR> The fact that the recurrence- prefix is used for some leaf nodes to me indicates that a recurrence container would be useful. [Med] Will need to think about this one further to see if a surrounding container makes things easily consumable for future modules, etc. > - recurrence-bound, I don't understand the use of the word "bound" > here, is it as in "boundary"? Maybe call it limit? > [Med] This is more about limit. FWIW, "bound" was used here as we leverage RFC 5545 where we "grabbed" some naming. <RR> I took a look at RFC5545 and it's still not clear. The YANG description here says "Modes to bound the recurrence rule.", still not clear to me. If not "recurrence-limit", what about "recurrence-end", "recurrence-max", may be not ideal but IMO than recurrence-bound. [Med] Changed to « end ». _________________ ______________________________ ______________________________ ______________________________ _ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.
- [yang-doctors] Yangdoctors early review of draft-… Reshad Rahman via Datatracker
- [yang-doctors] Re: Yangdoctors early review of dr… Reshad Rahman
- [yang-doctors] Re: Yangdoctors early review of dr… mohamed.boucadair
- [yang-doctors] Re: Yangdoctors early review of dr… Reshad Rahman
- [yang-doctors] Examples for groupings (was RE: Ya… mohamed.boucadair
- [yang-doctors] Re: Examples for groupings (was RE… Reshad Rahman
- [yang-doctors] Re: Examples for groupings (was RE… mohamed.boucadair
- [yang-doctors] Re: Yangdoctors early review of dr… Reshad Rahman
- [yang-doctors] Re: Yangdoctors early review of dr… mohamed.boucadair
- [yang-doctors] Re: Examples for groupings (was RE… Kent Watsen
- [yang-doctors] Re: Yangdoctors early review of dr… mohamed.boucadair