]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Replace XML with JSON for N1kv REST calls
authorAbhishek Raut <abhraut@cisco.com>
Wed, 28 May 2014 19:03:06 +0000 (12:03 -0700)
committerAbhishek Raut <abhraut@cisco.com>
Sat, 7 Jun 2014 04:13:14 +0000 (21:13 -0700)
commit8cc066b1e9a2bdd321b88afc9fc8f39eaca95078
tree5a923351f2d171f77f5a1f032b6f1aa8f5cd73d2
parent5e7baae6fe15683be926f0c77d0bcd34059d638c
Replace XML with JSON for N1kv REST calls

Currently the cisco n1kv plugin handles XML responses from VSM.
This change will replace the httplib2 with requests library and handle
JSON responses from the VSM.

Implements: blueprint cisco-n1kv-json-support

Change-Id: Icd32a6a2ab815ccd24ad86371e927c132e204413
neutron/plugins/cisco/n1kv/n1kv_client.py
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/fake_client.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py