Skip to content

Commit

Permalink
one-shot + finished support
Browse files Browse the repository at this point in the history
  • Loading branch information
boucadair authored Jun 14, 2024
1 parent 7a37599 commit db323e4
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions yang/ietf-schedule.yang
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@ module ietf-schedule {
"Base identity for schedule type.";
}

identity one-shot {
base schedule-type;
description
"Indicates a one-shot schedule. That's a schedule that
will trigger an action and then the schedule will disable
itself.";
}

identity period {
base schedule-type;
description
Expand All @@ -223,6 +231,13 @@ module ietf-schedule {
"Indicates a recurrence with an enabled state.";
}

identity finished {
base schedule-state;
description
"Indicates a recurrence with a finished state.
The finished state indicates that the schedule has ended.";
}

identity disabled {
base schedule-state;
description
Expand Down Expand Up @@ -263,8 +278,8 @@ module ietf-schedule {

grouping generic-schedule-params {
description
"Includes a set of generic parameters that are
followed by the entity that supports schedules.
"Includes a set of generic parameters that are followed by
the entity that supports schedules.
Such parameters are used as guards to prevent, e.g., stale
configuration.";
Expand Down

0 comments on commit db323e4

Please sign in to comment.