gantt/bin
Dan Prince a5e4818b0a 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
2012-11-27 11:12:41 -05:00
..
nova-all Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-api Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-api-ec2 Remove nova.flags imports from bin/* 2012-11-15 23:03:04 +00:00
nova-api-metadata Remove nova.flags imports from bin/* 2012-11-15 23:03:04 +00:00
nova-api-os-compute Remove nova.flags imports from bin/* 2012-11-15 23:03:04 +00:00
nova-cert Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-clear-rabbit-queues Remove nova.config.CONF 2012-11-20 00:00:21 +00:00
nova-compute Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-conductor Remove nova.config.CONF 2012-11-20 00:00:21 +00:00
nova-console Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-consoleauth Remove nova.config.CONF 2012-11-20 00:00:21 +00:00
nova-dhcpbridge Make nova-dhcpbridge use CONFIG_FILE over FLAGFILE 2012-11-26 07:53:38 +00:00
nova-manage Validate rxtx_factor as a float. 2012-11-27 11:12:41 -05:00
nova-network Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-novncproxy Remove nova.config.CONF 2012-11-20 00:00:21 +00:00
nova-objectstore Remove nova.flags imports from bin/* 2012-11-15 23:03:04 +00:00
nova-rootwrap Restore SIGPIPE default action for subprocesses 2012-09-20 15:24:14 +02:00
nova-rpc-zmq-receiver Remove nova.config.CONF 2012-11-20 00:00:21 +00:00
nova-scheduler Use CONF.import_opt() for nova.config opts 2012-11-20 00:04:49 +00:00
nova-xvpvncproxy Remove nova.flags imports from bin/* 2012-11-15 23:03:04 +00:00