diff options
author | Ed Bak <ed.bak2@hp.com> | 2012-08-10 22:00:55 +0000 |
---|---|---|
committer | Ed Bak <ed.bak2@hp.com> | 2012-08-14 14:55:19 +0000 |
commit | 710909b57f1a365f156f07a281712fac8da6de7e (patch) | |
tree | 3bd0955715c00d97c85100bc9b27926293cf5b65 /nova/crypto.py | |
parent | f94ae65640d16124f9d7fad8c726b185f0398452 (diff) | |
download | nova-710909b57f1a365f156f07a281712fac8da6de7e.tar.gz nova-710909b57f1a365f156f07a281712fac8da6de7e.tar.xz nova-710909b57f1a365f156f07a281712fac8da6de7e.zip |
Validate that min_count & max_count parameters are numeric.
Changed nova/api/openstack/compute/servers.py to include
validation of min_count and max_count. min_count and max_count
must be numeric values >=1 and min_count must be <= max_count.
Also, added tests to test_servers.py to verify these restrictions.
Fixes: bug #1035482
Change-Id: I530c11b683a905ee67f679ef485c9f7669f1e074
Diffstat (limited to 'nova/crypto.py')
0 files changed, 0 insertions, 0 deletions