horizon/tools
Alexey Izbyshev 155e3ae7c3 Fix handling of UUID-typed flavor ids
Change the type of flavor_id hidden field in EditFlavor form
from IntegerField to CharField since flavor id is a string
representation of UUID now. Additionally change the type of
similar hidden fields in CreateExtraSpec and EditExtraSpec forms.

Remove flavor id generation from form handling code. Id generation
should be done only in corresponding OpenStack components (nova, etc.).
Since nova supports flavor id autogeneration and 'flavorid' parameter
of FlavorManager.create() in novaclient is optional, remove 'flavorid'
parameter from api.nova.flavor_create().

Change flavor ids in test data from strings containing integers
to UUID-like strings to make them correspond to real data.

Update flavor tests to make them compatible with new
api.nova.flavor_create() signature.

Remove conversions of flavor id to int from all tests. In particular,
update test_index_flavor_get_exception() to make it generate unique
UUID flavor ids instead of integers.

Fixes bug #1076761

Change-Id: Iaa308578981f0379ff61a9dd42620eaf0ab1d605
2012-11-30 01:28:57 +04:00
..
install_venv.py Add distribute to test-requires. 2012-04-18 07:39:27 -07:00
pip-requires Fix handling of UUID-typed flavor ids 2012-11-30 01:28:57 +04:00
rfc.sh Remove trailing whitespaces in regular file 2012-03-03 12:31:19 +08:00
test-requires Move netaddr to pip-requires 2012-11-13 19:26:41 +11:00
with_venv.sh Rename venvs to match everyone else. 2012-02-13 12:11:08 -08:00