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

Code not generated properly, when augmenting.

    XMLWordPrintable

Details

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

    • 308
    • High

    Description

      https://git.opendaylight.org/gerrit/#/c/4140/

      /pcep-api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/pcep/crabbe/initiated/_00/rev140113/Stateful1.java

      augments correctly stateful02 model:

      import draft-crabbe-pce-stateful-pce-02

      { prefix stateful02; revision-date 2014-01-10 ;}

      augment "/msg:open/msg:open-message/msg:open/msg:tlvs/stateful02:stateful" {
      leaf initiation

      { type boolean; default false; }
      }

      /pcep-api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/pcep/crabbe/initiated/rev131126/Stateful1.java

      augments the same stateful02 model, although the YANG says:

      import pcep-ietf-stateful { prefix stateful; revision-date 2013-12-22; }

      augment "/msg:open/msg:open-message/msg:open/msg:tlvs/stateful:stateful" {
      leaf initiation { type boolean; default false; }

      }

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            dkutenicsova Dana Kutenicsova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: