File: change_placement_client_method_names_b26bb71425f42db3.yaml

package info (click to toggle)
python-neutron-lib 3.18.2-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,652 kB
  • sloc: python: 22,800; sh: 145; makefile: 24
file content (19 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
prelude: >
    Change create_inventory in placement client to
    update_resource_provider_inventories and update_inventory to
    update_resource_provider_inventory
issues:
  - Placement API has no POST method for creating resource provider inventories
    but instead has PUT to update the inventories of a resource provider.
  - Placement API has method to update the inventory for a given
    resource_provider.
fixes:
  - Change the method name create_inventory in clients/placement.py to
    update_resource_provider_inventories as that represents what is on the
    placement side.
  - Change the POST call to /resource_providers/{uuid}/inventories to
    PUT.
  - Change the method name update_inventory in clients/placement.py to
    update_resource_provider_inventory as that represents that the method
    updates the inventory of a resource_provider.