Public bug reported:

This is a small feature request.

Currently (version 1.3 or before of the placement API), in order to
delete all inventory for a resource provider, one must call PUT
/resource_providers/{uuid}/inventories and pass in the following request
payload:

{
  'generation': <int>,
  'resources': {}
}

it would be easier and more intuitive to support DELETE
/resource_providers/{uuid}/inventories with no request payload and
returning a 204 No Content on success.

** Affects: nova
     Importance: Wishlist
         Status: Triaged


** Tags: api low-hanging-fruit placement

-- 
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/1653122

Title:
  Placement API should support DELETE /resource-
  providers/{uuid}/inventories

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  This is a small feature request.

  Currently (version 1.3 or before of the placement API), in order to
  delete all inventory for a resource provider, one must call PUT
  /resource_providers/{uuid}/inventories and pass in the following
  request payload:

  {
    'generation': <int>,
    'resources': {}
  }

  it would be easier and more intuitive to support DELETE
  /resource_providers/{uuid}/inventories with no request payload and
  returning a 204 No Content on success.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1653122/+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

Reply via email to