Skip to content

Commit 4e0019a

Browse files
author
ID Bot
committed
Script updating gh-pages from 3ce05d0. [ci skip]
1 parent e4945b9 commit 4e0019a

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

acee-review/draft-ietf-netmod-schedule-yang.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2803,8 +2803,27 @@ <h2 id="name-the-ietf-schedule-yang-modu">
28032803
}
28042804
leaf period-end {
28052805
type yang:timeticks;
2806+
must "(not(derived-from(../../frequency,"
2807+
+ "'schedule:secondly')) or (current() &lt; 100)) and "
2808+
+ "(not(derived-from(../../frequency,"
2809+
+ "'schedule:minutely')) or (current() &lt; 6000)) and "
2810+
+ "(not(derived-from(../../frequency,'schedule:hourly'))"
2811+
+ " or (current() &lt; 360000)) and "
2812+
+ "(not(derived-from(../../frequency,'schedule:daily'))"
2813+
+ " or (current() &lt; 8640000)) and "
2814+
+ "(not(derived-from(../../frequency,'schedule:weekly'))"
2815+
+ " or (current() &lt; 60480000)) and "
2816+
+ "(not(derived-from(../../frequency,"
2817+
+ "'schedule:monthly')) or (current() &lt; 267840000)) and "
2818+
+ "(not(derived-from(../../frequency,'schedule:yearly'))"
2819+
+ " or (current() &lt; 3162240000))" {
2820+
error-message
2821+
"The period-end must not exceed the frequency
2822+
interval.";
2823+
}
28062824
description
2807-
"End time of the schedule within one recurrence.";
2825+
"End time of the schedule within one recurrence.
2826+
The period start MUST be no later than the end.";
28082827
}
28092828
}
28102829
}

acee-review/draft-ietf-netmod-schedule-yang.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,8 +1497,27 @@ Table of Contents
14971497
}
14981498
leaf period-end {
14991499
type yang:timeticks;
1500+
must "(not(derived-from(../../frequency,"
1501+
+ "'schedule:secondly')) or (current() < 100)) and "
1502+
+ "(not(derived-from(../../frequency,"
1503+
+ "'schedule:minutely')) or (current() < 6000)) and "
1504+
+ "(not(derived-from(../../frequency,'schedule:hourly'))"
1505+
+ " or (current() < 360000)) and "
1506+
+ "(not(derived-from(../../frequency,'schedule:daily'))"
1507+
+ " or (current() < 8640000)) and "
1508+
+ "(not(derived-from(../../frequency,'schedule:weekly'))"
1509+
+ " or (current() < 60480000)) and "
1510+
+ "(not(derived-from(../../frequency,"
1511+
+ "'schedule:monthly')) or (current() < 267840000)) and "
1512+
+ "(not(derived-from(../../frequency,'schedule:yearly'))"
1513+
+ " or (current() < 3162240000))" {
1514+
error-message
1515+
"The period-end must not exceed the frequency
1516+
interval.";
1517+
}
15001518
description
1501-
"End time of the schedule within one recurrence.";
1519+
"End time of the schedule within one recurrence.
1520+
The period start MUST be no later than the end.";
15021521
}
15031522
}
15041523
}

0 commit comments

Comments
 (0)