| rfc9922v5.txt | rfc9922.txt | |||
|---|---|---|---|---|
| Internet Engineering Task Force (IETF) Q. Ma, Ed. | Internet Engineering Task Force (IETF) Q. Ma, Ed. | |||
| Request for Comments: 9922 Q. Wu | Request for Comments: 9922 Q. Wu | |||
| Category: Standards Track Huawei | Category: Standards Track Huawei | |||
| ISSN: 2070-1721 M. Boucadair, Ed. | ISSN: 2070-1721 M. Boucadair, Ed. | |||
| Orange | Orange | |||
| D. King | D. King | |||
| Lancaster University | Lancaster University | |||
| February 2026 | March 2026 | |||
| A Common YANG Data Model for Scheduling | A Common YANG Data Model for Scheduling | |||
| Abstract | Abstract | |||
| This document defines common types and groupings that are meant to be | This document defines common types and groupings that are meant to be | |||
| used for scheduling purposes, such as events, policies, services, or | used for scheduling purposes, such as events, policies, services, or | |||
| resources based on date and time. For the sake of better modularity, | resources based on date and time. For the sake of better modularity, | |||
| the YANG module includes a set of recurrence-related groupings with | the YANG module includes a set of recurrence-related groupings with | |||
| varying levels of representation (i.e., from basic to advanced) to | varying levels of representation (i.e., from basic to advanced) to | |||
| skipping to change at line 2688 ¶ | skipping to change at line 2682 ¶ | |||
| } | } | |||
| } | } | |||
| B.2. Example: Schedule Network Properties to Change Based on Date and | B.2. Example: Schedule Network Properties to Change Based on Date and | |||
| Time | Time | |||
| Network properties may change over a specific period of time or based | Network properties may change over a specific period of time or based | |||
| on a recurrence rule, e.g., [RFC9657]. The following example module, | on a recurrence rule, e.g., [RFC9657]. The following example module, | |||
| which augments the "recurrence-utc-with-periods" grouping from the | which augments the "recurrence-utc-with-periods" grouping from the | |||
| "ietf-schedule" module, shows how a scheduled attribute could be | "ietf-schedule" module, shows how a scheduled attribute could be | |||
| defined. Note that | defined. Note that [RFC8345] and this document are referenced in the | |||
| [RFC8345] and this document are referenced in the module. | module. | |||
| module example-scheduled-link-bandwidth { | module example-scheduled-link-bandwidth { | |||
| yang-version 1.1; | yang-version 1.1; | |||
| namespace "http://example.com/example-scheduled-link-bandwidth"; | namespace "http://example.com/example-scheduled-link-bandwidth"; | |||
| prefix "ex-scattr"; | prefix "ex-scattr"; | |||
| import ietf-network { | import ietf-network { | |||
| prefix "nw"; | prefix "nw"; | |||
| reference | reference | |||
| "RFC 8345: A YANG Data Model for Network Topologies"; | "RFC 8345: A YANG Data Model for Network Topologies"; | |||
| End of changes. 2 change blocks. | ||||
| 3 lines changed or deleted | 3 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. | ||||