From db323e4843bb125c6c886d02386f6ade6df5971f Mon Sep 17 00:00:00 2001 From: Med Date: Fri, 14 Jun 2024 15:32:12 +0200 Subject: [PATCH] one-shot + finished support --- yang/ietf-schedule.yang | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/yang/ietf-schedule.yang b/yang/ietf-schedule.yang index c43eba0..62e71e7 100644 --- a/yang/ietf-schedule.yang +++ b/yang/ietf-schedule.yang @@ -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 @@ -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 @@ -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.";