Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6908

Name collision due to "Default" prefix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11.0
    • Fix Version/s: None
    • Component/s: YangCompiler
    • Labels:
    • Environment:

      Yang tools 2.2.0-b3

      Description

      I've encountered a .yang file which containd statements which looks like below:

      container default-context-prefix

      { ... }
      list context-prefix { ... }

      Compiler generated,
      DefaultContextPrefix.java
      for the first container statement.

      and next as it tried to process second list,
      compiler again tries to generate
      DefaultContextPrefix.java
      presumably with different content and fail due to name clash.

      See discussion in ML
      https://groups.google.com/a/onosproject.org/d/topic/brigade-dynconfig/i7W1TKnPwY8/discussion

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            y-higuchi Yuta Higuchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: