Fixing restconf_client.py script 16/89516/1
authorottero <rodrigo.ottero@est.tech>
Thu, 6 Jun 2019 13:46:11 +0000 (13:46 +0000)
committerottero <rodrigo.ottero@est.tech>
Thu, 6 Jun 2019 13:46:11 +0000 (13:46 +0000)
commitbe4979c8ebd5e9df53b59dbca32d9703794fc500
tree96cc967ac2300664a0c6b8a748cba2d76006bef5
parent184c1b55dd7bd01b2d2033ce960cb7179f0ca33c
Fixing restconf_client.py script

The restconf_client.py script uses BlueprintWebClientService to send
REST requests to ODL. When the methods of that interface have the type
of the returns changed from String to WebClientResponse, the script
stopped working.

This fix changes the way the response is manipulated, to act upon a
WebClientResponse and not on a String

Change-Id: I3876c5b27d65058f0b5b77da17f9225fc04779c6
Issue-ID: CCSDK-1384
Signed-off-by: ottero <rodrigo.ottero@est.tech>
components/scripts/python/ccsdk_restconf/restconf_client.py