neutron/neutron/plugins/vmware/api_client
Ihar Hrachyshka 0a75865b1f Use jsonutils instead of stdlib json
jsonutils provides multiple benefits in comparison to pure stdlib json
(like using simplejson on Python 2.6).

Similar patch was already merged before [1], but since it lacked hacking
rule to enforce jsonutils usage, new occurrences of stdlib json module
usage were introduced.

This patch switches all the code to using jsonutils and adds a hacking
rule to enforce the rule.

The hacking rule requires that jsonutils module does not mimic as 'json'
thru using import renames, so the code was updated not to rename the
module when doing import.

The hacking rule was shamelessly copied from the corresponding nova
review [2].

[1]: https://review.openstack.org/#/c/99760/
[2]: https://review.openstack.org/111296/

Change-Id: Ie7a5bb76445e15cde9fbf9ff3d2101a014637b37
2014-08-14 12:45:58 +02:00
..
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
base.py Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
client.py NSX: Correct default timeout params 2014-08-01 15:32:04 -07:00
eventlet_client.py Monkey patch threading module as early as possible 2014-06-09 16:42:47 +02:00
eventlet_request.py Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
exception.py NSX plugin: return 400 for invalid gw certificate 2014-03-24 01:46:29 -07:00
request.py Merge "NSX: remove duplicate call to set_auth_cookie()" 2014-08-05 08:06:49 +00:00
version.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00