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

Binding v2 generator generates uncompilable code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • Binding V2 codegen
    • None
    • Operating System: All
      Platform: All

    • 8909

      Generated code from this yang:

      module test {

      yang-version 1;
      namespace "urn:opendaylight:params:xml:ns:yang:test";
      prefix "test";

      revision "2017-02-24"

      { description "Initial revision of test model."; }

      container test-container {
      list test-list {
      leaf test-leaf {
      type enumeration {
      enum enum1

      { value 1; }

      enum enum2

      { value 2; }

      }
      }
      }
      }

      container test-leafref-container {
      leaf test-leafref {
      type leafref

      { path "/test:test-container/test:test-list/test:test-leaf"; }

      }
      }

      }

      is not compilable.

            han.jie@zte.com.cn Jie Han
            andrej.zan Andrej Záň
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: