Skip to content

Commit 39f6d0c

Browse files
authored
revert period-end to be without constraint
1 parent d3cb8f1 commit 39f6d0c

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

yang/ietf-schedule.yang

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -624,27 +624,10 @@ module ietf-schedule {
624624
}
625625
leaf period-end {
626626
type yang:timeticks;
627-
must "(not(derived-from(../../frequency,"
628-
+ "'schedule:secondly')) or (current() < 100)) and "
629-
+ "(not(derived-from(../../frequency,"
630-
+ "'schedule:minutely')) or (current() < 6000)) and "
631-
+ "(not(derived-from(../../frequency,'schedule:hourly'))"
632-
+ " or (current() < 360000)) and "
633-
+ "(not(derived-from(../../frequency,'schedule:daily'))"
634-
+ " or (current() < 8640000)) and "
635-
+ "(not(derived-from(../../frequency,'schedule:weekly'))"
636-
+ " or (current() < 60480000)) and "
637-
+ "(not(derived-from(../../frequency,"
638-
+ "'schedule:monthly')) or (current() < 267840000)) and "
639-
+ "(not(derived-from(../../frequency,'schedule:yearly'))"
640-
+ " or (current() < 3162240000))" {
641-
error-message
642-
"The period-end must not exceed the frequency
643-
interval.";
644-
}
645627
description
646628
"End time of the schedule within one recurrence.
647-
The period start MUST be no later than the end.";
629+
The period start MUST be no later than the period
630+
end.";
648631
}
649632
}
650633
}

0 commit comments

Comments
 (0)