Log returned data from NSX manager

To ease debugging, added a log for NSX replys to the plugin.

Change-Id: I18a9408095a6b830c51e5105f7fe10ffd327a176
This commit is contained in:
Kobi Samoray 2015-11-05 15:21:25 +02:00
parent 90e15d9886
commit 12e3102a7f

View File

@ -111,6 +111,9 @@ class Vcns(object):
_client = self.xmlapi_client.request
header, content = self._client_request(_client, method, uri, params,
headers, encodeParams)
LOG.debug('VcnsApiHelper reply: header=%(header)s content=%(content)s',
{'header': header, 'content': content})
if content == '':
return header, {}
if kwargs.get('decode', True):