[YANGTOOLS-91] Unable to recognize augment Created: 26/Feb/14  Updated: 10/Apr/22  Due: 07/Mar/14  Resolved: 28/Feb/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Dana Kutenicsova Assignee: Martin Vitez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 468
Priority: High

 Description   

network-topology-pcep.yang

grouping update-lsp-args {
uses lsp-id;

container arguments {
leaf administrative

{ type boolean; default true; }

uses pcep:path-definition;

uses lsp-metadata;
}
}

rpc update-lsp {
input

{ uses ont:network-topology-reference; uses update-lsp-args; }

output

{ uses operation-result; }

}

augmentation: odl-pcep-ietf-stateful02.yang

augment "/topo:update-lsp/topo:input/topo:arguments" {
leaf operational

{ type boolean; }

}

is generating null values in documentation:

https://jenkins.opendaylight.org/bgpcep/job/bgpcep-nightly/lastSuccessfulBuild/artifact/target/staging/pcep-parent/pcep-ietf-stateful02/odl-pcep-ietf-stateful02.html (Augments)

The augmented object is generated properly, but testing shows that the augmented part is probably not recognized by restconf.

<operational xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:stateful:02">true</operational>



 Comments   
Comment by Martin Vitez [ 28/Feb/14 ]

Fixed by https://git.opendaylight.org/gerrit/#/c/5472/

Generated at Wed Feb 07 20:52:14 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.