FYI, I've posted an updated version of the YANG packages draft. This is the version that we plan to request a WG adoption call on, once we have an updated version of the version selection draft posted (hopefully ready soon).
To highlight the main changes: - Added a section to describe how YANG packages relate to datastore schema, along with guidance on how to structure package definitions. - Unified the package definition on the server vs in YANG instance data documents. In particular, the on-server definition no longer reuses the module-sets from YANG library. This also simplifies the explanation of how these definitions relate since the same common grouping is reused. - Move packages into its own top level container, rather than being under YANG library. - Changed the binding between datastore schema in YANG library and packages. Before there was a 1:1 binding from datastore schema to package definition. It has been changed to a 1:N binding, i.e. a datastore scheme is represented by a union of compatible packages. This aligns with how the relationship is defined in the version selection draft. Thanks, Rob -----Original Message----- From: [email protected] <[email protected]> Sent: 19 February 2020 16:15 To: Jason Sterne <[email protected]>; Reshad Rahman (rrahman) <[email protected]>; Rob Wilton (rwilton) <[email protected]>; Joe Clarke (jclarke) <[email protected]>; Wu Bo <[email protected]>; Bo Wu <[email protected]> Subject: New Version Notification for draft-rwilton-netmod-yang-packages-03.txt A new version of I-D, draft-rwilton-netmod-yang-packages-03.txt has been successfully submitted by Robert Wilton and posted to the IETF repository. Name: draft-rwilton-netmod-yang-packages Revision: 03 Title: YANG Packages Document date: 2020-02-19 Group: Individual Submission Pages: 56 URL: https://www.ietf.org/internet-drafts/draft-rwilton-netmod-yang-packages-03.txt Status: https://datatracker.ietf.org/doc/draft-rwilton-netmod-yang-packages/ Htmlized: https://tools.ietf.org/html/draft-rwilton-netmod-yang-packages-03 Htmlized: https://datatracker.ietf.org/doc/html/draft-rwilton-netmod-yang-packages Diff: https://www.ietf.org/rfcdiff?url2=draft-rwilton-netmod-yang-packages-03 Abstract: This document defines YANG packages, a versioned organizational structure holding a set of related YANG modules, that collectively define a YANG schema. It describes how packages: are represented on a server, can be defined in offline YANG instance data documents, and can be used to define the schema associated with YANG instance data documents. Please note that it may take a couple of minutes from the time of submission until the htmlized version and diff are available at tools.ietf.org. The IETF Secretariat _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
