nova/nova/api
EdLeafe 3eb967784b Add check for invalid inventory amounts
This patch adds sane minimum and maximums to the fields for an inventory
posting, which will quickly return a 400 error if invalid values are
passed instead of proceeding, only to fail at the DB layer.

Conflicts:
	nova/tests/functional/api/openstack/placement/gabbits/inventory.yaml

Partial-Bug: #1673227

Change-Id: I6296cee6b8a4be1dd53c52f6290ebda926cf6465
(cherry picked from commit 0b2d7c4d02)
2018-10-02 18:50:21 +02:00
..
ec2 Remove unnecessary code added for ec2 deprecation 2016-07-20 23:37:11 +05:30
metadata Handle keypair not found from metadata server using cells 2017-09-15 20:51:29 +01:00
openstack Add check for invalid inventory amounts 2018-10-02 18:50:21 +02:00
validation fix nova accepting invalid availability zone name with ':' 2017-10-04 18:11:23 -04:00
__init__.py Remove unused copyright from nova.api.__init__ 2014-01-10 16:24:50 +08:00
auth.py Merge "Remove manual handling of old context variables" 2016-12-12 17:20:30 +00:00
compute_req_id.py Remove 'v3' from comments in Nova API code 2015-09-14 14:10:58 +00:00
manager.py Only setup iptables for metadata if using nova-net 2017-07-22 01:39:29 +00:00