nova/doc/api_samples/servers
ghanshyam cbd3ec476f Strict ImageRef validation to UUID only
Currently imageRef in server create, rebuild and rescue
operation can be accepted as random url which contains image
UUID and fetch the UUID from that.

As /images proxy APIs are deprecated, and ImageRef in
server creation etc are UUID only and valid against glance.

This patch makes imageRef handling as UUID only and
return 400 if non UUID are requested.

NOTE- Previously nova use to allow the empty string which was
      ok in case of boot from volume.
      We will keep the same behavior of allowing empty string in case of
      boot from volume only and 400 in all other case.

Closes-Bug: #1607229

Change-Id: I49f4da62c1b5b3fd8c5f67039ae113f76722b26c
2016-08-04 02:22:15 +00:00
..
v2.9 Enable all extension for all remaining sample tests 2016-06-10 06:03:02 +00:00
v2.16 Enable all extension for all remaining sample tests 2016-06-10 06:03:02 +00:00
v2.17 Add a REST API to trigger crash dump in an instance. 2016-01-20 09:42:50 +08:00
v2.19 Strict ImageRef validation to UUID only 2016-08-04 02:22:15 +00:00
v2.32 Device tagging API support 2016-06-29 20:55:16 -07:00
server-action-confirm-resize.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-action-create-image.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-action-reboot.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-action-rebuild-preserve-ephemeral.json Use just ids in all request templates for flavors/images 2015-12-17 13:01:28 -05:00
server-action-rebuild-resp.json Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-rebuild.json Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-resize.json Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-revert-resize.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-action-start.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-action-stop.json Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-create-req.json TrivialFix: Remove extra comma from json 2016-06-14 17:35:35 +03:00
server-create-resp.json Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
server-get-resp.json Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
server-update-req.json Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
server-update-resp.json Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
servers-details-resp.json Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
servers-list-resp.json Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00