rgwilton / YANG-Packages-Draft

IETF Individual Draft for possible YANG Package Solution
Other
0 stars 0 forks source link

Should partial packages (e.g. not referentially complete) be allowed? #5

Closed rgwilton closed 4 years ago

rgwilton commented 5 years ago

From Jason:

Section 5.1 says the package must be referentially complete. I can see the advantages of that although wondering if that might limit flexibility of partitioning modules into packages. I could imagine use cases for dividing a large set of modules into a few packages that might rev independently but can still all work together (especially if they rev in a bc manner). But maybe that just starts to introduce too much complexity?

Yes, having partial packages may be useful. Perhaps just adding a leaf to indicate whether a package is referentially complete could be the answer here.

rgwilton commented 5 years ago

Probably need to expand text on referentially complete to also cover leaf-refs, and must/when statements.

rgwilton commented 5 years ago

Referentially incomplete package definitions are allowed, but cannot be used as top level packages. Need to check that this is covered by the version selection draft.