Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
4969
Description
Testing PCEP Rpc's we get NPE when using Json, same rpc have correct behavior when using XML. Using master branch ( Be )
Steps for reproduce the bug.
Run odl with features odl-bgpcep-pcep-all, odl-restconf-noauth
RPC Tested are
http://localhost:8181/restconf/operations/network-topology-pcep:add-lsp
http://localhost:8181/restconf/operations/network-topology-pcep:remove-lsp
http://localhost:8181/restconf/operations/network-topology-pcep:update-lsp
XML used can be found
https://wiki.opendaylight.org/view/BGP_LS_PCEP:Programmer_Guide
JSON
delete
{
"input" :
}
update/add
{
"input": {
"node": "update-tunel",
"name": "lsp_test",
"network-topology-ref": "/network-topology:network-topology/network-topology:topology[network-topology:topology-id=\"pcep-topology\"]",
"arguments": {
"odl-pcep-ietf-stateful07:lsp" :
,
"endpoints-obj": {
"ipv4":
},
"ero" : {
"subobject" : [
{
"loose" : "false",
"ip-prefix" :
},
{
"loose" : "false",
"ip-prefix" :
}
]
}
}
}
}
Attachments
Issue Links
- blocks
-
L2SWITCH-59 Topology broken in l2switch Beryllium
- Resolved