Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-728

Yangtools allows same name in top-level container name and RPC

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7424

    Description

      Following YANG file is compiled fine using yang-maven-plugin 1.1.0-SNAPSHOT:

      module demo {
      namespace "urn:opendaylight:demo";
      prefix "demo";
      revision "2016-12-22";

      container some-name {
      }

      rpc some-name {
      }
      }

      Note same name of container and RPC.
      This should not be allowed per RFC-7950, 6.2.1

      Attachments

        Issue Links

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

          Activity

            People

              pkajsa Peter Kajsa
              rkosegi@brocade.com Richard Kosegi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: