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:
parent
90e15d9886
commit
12e3102a7f
@ -111,6 +111,9 @@ class Vcns(object):
|
|||||||
_client = self.xmlapi_client.request
|
_client = self.xmlapi_client.request
|
||||||
header, content = self._client_request(_client, method, uri, params,
|
header, content = self._client_request(_client, method, uri, params,
|
||||||
headers, encodeParams)
|
headers, encodeParams)
|
||||||
|
|
||||||
|
LOG.debug('VcnsApiHelper reply: header=%(header)s content=%(content)s',
|
||||||
|
{'header': header, 'content': content})
|
||||||
if content == '':
|
if content == '':
|
||||||
return header, {}
|
return header, {}
|
||||||
if kwargs.get('decode', True):
|
if kwargs.get('decode', True):
|
||||||
|
Loading…
Reference in New Issue
Block a user