]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Convert the DateTime into ISO8601 format for Ceilometer
authorVincent Hou <sbhou@cn.ibm.com>
Mon, 17 Nov 2014 06:33:35 +0000 (22:33 -0800)
committerVincent Hou <sbhou@cn.ibm.com>
Mon, 24 Nov 2014 08:31:11 +0000 (00:31 -0800)
commit0ecba69df002a319ce30ae554dbf0182b2a01f98
treea379be15d0c7c2b1cea398e32de1c72f366b6d54
parent24ce46bb98ec55cc1ceffd847e92d153bbc8a09a
Convert the DateTime into ISO8601 format for Ceilometer

The fields of DateTime type should be converted to the time in
ISO8601 format, when they are put in the usage information to be
reported to Ceilometer.

Change-Id: I67e9e3609291d0d835156dfd9cfda88deae119c1
closes-bug: #1372791
cinder/tests/api/v1/test_volumes.py
cinder/tests/api/v2/stubs.py
cinder/tests/api/v2/test_volumes.py
cinder/volume/utils.py