Re-,

ha ha ha

No using a default statement does not meant that a system does not have a 
default value.

Using a default yang statement to formally record this is problematic for our 
reusable grouping. Let's consider the following example:

List template (key id, uses recurrence-basic)
List rule (key name, leaf template-ref, uses recurrence-basic)

Let's assume that the interval is customized in a template and that template is 
referenced in a rule. That customized value will be overridden by the default 
of the interval at the rule level.

Hope this is better.

Cheers,
Med

De : Reshad Rahman <res...@yahoo.com>
Envoyé : vendredi 24 janvier 2025 16:31
À : yang-doct...@ietf.org; maqiufang (A) <maqiufa...@huawei.com>; BOUCADAIR 
Mohamed INNOV/NET <mohamed.boucad...@orange.com>
Cc : draft-ietf-netmod-schedule-yang....@ietf.org; netmod@ietf.org
Objet : Re: Yangdoctors last call review of draft-ietf-netmod-schedule-yang-03

Hi Med, authors,

TBH I am confused. Why remove the default statement but keep mention of it in 
the description... Is there a default or is there no default?

Or is this Schrödinger's cat, maybe that's why I am confused :-)

Regards,
Reshad.

On Friday, January 24, 2025 at 09:43:56 AM EST, 
<mohamed.boucad...@orange.com<mailto:mohamed.boucad...@orange.com>> wrote:



Hi Reshad,



When we decided to remove the default statement, we thought that it is helpful 
to remind the default as currently defined in 3.3.10 of 5545:



      The default value is

      "1", meaning every second for a SECONDLY rule, every minute for a

      MINUTELY rule, every hour for an HOURLY rule, every day for a

      DAILY rule, every week for a WEEKLY rule, every month for a

      MONTHLY rule, and every year for a YEARLY rule.



Do you see a harm in having that text? Thanks.



Cheers,

Med



De : Reshad Rahman <res...@yahoo.com<mailto:res...@yahoo.com>>
Envoyé : vendredi 24 janvier 2025 15:37
À : yang-doct...@ietf.org<mailto:yang-doct...@ietf.org>; maqiufang (A) 
<maqiufa...@huawei.com<mailto:maqiufa...@huawei.com>>
Cc : 
draft-ietf-netmod-schedule-yang....@ietf.org<mailto:draft-ietf-netmod-schedule-yang....@ietf.org>;
 netmod@ietf.org<mailto:netmod@ietf.org>
Objet : Re: Yangdoctors last call review of draft-ietf-netmod-schedule-yang-03



Hi Qiufang, authors,



I am good with the changes made. I understand why default values can be 
undesirable in groupings.



My only remaining comment/question is why keep mention of default value in the 
description?



Regards,

Reshad.



       leaf interval {

         type uint32;

         description

           "A positive integer representing at which intervals the

            recurrence rule repeats. For example, within a 'daily'

            recurrence rule, a value of '8' means every eight days.

            The default value is '1', means every second for a

            'secondly' recurrence rule, every minute for a 'minutely'

            rule, and so on.";

       }



On Friday, January 24, 2025 at 04:47:24 AM EST, maqiufang (A) 
<maqiufa...@huawei.com<mailto:maqiufa...@huawei.com>> wrote:





Hi, Reshad,



Thanks a lot for the comments, the authors has made some updates which is 
available at: 
https://author-tools.ietf.org/api/iddiff?doc_1=draft-ietf-netmod-schedule-yang&url_2=https://netmod-wg.github.io/schedule-yang/draft-ietf-netmod-schedule-yang.txt,
 feel free to share your feedback. Please also see my reply below inline with 
[Qiufang].



-----Original Message-----
From: Reshad Rahman via Datatracker [mailto:nore...@ietf.org]
Sent: Wednesday, January 22, 2025 7:02 AM
To: yang-doct...@ietf.org<mailto:yang-doct...@ietf.org>
Cc: 
draft-ietf-netmod-schedule-yang....@ietf.org<mailto:draft-ietf-netmod-schedule-yang....@ietf.org>;
 netmod@ietf.org<mailto:netmod@ietf.org>
Subject: Yangdoctors last call review of draft-ietf-netmod-schedule-yang-03



Reviewer: Reshad Rahman

Review result: Ready with Issues



Thanks for addressing my review comments which were discussed at

https://mailarchive.ietf.org/arch/msg/netmod/AO7wvBa0gJbC-Egt_UuZHKCML70



I believe there are a couple of issues remaining, however it should be easy to 
address/close them.



Issues



======



For "leaf interval", the description mentions a default value but there is no 
default statement.

[Qiufang] Right, but this is intentional. The authors had some discussion 
related to the default statement in the grouping, and we incline not to impact 
how the groupings would be reused, and give the consumers choice of deciding 
whether this should be a default or mandatory. For more context, you may find 
some internal discussion at https://github.com/netmod-wg/schedule-yang/pull/8. 
Make sense?



I believe we need more mandatory statements, or default statement if 
appropriate, otherwise the behaviour is unknown. For example:

[Qiufang] See my comment above, as the intention is to try not to define 
mandatory/default statements in the groupings, we would like to add more 
description to clarify cases where the node is unspecified.



- In "container recurrence-first", should "start-time-utc" and "duration" be 
mandatory?

[Qiufang] No, they are allowed to be unspecified. The following changes are 
made to the description statement of container "recurrence-first":

OLD:

   description

        "Specifies the first instance of the recurrence."

NEW:

     description

        "Specifies the first instance of the recurrence. If

         unspecified, the recurrence is considered to start from the

         date and time when the recurrence pattern is first

         satisfied.";



- In "choice period-type", if no choice is made does that mean there is no end 
to the period? If so, please add that to the description. If not, add a 
mandatory statement.

[Qiufang] Sure, the following changes are made to the description:

OLD:

    description

        "Indicates the type of the time period. Two types are

         supported."

NEW:

    description

        "Indicates the type of the time period. Two types are

         supported. If no choice is indicated, the period is

         considered to last forever or as a one-shot schedule.";



Nit: the term "recurrence rule" is used a lot in the document, but it is not 
explained anywhere. In the terminology section, add a reference to 3.8.5.3 of 
RFC5545?

[Qiufang] Good suggestion. The following is defined in the terminology section:

Recurrence Rule:

Refers to a rule or repeating pattern for recurring events. See also Section 
3.8.5.3 of [RFC5545] for a comprehensive iCalendar recurrence rule 
specification.



Regards,

Reshad.



Best Regards,
Qiufang



_________________ ______________________________ ______________________________ 
______________________________ _

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.
____________________________________________________________________________________________________________
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.
_______________________________________________
netmod mailing list -- netmod@ietf.org
To unsubscribe send an email to netmod-le...@ietf.org

Reply via email to