Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-793

Yang capabilities without revision should be supported in ODL

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Helium
    • None
    • netconf
    • None
    • Operating System: Linux
      Platform: PC

    • 1762

    Description

      One more query related to revision of schema sources
      #1 right now ODL does not support scheam sources without revision.
      which leads to Bug in Yang specification and ODL

      already commented on CONTROLLER-641
      Regarding this bug, there is plenty of evidence in RFC 6020 that the first revision of a YANG module does not need to have a "revision" statement, and hence not needed in the <hello> message, but section 5.6.4.1 says:

      "A server MUST advertise all revisions of all modules it implements."

      Which seems contradictory. Discussing with the NETMOD WG, it is agreed that the sentence should have been written:

      "A server MUST advertise all known revisions of all modules it implements."

      Thus providing the necessary leeway.

      FWIW, the only time it is envisioned a YANG module not wanting to have an initial revision date is when the module itself is already version-specific (e.g., http://xml.juniper.net/netconf/junos/14.2R2.4), which clearly will have one and only one revision. In all other cases, it seems the module is expected to be versioned over time and therefore SHOULD have a revision statement. For this reason, the NETMOD WG may also add a clarifying statement into section 7.1.9.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              ankit21.a@tcs.com Ankit agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: