netmod-wg / yang-next

Feature requests for future versions of YANG
6 stars 0 forks source link

Allow identities to be active even when module is not implemented #123

Open kwatsen opened 8 months ago

kwatsen commented 8 months ago

Currently a module has to be implemented in order for its identities to be active. Why is this so?

If the module also implements protocol-accessible nodes, but those nodes are unwanted, if-feature statements are needed to disable the protocol-accessible nodes.

This leads to weirdness whereby the general rule of "implement a module to enable protocol-accessible nodes" doesn't hold true universally.

abierman commented 2 weeks ago

where does it say this requirement.

Consider iana-if-type. It is not imported into ietf-interfaces. Is may not be imported anywhere. Is this module implemented by the server?

This module is clearly not intended to imply any conformance requirements. It is simply a way to collect interface type identities.

Better conformance specifications for identities is needed

abierman commented 1 week ago

This is a duplicate issue of #107

There is no concept of an identity being "active" within a YANG module. It is simply an abstract code-point value in the module namespace.