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

Classes should be generated for typedef and grouping of same name

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    Description

      When using sal code generator with yang maven plugin on a yang file with typedef and grouping sharing the same name, no warning is produced and only the code for typedef is generated.

      example yang file content:

      typedef network-topology-ref

      { type instance-identifier; ... }

      grouping network-topology-ref {
      leaf network-topology-ref

      { type network-topology-ref; mandatory true; ... }

      }

      This should result in generating one class representing typedef network-topology-ref and one interface representing grouping.

      This will require new binding specification.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              tony.tkacik@gmail.com Tony Tkacik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: