neutron/neutron/plugins/vmware
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
..
api_client Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
common NSX: Correct default timeout params 2014-08-01 15:32:04 -07:00
dbexts Fix spelling mistakes 2014-08-01 16:10:23 +00:00
dhcp_meta Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
extensions Merge "NSX: return 400 if dscp set for trusted queue" 2014-06-25 17:25:56 +00:00
nsxlib Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
plugins Move from Python logging to Openstack logging 2014-08-02 04:04:33 -07:00
shell Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
vshield Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
check_nsx_config.py NSX: Correct default timeout params 2014-08-01 15:32:04 -07:00
dhcpmeta_modes.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
nsx_cluster.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
plugin.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00