Details
Assignee
Peter ŠuňaPeter ŠuňaReporter
Peter ŠuňaPeter ŠuňaLabels
Components
Priority
Medium
Details
Details
Assignee
Peter Šuňa
Peter ŠuňaReporter
Peter Šuňa
Peter ŠuňaLabels
Components
Priority
Created March 26, 2025 at 9:11 AM
Updated March 26, 2025 at 9:11 AM
When a request is sent to get specific leaf-list data, such as “
yang-ext:mount/foo:foo/baz-list=alpha
" (based on ), the request fails with a 500 Server Error, and the following error appears in the logs:This issue occurs when the device replies correctly, but Netconf fails to format the provided data. Incorrectly, it attempts to create JSON only from
LeafSetEntryNode
. Fix this by wrapping it with aSystemLeafSetNode
, similar to how it's done forMapEntryNode
.Steps to reproduce:
Start the Netopeer device and add the following model to its schema:
Start ODL features: “feature:install odl-netconf-topology odl-restconf-all”
Populate the “foo” model with data
Retrieve data from the created leaf-list.