Presentation is loading. Please wait.

Presentation is loading. Please wait.

draft-liu-netmod-yang-schedule-02

Similar presentations


Presentation on theme: "draft-liu-netmod-yang-schedule-02"— Presentation transcript:

1 draft-liu-netmod-yang-schedule-02
YANG Data Model for Configuration Scheduling draft-liu-netmod-yang-schedule-02 Github: Xufeng Liu (Ericsson) Vishnu Pavan Beeram (Juniper Networks) Igor Bryskin (Huawei Technologies) Tarek Saad (Cisco) Himanshu Shah (Ciena) Oscar Gonzalez De Dios (Telefonica)

2 Introduction A YANG model to specify configuration scheduling.
When schedules are specified on a data object, the object is configured or removed based on the schedules.

3 Changes Updated draft based review comments
Changed from YANG grouping to a separate schema tree The target application model does not need to include scheduling schema Scheduling model can be used for any target models without altering, e.g. te-tunnel model Capable of changing leaf values

4 Model Relatioins module: ietf-schedule +--rw configuration-schedules
+--rw target* [object] +--rw object yang:xpath1.0 +--rw data-value? string +--rw schedules | +--rw schedule* | rw schedule-id | rw inclusive-exclusive? | rw start? | rw schedule-duration? | rw repeat-interval? augment /nw:networks/nw:network/nt:link: +--rw te! +--rw config | +--rw te-link-template* | +--rw te-link-attributes | rw schedules | | +--rw schedule* | | rw schedule-id | | rw start? | | rw schedule-duration? | | rw repeat-interval? | rw access-type? | rw external-domain | rw is-abstract? | rw name?

5 Model Structure module: ietf-schedule +--rw configuration-schedules
+--rw target* [object] +--rw object yang:xpath1.0 +--rw data-value? string +--rw schedules | +--rw schedule* [schedule-id] | rw schedule-id uint32 | rw inclusive-exclusive? enumeration | rw start? yang:date-and-time | rw schedule-duration? string | rw repeat-interval? string +--ro state +--ro next-event +--ro start? yang:date-and-time +--ro duration? string +--ro operation? enumeration

6 Usage Example module: example +--rw te-links +--rw te-link* [id] +--rw id string <configuration-schedules> <target xmlns:ex=""urn:example"> <object>/ex:te-links/ex:te-link[ex:link-id='link-1']</object> <schedules> <schedule> <schedule-id>11<schedule-id> <start> T23:20:50.52Z</start> <schedule-duration>P1D</schedule-duration> <repeat-interval>R5/P1W</repeat-interval> </schedule> </schedules> </target> </configuration-schedules> link-1 is configured weekly for 5 1-day periods, starting from T23:20:50.52Z.

7 Next Steps Solicit comments WG consensus


Download ppt "draft-liu-netmod-yang-schedule-02"

Similar presentations


Ads by Google