Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-75

CodeGenerator unable to generate class for grouping

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    • 2822
    • Normal

    Description

      Unable to generate java class file, for yang which contains these groupings:

      grouping linkstate {
      leaf distinguisher

      { type route-distinguisher; }

      }

      grouping link-state {
      leaf local-ipv4-router-id

      { type ipv4-router-identifier; }

      }

      In console output:

      [WARNING] Naming conflict for type 'org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev150210.Linkstate': file with same name already exists and will not be generated.

      This problem occurs in Windows environment, in linux all classes were generated properly.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              lborak@cisco.com Ladislav Borak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: