summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-11-27 10:28:01 -0500
committerDan Prince <dprince@redhat.com>2012-11-27 11:12:41 -0500
commit47ddb8ca76fba11a6e77b12e9eeb61b5a9c78c48 (patch)
treee0c083e1acd656fc4627e55b081aaa66171f7be5 /nova/openstack
parente4f1a70c37352730a4fa1b7466e526e1f3b168ed (diff)
downloadnova-47ddb8ca76fba11a6e77b12e9eeb61b5a9c78c48.tar.gz
nova-47ddb8ca76fba11a6e77b12e9eeb61b5a9c78c48.tar.xz
nova-47ddb8ca76fba11a6e77b12e9eeb61b5a9c78c48.zip
Validate rxtx_factor as a float.
Updates the rxtx_factor validations in the instance_types modules so that rxtx_factor is validated as a float. Given that rxtx_factor is stored as a float in the database this makes sense... and also adheres to some of the extension documentation as well (although some of the extension docs were incorrect as well). Previously rxtx_factor was being cast into an int which caused it to be stored and displayed incorrectly via the API. This patchset adds a test which fails with the old code. Additionally some of the API docs are corrected so that rxtx_factor is listed as a float in all examples. Fixes LP Bug #1081287. Change-Id: Iae98522a1f2ed63cbd2497b0b0af5ac2d9bb935c
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions