Reviewed: https://review.openstack.org/431747 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f7d9e82a2061c0d61b658265d1f871a0559c21b0 Submitter: Jenkins Branch: master
commit f7d9e82a2061c0d61b658265d1f871a0559c21b0 Author: Matt Riedemann <[email protected]> Date: Thu Feb 9 16:32:24 2017 -0500 api-ref: mark id as optional in POST /flavors When creating a flavor you do not actually have to provide an id. If one is not provided in the request, an id is automatically generated from a uuid when creating the flavor. This updates the api-ref to point that out. Change-Id: Ie3c7042bd5f1ae05ad4e4eeba078f82c5e23d33a Closes-Bug: #1663389 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1663389 Title: api-ref: POST /flavors says that id is required but it's actually optional Status in OpenStack Compute (nova): Fix Released Bug description: The API reference docs for POST /flavors says that the 'id' field is required but it's actually optional according to the schema: http://developer.openstack.org/api-ref/compute/?expanded=create- flavor-detail#create-flavor id body string The ID of the flavor. While people often make this look like an int, this is really a string. https://github.com/openstack/nova/blob/15.0.0.0rc1/nova/api/openstack/compute/schemas/flavor_manage.py#L30 If it's not provided, we default to generate a uuid: https://github.com/openstack/nova/blob/15.0.0.0rc1/nova/compute/flavors.py#L74 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1663389/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

