Skip to content

Commit

Permalink
avoid dependency on draft-ietf-netmod-rfc6991-bis
Browse files Browse the repository at this point in the history
as it is not clear how that one will progress
  • Loading branch information
boucadair authored Apr 25, 2024
1 parent 569585f commit 73ef95f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions yang/ietf-schedule.yang
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ module ietf-schedule {

import ietf-yang-types {
prefix yang;
revision-date 2023-01-23;
reference
"RFC YYYY: Common YANG Data Types";
"RFC 6991: Common YANG Data Types";
}

import ietf-system {
Expand Down Expand Up @@ -434,7 +433,8 @@ module ietf-schedule {
"Add a parameter indicating how long the occurence
lasts.";
leaf duration {
type yang:seconds32;
type int32;
units "seconds";
description
"When specified, it refers to the duration of each
occurrence. The duration is in units of seconds. The
Expand Down Expand Up @@ -636,10 +636,7 @@ module ietf-schedule {
"Specifies the day on which the workweek starts.";
}
leaf-list exception-dates {
type union {
type yang:date-no-zone;
type yang:date-and-time;
}
type yang:date-and-time;
description
"Defines a list of exceptions for recurrence.";
}
Expand Down

0 comments on commit 73ef95f

Please sign in to comment.