← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1653884] [NEW] api-ref: wrong parameters in os-hosts.inc

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New


** Tags: doc

-- 
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):
  New

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


Follow ups