Details
-
Bug
-
Status: Open
-
Highest
-
Resolution: Unresolved
-
None
Description
According to XML Syntax (w3schools.com) XML documents must contain one root element that is the parent of all other elements.
But currently ODL is accepting POST XML requests like this:
<?xml version="1.0" encoding="UTF-8"?><topology-id xmlns="urn:TBD:params:xml:ns:yang:network-topology">topology-id</topology-id>
And rejects POST XML requests like this:
<?xml version="1.0" encoding="UTF-8"?><network-topology xmlns="urn:TBD:params:xml:ns:yang:network-topology"> <topology-id xmlns="urn:TBD:params:xml:ns:yang:network-topology">topology-id</topology-id></network-topology>
For http://192.168.56.25:8181/rests/data/network-topology:network-topology/topology=topology-id paths.