rgwilton / YANG-Packages-Draft

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

Should features be listed per module, or per package, or globally #7

Closed rgwilton closed 5 years ago

rgwilton commented 5 years ago

Commented on by both Jason and Lada:

Having a global list of mandatory features (vs having the mandatory feature a per-module list) means inventing the new : format. Should we instead somehow put the mandatory features against each module of the package?

Perhaps. My thinking here was to have the list of features high up and very easy to find/parse.

rgwilton commented 5 years ago

Features need to be in a single leaf list, or otherwise it will require too many duplicate module definitions to enable features.