Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2147
Description
It seems the problem is that some control characters are returned in this HTTP RESPONSE body. odl with netconf loop back to itself is already configured so
not much setup needed.
###Test setup ###
-
- start odl
bin/karaf
- start odl
-
- load the features on the karaf console
feature:install odl-mdsal-broker odl-restconf odl-netconf-all odl-netconf-connector-all
-
- request the operational data store
curl -v localhost:8181/restconf/operational/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount -o responsebody.json
-
- validate the response body against JSON. I used python
>import json
>f = open(responsebody.json', 'r')
>json.load(f)
##result
ValueError: Invalid control character at: line 1 column 48567 (char 48566)