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

Double uses augmentation - code generator NPE

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 1172
    • High

    Description

      yang model snippet:

      grouping machine-types {
      container types {
      choice machine-type {
      }
      }
      }

      grouping machine-ext {
      uses machine-types {
      augment "types/machine-type" {
      case type-a {
      leaf id

      { type string; }
      }
      }
      }
      }

      grouping machine-ext2 {
      uses machine-ext {
      augment "types/machine-type" {
      case type-b {
      leaf name { type string; }

      }
      }
      }
      }

      unable to generate sources for grouping machine-ext2's augment "types/machine-type"

      Attachments

        Issue Links

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

          Activity

            People

              tony.tkacik@gmail.com Tony Tkacik
              milos.fabian@pantheon.tech Milos Fabian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: