cinder/cinder
Victor Stinner 30c0f79781 Port API v1 and v2 to Python 3
* Replace jsonutils.dumps() with jsonutils.dump_as_bytes() since
  output is used for the HTTP body, and HTTP body type is bytes, not
  Unicode. On Python 3, jsonutils.dumps() returns Unicode.
* FakeHttplibSocket: replace io.StringIO with io.BytesIO, HTTP body
  type is bytes. Encode Unicode to UTF-8.
* Fix FakeHttplibSocket.makefile() API: only the first parameter is
  mandatory. On Python 3, it's only called with the first 'mode'
  parameter.
* Use bytes strings to test HTTP bodies (JSON or XML).
* Replace dict.values() with list(dict.values()) to get a list on
  Python 3.
* Replace error.message with encodeutils.exception_to_unicode(error),
  exceptions loose their message attribute in Python 3.
* Update JSON serializer test in test_wsgi.py to use bytes.
* tests-py3.txt: add cinder.tests.unit.api.v1 and
  cinder.tests.unit.api.v2

Partial-Implements: blueprint cinder-python3
Change-Id: I0f0048f4a1344feaa3434cbf7ebd31e3f12d6ae4
2016-02-15 15:22:05 +01:00
..
api Port API v1 and v2 to Python 3 2016-02-15 15:22:05 +01:00
backup Merge "Cleanup in backup reset status" 2016-02-11 06:25:14 +00:00
brick Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
cmd Replace exit() by sys.exit() 2016-01-25 17:29:09 +08:00
common Run flake8 also on cinder/common 2016-01-21 14:17:34 +01:00
compute Fix InstanceLocalityFilter scheduler filter 2015-11-18 15:42:13 +02:00
config Dynamically Pull Out Option Sections 2015-12-05 05:23:13 -06:00
consistencygroup Don't create cgsnapshot if cg is empty 2016-02-03 14:16:30 -08:00
db Merge "Return updated volume type after updating" 2016-02-11 06:34:47 +00:00
hacking hacking: Fix false positive in C302 check 2016-02-09 14:58:46 +01:00
image Wrong usage of "a" 2015-12-27 01:18:21 +08:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
locale Imported Translations from Zanata 2016-02-04 06:38:33 +00:00
objects Port objects unit tests to Python 3 2016-02-08 10:47:53 +01:00
openstack Merge "Fix the bug of can't get the desired image info" 2015-12-02 04:39:28 +00:00
replication Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
scheduler Merge "Wrap the method to calculate virtual free capacity" 2016-02-10 22:12:00 +00:00
testing
tests Port API v1 and v2 to Python 3 2016-02-15 15:22:05 +01:00
transfer Disallow transferring volume in consistency group 2016-01-15 22:52:21 -08:00
volume Merge "Fix dynamic import of CONF.volume_api_class" 2016-02-14 16:51:08 +00:00
wsgi Move wsgi to oslo_service.wsgi 2016-01-19 18:15:54 +02:00
zonemanager Adds support for configuring zoning in a virtual fabric 2016-02-08 13:49:04 -08:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
context.py Preserve request id in Cinder logs 2015-12-16 12:04:57 -06:00
coordination.py Tooz locks 2015-12-17 10:27:43 +00:00
exception.py Adds HTTPS southbound connector for Brocade FC Zone Driver 2016-01-28 15:07:04 -08:00
flow_utils.py Refactoring of manager's create_volume flow 2015-07-24 11:19:09 +02:00
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Merge "Enhance deletion efficiency when backup init host" 2015-08-30 12:57:46 +00:00
opts.py Add cinder backup driver for Google Cloud Storage 2016-01-18 23:28:23 +05:30
policy.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
quota.py Cinder Nested Quota Driver 2015-08-26 12:00:15 -07:00
quota_utils.py Retyping volume got error under max vol limit 2015-12-22 11:18:33 +08:00
rpc.py Pin RPC and object version to lowest running 2016-01-29 08:36:04 -05:00
service.py Merge "Move wsgi to oslo_service.wsgi" 2016-02-09 20:24:35 +00:00
ssh_utils.py Fix Python 3 issues in utils 2015-06-15 10:29:22 +02:00
test.py Move get_by_id to CinderObject 2015-11-20 14:34:21 +01:00
utils.py Wrap the method to calculate virtual free capacity 2016-01-21 10:45:10 +08:00
version.py