Reviewed: https://review.openstack.org/416444 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0cbf7bb0383eacda482a2176060b7f3208c6e433 Submitter: Jenkins Branch: master
commit 0cbf7bb0383eacda482a2176060b7f3208c6e433 Author: Takashi NATSUME <natsume.taka...@lab.ntt.co.jp> Date: Wed Jan 4 14:22:55 2017 +0900 api-ref: Fix parameters in os-hosts.inc * Show Host Details - The parameters in 'resource' object are prefixed with 'resource.' instead of 'host.'. - The types of 'cpu', 'memory_mb' and 'disk_gb' are changed to 'integer'. - The descriptions of 'cpu', 'memory_mb' and 'disk_gb' are changed (clearer). * Update Host status - The 'status' and 'maintenance_mode' in request parameters are changed to 'body' parameters instead of 'path' parameters. - The 'status' and 'maintenance_mode' in request parameters are changed to either 'enable' or 'disable'. - The 'status' and 'maintenance_mode' in response parameters are changed to 'optional'. Change-Id: Ic6bffca8b1dfaa9284a72145f3e1f894acb306e3 Closes-Bug: #1653884 ** 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/1653884 Title: api-ref: wrong parameters in os-hosts.inc Status in OpenStack Compute (nova): Fix Released Bug description: http://developer.openstack.org/api-ref/compute/#hosts-os-hosts There are some parameters that should be fixed. * Show Host Details - parameters in 'resource' object should be 'resource.{parameter name}' instead of 'host.{parameter name}' - cpu, memory_mb and disk_gb should be 'integer'. - The description of cpu, memory_mb and disk_gb is unclear. * Update Host status - 'status' and 'maintenance_mode' in request parameters should be body parameters instead of path parameters. - 'status' and 'maintenance_mode' in request parameters should be either 'enable' or 'disable'. - 'status' and 'maintenance_mode' in response parameters should be optional. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1653884/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp