Skip to content

Commit

Permalink
report local time
Browse files Browse the repository at this point in the history
   schedLocalTime OBJECT-TYPE
       SYNTAX      DateAndTime (SIZE (11))
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
           "The local time used by the scheduler.  Schedules which
            refer to calendar time will use the local time indicated
            by this object.  An implementation MUST return all 11 bytes
            of the DateAndTime textual-convention so that a manager
            may retrieve the offset from GMT time."
       ::= { schedObjects 1 }
  • Loading branch information
boucadair authored Jun 19, 2024
1 parent b96d272 commit 0a5f8cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions yang/ietf-schedule.yang
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,13 @@ module ietf-schedule {
description
"Indicates the schedule type.";
}
leaf local-time {
type yang:date-and-time;
config false;
description
"Reports the local time as used by the entity that
hosts the schedule.";
}
leaf last-update {
type yang:date-and-time;
config false;
Expand Down

0 comments on commit 0a5f8cb

Please sign in to comment.