@@ -751,7 +751,7 @@ module ietf-schedule {
751751 reference
752752 " RFC XXXX: A Common YANG Data Model for Scheduling" ;
753753 }
754-
754+
755755 feature basic-recurrence {
756756 description
757757 " Indicates that the server supports configuring a basic
@@ -854,7 +854,7 @@ module ietf-schedule {
854854 neither an end nor a duration is indicated, the period is
855855 considered to last forever." ;
856856 }
857-
857+
858858 identity recurrence {
859859 base schedule-type;
860860 description
@@ -948,10 +948,10 @@ module ietf-schedule {
948948 identity conflicted {
949949 base schedule-state;
950950 description
951- " Indicates a schedule with a conflicted state with other
951+ " Indicates a schedule with a conflicted state with other
952952 schedules." ;
953953 }
954-
954+
955955 identity discard-action-type {
956956 description
957957 " Base identity for the action for the responder to take
@@ -976,7 +976,7 @@ module ietf-schedule {
976976 identity silently-discard {
977977 base discard-action-type;
978978 description
979- " Indicates that a schedule that is not valid is silently
979+ " Indicates that a schedule that is not valid is silently
980980 discarded." ;
981981 }
982982
@@ -1012,26 +1012,26 @@ module ietf-schedule {
10121012 leaf max-allowed-start {
10131013 type yang:date-and-time;
10141014 description
1015- " Specifies the maximum scheduled start date and time.
1016- A requested schedule whose first instance occurs after
1017- this value cannot be accepted by the entity. Specifically,
1018- a requested schedule will be rejected if the first
1015+ " Specifies the maximum scheduled start date and time.
1016+ A requested schedule whose first instance occurs after
1017+ this value cannot be accepted by the entity. Specifically,
1018+ a requested schedule will be rejected if the first
10191019 occurrence of that schedule exceeds 'max-allowed-start'." ;
10201020 }
10211021 leaf min-allowed-start {
10221022 type yang:date-and-time;
10231023 description
1024- " Specifies the minimum scheduled start date and time.
1025- A requested schedule whose first instance occurs before
1026- this value cannot be accepted by the entity. Specifically,
1027- a requested schedule will be rejected if the first
1028- occurrence of that schedule is scheduled before
1024+ " Specifies the minimum scheduled start date and time.
1025+ A requested schedule whose first instance occurs before
1026+ this value cannot be accepted by the entity. Specifically,
1027+ a requested schedule will be rejected if the first
1028+ occurrence of that schedule is scheduled before
10291029 'min-allowed-start'." ;
10301030 }
10311031 leaf max-allowed-end {
10321032 type yang:date-and-time;
10331033 description
1034- " A requested schedule will be rejected if the end time of
1034+ " A requested schedule will be rejected if the end time of
10351035 the last occurrence exceeds 'max-allowed-end'." ;
10361036 }
10371037 leaf discard-action {
@@ -1041,7 +1041,7 @@ module ietf-schedule {
10411041 description
10421042 " Specifies the behavior when a schedule is discarded for
10431043 any reason, e.g., failing to satisfy the guards in this
1044- grouping or it is received out-of-date." ;
1044+ grouping or it is received out-of-date." ;
10451045 }
10461046 }
10471047
@@ -1074,7 +1074,7 @@ module ietf-schedule {
10741074 choice period-type {
10751075 description
10761076 " Indicates the type of the time period. Two types are
1077- supported. If no choice is indicated, the period is
1077+ supported. If no choice is indicated, the period is
10781078 considered to last forever." ;
10791079 case explicit {
10801080 description
@@ -1146,7 +1146,7 @@ module ietf-schedule {
11461146 description
11471147 " Specifies the first instance of the recurrence. If
11481148 unspecified, the recurrence is considered to start from
1149- the date and time when the recurrence pattern is first
1149+ the date and time when the recurrence pattern is first
11501150 satisfied." ;
11511151 leaf start-time-utc {
11521152 type yang:date-and-time;
@@ -1198,7 +1198,7 @@ module ietf-schedule {
11981198 }
11991199 uses recurrence-basic;
12001200 }
1201-
1201+
12021202 grouping recurrence-with-time-zone {
12031203 description
12041204 " A simple definition of recurrence to specify a recurrence
@@ -1207,12 +1207,12 @@ module ietf-schedule {
12071207 description
12081208 " Specifies the first instance of the recurrence. If
12091209 unspecified, the recurrence is considered to start from
1210- the date and time when the recurrence pattern is first
1210+ the date and time when the recurrence pattern is first
12111211 satisfied." ;
12121212 leaf start-time {
12131213 type yang:date-and-time;
12141214 description
1215- " Defines the date and time of the first instance
1215+ " Defines the date and time of the first instance
12161216 in the recurrence set." ;
12171217 }
12181218 leaf duration {
@@ -1233,7 +1233,7 @@ module ietf-schedule {
12331233 time format. It MUST NOT be applied to date and time
12341234 values which are specified in the format of UTC or time
12351235 zone offset to UTC." ;
1236- }
1236+ }
12371237 choice recurrence-end {
12381238 description
12391239 " Modes to terminate the recurrence rule. If no choice is
@@ -1258,7 +1258,7 @@ module ietf-schedule {
12581258 of occurrences." ;
12591259 leaf count {
12601260 type uint32 {
1261- range "1..max";
1261+ range "1..max";
12621262 }
12631263 description
12641264 " The positive number of occurrences at which to
@@ -1271,16 +1271,16 @@ module ietf-schedule {
12711271
12721272 grouping recurrence-utc-with-periods {
12731273 description
1274- " This grouping defines an aggregate set of repeating
1275- occurrences with UTC time format. The recurrence instances
1274+ " This grouping defines an aggregate set of repeating
1275+ occurrences with UTC time format. The recurrence instances
12761276 are specified by the occurrences defined by both the
1277- recurrence rule and 'period-timeticks' list. Duplicate
1277+ recurrence rule and 'period-timeticks' list. Duplicate
12781278 instances are ignored." ;
12791279 uses recurrence-utc;
12801280 list period-timeticks {
12811281 key "period-start";
12821282 description
1283- " A list of periods with timeticks formats." ;
1283+ " A list of periods with timeticks formats." ;
12841284 leaf period-start {
12851285 type yang:timeticks;
12861286 must "(not(derived-from(../../frequency,"
@@ -1300,13 +1300,13 @@ module ietf-schedule {
13001300 error-message
13011301 " The period-start must not exceed the frequency
13021302 interval." ;
1303- }
1303+ }
13041304 description
13051305 " Start time of the schedule within one recurrence.
1306-
1306+
13071307 Given that the value is in timeticks format
13081308 (i.e., 1/100 of a second), the values in the must
1309- statement translate to: 100 = 1s (secondly),
1309+ statement translate to: 100 = 1s (secondly),
13101310 6000 = 60 s = 1 min (minutely), and so on for all
13111311 instances in the must statement invariant." ;
13121312 }
@@ -1319,14 +1319,14 @@ module ietf-schedule {
13191319 }
13201320 }
13211321 }
1322-
1322+
13231323 grouping recurrence-time-zone-with-periods {
13241324 description
1325- " This grouping defines an aggregate set of repeating
1326- occurrences with local time format and time zone specified.
1325+ " This grouping defines an aggregate set of repeating
1326+ occurrences with local time format and time zone specified.
13271327 The recurrence instances are specified by the occurrences
1328- defined by both the recurrence rule and 'period' list.
1329- Duplicate instances are ignored." ;
1328+ defined by both the recurrence rule and 'period' list.
1329+ Duplicate instances are ignored." ;
13301330 uses recurrence-with-time-zone;
13311331 list period {
13321332 key "period-start";
@@ -1379,8 +1379,8 @@ module ietf-schedule {
13791379 description
13801380 " When specified, it indicates the nth occurrence of a
13811381 specific day within the monthly or yearly recurrence
1382- rule. For example, within a monthly rule, +1 monday
1383- represents the first monday within the month, whereas
1382+ rule. For example, within a monthly rule, +1 monday
1383+ represents the first monday within the month, whereas
13841384 -1 monday represents the last monday of the month." ;
13851385 }
13861386 leaf weekday {
@@ -1483,7 +1483,7 @@ module ietf-schedule {
14831483 type yang:counter32;
14841484 config false;
14851485 description
1486- " The number of occurrences while invoking the scheduled
1486+ " The number of occurrences while invoking the scheduled
14871487 action successfully. The count wraps around when it reaches
14881488 the maximum value." ;
14891489 }
@@ -1493,7 +1493,7 @@ module ietf-schedule {
14931493 type yang:date-and-time;
14941494 config false;
14951495 description
1496- " Indicates the timestamp of last occurrence." ;
1496+ " Indicates the timestamp of last occurrence." ;
14971497 }
14981498 leaf upcoming-occurrence {
14991499 when "derived-from-or-self(../schedule-type, "
@@ -1534,7 +1534,7 @@ module ietf-schedule {
15341534 description
15351535 " Indicates the identifier for the time zone in a time
15361536 zone database." ;
1537- }
1537+ }
15381538 uses schedule-status;
15391539 }
15401540
@@ -1546,13 +1546,12 @@ module ietf-schedule {
15461546 type string;
15471547 description
15481548 " The schedule identifier that uniquely identifies a
1549- schedule within a device, controller, network, etc.
1549+ schedule within a device, controller, network, etc.
15501550 The unicity scope depends on the implementation." ;
15511551 }
15521552 uses schedule-status;
15531553 }
15541554}
1555-
15561555<CODE ENDS>
15571556~~~~
15581557
@@ -2129,7 +2128,7 @@ module example-scheduled-backup {
21292128 leaf task-id {
21302129 type string;
21312130 description
2132- " The task identifier that uniquely identifies a scheduled
2131+ " The task identifier that uniquely identifies a scheduled
21332132 backup task." ;
21342133 }
21352134 choice local-or-remote {
@@ -2197,7 +2196,7 @@ module example-scheduled-backup {
21972196 }
21982197 }
21992198 }
2200-
2199+
22012200 list schedule-set {
22022201 key "schedule-name";
22032202 description
@@ -2297,7 +2296,7 @@ module example-scheduled-link-bandwidth {
22972296 uses schedule:recurrence-utc-with-periods {
22982297 augment "period-timeticks" {
22992298 description
2300- " Specifies the attributes inside each
2299+ " Specifies the attributes inside each
23012300 period-timeticks entry." ;
23022301 uses link-bandwidth-grouping;
23032302 }
0 commit comments