[CONTROLLER-1119] Data duplication in list when reading from NETCONF using RESTCONF Created: 22/Jan/15  Updated: 24/Mar/15  Resolved: 24/Mar/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Tomas Cechvala Assignee: Maros Marsalek
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: All


External issue ID: 2623
Priority: High

 Description   

A request was sent:

GET
http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/XY_NODE/yang-ext:mount/XY-path/foo

<foo
xmlns="xy:z">
<bar>
<bar-key>191</bar-key>
<item>
<item-key>permit ip host 10.0.0.1 host 10.0.0.2</item-key>
</item>
<item>
<item-key> permit ip host 10.0.0.1 host 10.0.0.2</item-key>
</item>
</bar>
</foo>

Data were received through NETCONF with no duplication. In corresponding YANG model, item-key was defined as key of item.



 Comments   
Comment by Tomas Cechvala [ 22/Jan/15 ]

Stable Helium, Yangtools 0.6.4, MD-SAL 1.1.2

Comment by Tomas Cechvala [ 22/Jan/15 ]

The clear space in front of "permit" is pasting error.

Comment by Maros Marsalek [ 19/Mar/15 ]

Needs to be retested after recent updates

Comment by Maros Marsalek [ 19/Mar/15 ]

Cannot reproduce on current master branch with following testing schema:

container cont {

list lis {

key "l";

leaf l

{ type string; }

}
}

Can you confirm that the schema is sufficient ?
Also are we going to fix it on the stable branch for Helium SRs ?

Comment by Maros Marsalek [ 24/Mar/15 ]

Not occurring on current master(Lithium release). Closing

Generated at Wed Feb 07 19:54:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.