Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2894
Description
When trying to call Rpc with input that has extended types referencing leafref nodes from another module, parsing of Json fails with null pointer exception.
example model:
(nt is network-topology module)
leaf node
leaf-list supporting-tp
{ type nt:tp-ref; description "List of termination points that support end point TP. If forwarding adjacency announcement triggers termination point creation, this list is used to fill tp-ref attribute."; }leaf tp-id
{ type nt:tp-id; description "Forwarding adjacency interface unique identifier. If forwarding adjacency announcement triggers termination point creation, this id is used for TP creation."; }Bug can be reproduced by calling this rpc from topoproccessing project: http://127.0.0.1:8181/restconf/operations/multilayer-topology:forwarding-adj-announce
input:
{
"input": {
"head-end":
,
"tail-end":
,
"bidirectional" : {}
}
}