Subject: [netmod] enable features to be supported per grouping-use (not globally per-datastore)

From: Kent Watsen <[email-masked]>
Date: Fri, 26 Apr 2019 16:06:44 +0000

Use case:

  - a shared low-level module defines a feature and 
    defines a grouping with an if-feature with it.
  - the grouping is used by various higher-level modules.
  - in some uses of the grouping, the feature is desired,
    and in others not.
  - current yang-library enables the feature globally 
    (per-datastore), which prevents local variations

Possible workaround:

  - each higher-level module can redeclare the feature
    and augment in its own if-feature statements.
  - this seems heavy and probably doesn't scale well.
  - e.g., servers would support all the low-level
    features (or perhaps the subset needed via some
    cascading dependency tree), and then selectively
    support the higher-level features.

Thoughts?

Kent // contributor