Subject: [netmod] yang-module-versioning: max 1 revision label

From: "Sterne, Jason (Nokia - CA/Ottawa)" <[email-masked]>
Date: Tue, 21 Apr 2020 14:58:37 +0000

Hi all,

We talked about this briefly on our YANG versioning weekly call today, but we should tighten up this statement down in the YANG module:

          Each 'revision' statement MAY have a single 'revision-label' substatement.

I'd propose this instead:

          Each 'revision' statement MUST NOT have more than a single 'revision-label' substatement.

Similarly in the body of 3.3 we should change this:

   Each revision entry in a module or submodule MAY have a revision
   label associated with it, providing an alternative alias to identify
   a particular revision of a module or submodule.

to this:

   Each revision entry in a module or submodule MAY have a revision
   label associated with it, providing an alternative alias to identify
   a particular revision of a module or submodule. There MUST NOT be more
   than a single 'revision-label' substatement associated with a revision entry.

There is a similar minor ambiguity for these items as well:

          Each 'revision' statement MAY have a single 'nbc-changes' substatement.
          Each 'status' statement MAY have a single 'status-description' substatement.

Rgds,
Jason