RFC 7950 doesn't state that the date associated with revision statements in a YANG module must be unique.

Hence, I presume that it is intentionally allowed to have multiple revision statements with the same date. E.g. the following module is allowed (and passes pyang --lint):

module rev-example {
  namespace
    "urn:example";

  prefix ex;

  organization "";

  contact "";

  description "'";
  reference "IEEE 802.3-2015, unless dated explicitly";

  revision 2017-01-30 {
    description
      "A revision description";
    reference "";
  }

  revision 2017-01-30 {
    description
      "A different revision with the same date";
    reference "";
  }

}

Thanks,
Rob


_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to