[YANGTOOLS-74] Code not generated properly, when augmenting. Created: 15/Jan/14 Updated: 10/Apr/22 Resolved: 23/Jan/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Dana Kutenicsova | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 308 |
| Priority: | 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" { } /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; } } |
| Comments |
| Comment by Martin Vitez [ 23/Jan/14 ] |
|
Fixed. |