glance/glance
Inessa Vasilevskaya 1badf69b01 Fix DbError when image params are out of range
Image params such as checksum, min_ram and min_disk are validated.
Checksum is expected to be not longer than 32 characters,
min_ram/min_disk can't exceed pow(2, 31) - 1.
A method for mysql_int validation has been moved to glance.common.utils.

Change-Id: I78554ef1ba65fc11da3de56467d6d70bb7991787
Closes-Bug: #1454730
Closes-Bug: #1460060
2015-06-11 19:27:17 +03:00
..
api Fix DbError when image params are out of range 2015-06-11 19:27:17 +03:00
artifacts Database layer for Artifact Repository 2015-03-27 02:48:15 +03:00
async Save image data after setting the data 2015-05-08 12:28:05 +00:00
cmd Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
common Fix DbError when image params are out of range 2015-06-11 19:27:17 +03:00
contrib Artifact Plugins Loader 2015-03-30 20:51:10 +03:00
db Fix DbError when image params are out of range 2015-06-11 19:27:17 +03:00
domain Merge "Add ability to deactivate an image" 2015-03-15 11:58:54 +00:00
hacking Remove use of contextlib.nested 2015-03-18 20:20:33 +08:00
image_cache Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
locale Imported Translations from Transifex 2015-04-03 06:02:26 +00:00
openstack Update openstack-common reference in openstack/common/README 2015-04-08 17:47:53 +02:00
quota Move to graduated oslo.log module 2015-03-12 11:48:24 +00:00
registry Merge "Drop use of 'oslo' namespace package" 2015-05-01 15:24:24 +00:00
search Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
tests Fix DbError when image params are out of range 2015-06-11 19:27:17 +03:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Simplify context by using oslo.context 2015-02-02 09:51:52 +01:00
gateway.py Move elasticsearch dep to test-requirements.txt 2015-04-08 10:59:44 -07:00
i18n.py Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
listener.py Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
location.py Move to graduated oslo.log module 2015-03-12 11:48:24 +00:00
notifier.py Creating metadef object without any properties 2015-03-30 14:16:57 +02:00
opts.py Use graduated oslo.policy 2015-03-17 23:50:02 -05:00
schema.py Allow None values to be returned from the API 2014-12-03 17:20:55 +01:00
scrubber.py Remove scrubber cleanup logic 2015-03-16 20:39:56 +08:00
service.py Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00